Joseph Lundgren wrote:
> Greetings everyone,
> 
> I recently upgraded one of my (fairly old) qmail-toasters  using the
> upgrade script, but it doesn't seem as if SMTP-AUTH is working properly
> now.  Other than requiring a few new RPM's (libtool bzip2-devel
> gmp-devel) to be installed (via yum), the installation went smoothly.
> 
> 
> 
> I've tried to verify that the SMTP-AUTH session isn't working properly
> by doing the following (from http://qmail.jms1.net/test-auth.shtml):
> 
> # perl -MMIME::Base64 -e 'print
> encode_base64("[EMAIL PROTECTED]")'
> AHp6dGVzdHp6ekBudS13b3JsZC5jb20AcGFzc3dvcmQ=
> 
> # telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> 220 toaster1.peak.org Welcome to the Qmail Toaster smtp Server. Be
> excellent to each other. ESMTP
> ehlo me
> 250-toaster1.peak.org Welcome to the Qmail Toaster smtp Server. Be
> excellent to each other.
> 250-STARTTLS
> 250-PIPELINING
> 250-8BITMIME
> 250-SIZE 20971520
> 250 AUTH LOGIN PLAIN CRAM-MD5
> AUTH PLAIN AHp6dGVzdHp6ekBudS13b3JsZC5jb20AcGFzc3dvcmQ=
> 535 authentication failed (#5.7.1)
> quit
> 221 toaster1.peak.org Welcome to the Qmail Toaster smtp Server. Be
> excellent to each other.
> Connection closed by foreign host.
> 
> 
> I've also tried using openssl to test the connection:
> 
> # openssl s_client -starttls smtp -crlf -connect localhost:25
> 
> CONNECTED(00000003)
> ---
> --- Snipped out a bunch of SSL certificate stuff ---
> ---
> 220 toaster1.peak.org Welcome to the Qmail Toaster smtp Server. Be
> excellent to each other. ESMTP
> AUTH PLAIN AHp6dGVzdHp6ekBudS13b3JsZC5jb20AcGFzc3dvcmQ=
> 535 authentication failed (#5.7.1)
> quit
> 
> 
> I've tried this with several different email accounts and passwords.
> What am I missing here?
> 
> 
> 
> Additional information:
> 
> 
> # /etc/init.d/qmail stat
> authlib: up (pid 4578) 60252 seconds
> clamd: up (pid 4533) 60252 seconds
> imap4: up (pid 4527) 60252 seconds
> imap4-ssl: up (pid 4526) 60252 seconds
> pop3: up (pid 4537) 60252 seconds
> pop3-ssl: up (pid 4525) 60252 seconds
> send: up (pid 9617) 1402 seconds
> smtp: up (pid 4531) 60252 seconds
> spamd: up (pid 4534) 60252 seconds
> authlib/log: up (pid 4580) 60252 seconds
> clamd/log: up (pid 4535) 60252 seconds
> imap4/log: up (pid 4528) 60252 seconds
> imap4-ssl/log: up (pid 4544) 60253 seconds
> pop3/log: up (pid 4538) 60253 seconds
> pop3-ssl/log: up (pid 4545) 60253 seconds
> send/log: up (pid 4541) 60253 seconds
> smtp/log: up (pid 4532) 60253 seconds
> spamd/log: up (pid 4536) 60253 seconds
> 
> 
> 
> #netstat -plan | grep LISTEN
> tcp        0      0 127.0.0.1:783               0.0.0.0:*
> LISTEN      4534/perl
> tcp        0      0 0.0.0.0:995                 0.0.0.0:*
> LISTEN      4525/tcpserver
> tcp        0      0 0.0.0.0:993                 0.0.0.0:*
> LISTEN      4526/tcpserver
> tcp        0      0 0.0.0.0:3306                0.0.0.0:*
> LISTEN      12591/mysqld
> tcp        0      0 0.0.0.0:25                  0.0.0.0:*
> LISTEN      4531/tcpserver
> tcp        0      0 0.0.0.0:143                 0.0.0.0:*
> LISTEN      4527/tcpserver
> tcp        0      0 0.0.0.0:110                 0.0.0.0:*
> LISTEN      4537/tcpserver
> 
> 
> 
> 
> 
> Sincerely,
>  
> 
> --
> Joseph Lundgren
> Systems Engineer
> Peak Internet, LLC
> [EMAIL PROTECTED]
> 

I honestly don't know much about how smtp-auth works, but it appears to me
that you're on the right track.

What toaster version did you upgrade from?
Are you receiving mail ok?
Are your clients able to retrieve mail?
Do your accounts appear ok in qmailadmin?

-- 
-Eric 'shubes'

---------------------------------------------------------------------
     QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to