Hi, The problem is I can not get authentication successful in my Postfix + SASL server. SASL is enabled in the server, as you can see in the attached syslog fragment. It fails. I would like know what is the cause?. Posibilities / Rationale A) /etc/passwd, /etc/shadow Bad permisions. B) /usr/lib/sasl/smtpd.conf Mistaken. C) Bad configuration of main.cf? You can see it attached. D) Bad configuration of master.cf? You can see it attached. Any other posibility?. Rationale: A) I have set read access to all users, only to check it is not the cause. B) I have realized serveral checks, with both shadow and pwcheck. pwcheck_method: shadow pwcheck_method: pwcheck My host use /etc/shadow to keep the passwords. I know I have to use 'shadow'. Anyway I have always checked both shadow and pwcheck. I have copied the file in both /usr/lib/sasl/ and /usr/local/lib/sasl/ directories. A special thing which I have noted is that if I remove all the smtpd.conf files in the system I get the same "Authentication failed" message!. Note: I have removed the chrooted option in the master.cf file. Regards, Davi Leal -- The system is a Debian GNU/Linux 3.0 (woody)
Oct 30 14:18:06 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 220 excalibur.ene.es ESMTP Postfix (Debian/GNU) Oct 30 14:18:06 excalibur postfix/smtpd[341]: connect from 80-25-136-215.uc.nombres.ttd.es[80.25.136.215] Oct 30 14:19:09 excalibur postfix/smtpd[341]: < 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: EHLO 80-25-136-215.uc.nombres.ttd.es Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-excalibur.ene.es Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-PIPELINING Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-SIZE 204800000 Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-VRFY Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-ETRN Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-AUTH LOGIN PLAIN CRAM-MD5 GSSAPI Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-AUTH=LOGIN PLAIN CRAM-MD5 GSSAPI Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250-XVERP Oct 30 14:19:09 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 250 8BITMIME Oct 30 14:19:26 excalibur postfix/smtpd[341]: < 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: AUTH PLAIN aGVsbG8AaGVsbG8AaGVsbG8= Oct 30 14:19:26 excalibur postfix/smtpd[341]: smtpd_sasl_authenticate: sasl_method PLAIN, init_response aGVsbG8AaGVsbG8AaGVsbG8= Oct 30 14:19:26 excalibur postfix/smtpd[341]: smtpd_sasl_authenticate: decoded initial response hello Oct 30 14:19:26 excalibur postfix/smtpd[341]: warning: 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: SASL PLAIN authentication failed Oct 30 14:19:26 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 535 Error: authentication failed Oct 30 14:19:36 excalibur postfix/smtpd[341]: < 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: quit Oct 30 14:19:36 excalibur postfix/smtpd[341]: > 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]: 221 Bye Oct 30 14:19:36 excalibur postfix/smtpd[341]: disconnect from 80-25-136-215.uc.nombres.ttd.es[80.25.136.215]
Attachment:
etc-postfix-main.cf
Description: Binary data
Attachment:
etc-postfix-master.cf
Description: Binary data