On Nov 15, 2014, at 9:00 AM, giacomo wrote:

> Hi at all,
> 
> Recently I have upgrade my system from OpenBSD 5.4 to 5.5 and 5.6.
> In old system I installed the port of Postfix with SASL and MySQL support.
> In the 5.4 the program work fine. After the two aupgrade with the same 
> configuration I have problem with authentication.
> If try to test with 
> 
> # telnet localhost 25
> Trying 127.0.0.1...
> Connected to localhost.
> Escape carecter is '^]'.
> 220 mail1.home.it ESMTP Postfix
> ehlo tin.it
> 250-mail1.home.it
> 250-PIPELINING
> 250-SIZE 10240000
> 250-VRFY
> 250-ETRN
> 250-STARTTLS
> 250-AUTH PLAIN LOGIN
> 250-AUTH=PLAIN LOGIN
> 250-ENHANCEDSTATUSCODES
> 250-8BITMIME
> 250 DSN
> AUTH PLAIN encryptedpassword
> 535 5.7.8 Error: authentication failed: generic failure
> quit
> 221 2.0.0 Bye
> Connection closed by foreign host.
> 
> My /var/log/maillog show:
> 
> Nov 15 11:55:51 mail1 postfix/smtpd[31957]: initializing the server-side TLS 
> engine
> Nov 15 11:55:51 mail1 postfix/smtpd[31957]: connect from localhost[127.0.0.1]
> Nov 15 11:56:03 mail1 postfix/smtpd[31957]: warning: SASL authentication 
> failure: could not verify password
> Nov 15 11:56:03 mail1 postfix/smtpd[31957]: warning: SASL authentication 
> failure: Password verification failed
> Nov 15 11:56:03 mail1 postfix/smtpd[31957]: warning: localhost[127.0.0.1]: 
> SASL PLAIN authentication failed: generic failure
> Nov 15 11:56:03 mail1 authdaemond: Authenticated: sysusername=<null>, 
> sysuserid=2000, sysgroupid=2000, homedir=/var/vmail, address=mai...@home.it, 
> fullname=Mail Admin, mail$
> Nov 15 11:56:03 mail1 authdaemond: Authenticated: clearpasswd=clear, 
> passwd=encrypted
> Nov 15 11:56:06 mail1 postfix/smtpd[31957]: disconnect from 
> localhost[127.0.0.1]
> 
> Postfix don't authenticate the user but the authdaemond yes. 


postfix/smtpd[9370]: 6276A9E9CA: client=unknown[X.X.X.X], sasl_method=PLAIN, 
sasl_username=ed...@pettijohn.no-ip.biz

This is the logs from my system running OpenBSD 5.6, but with the postfix-mysql 
package with dovecot for imap/sasl.  I'm guessing you're using Cyrus Sasl.  
These links may help:

http://www.cyrusimap.org/docs/cyrus-sasl/2.1.25/
http://www.postfix.org/SASL_README.html

Reply via email to