From: Eddy Ilg (no email)
Date: Wed Jun 27 2007 - 16:00:23 EDT
I know questions for SASL are probably posted all the time, but I just
can't find out why my configuration is not working. Maybe it's just a
little mistake somewhere. I would be thankful for any hints.
I compiled my postfix version 2.3.4 with following command:
make makefiles CCARGS="-DUSE_SASL_AUTH -DHAS_MYSQL -I/usr/include/mysql
-I/usr/include/sasl -DUSE_TLS" AUXLIBS=" -lsasl2 -lmysqlclient -lssl"
I created a file named /etc/postfix/sasl/smtpd.conf with following
mech_list: plain login digest-md5 cram-md5
I also tried auxprop and other methods, but that doesn't change
anything, so I believe the file is not even read.
The mailserver is offering
250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
and my clients asks me for a password.
Then in the log the following message appears:
Jun 27 21:57:43 saturn postfix/smtpd: connect from
Jun 27 21:57:43 saturn postfix/smtpd: warning:
unknown[18.104.22.168]: SASL LOGIN authentication failed:
Jun 27 21:57:43 saturn postfix/smtpd: lost connection after AUTH
Now what can this "authentication failure" mean? I tried changing the
contents of smtpd.conf but that doesn't change anything (I assume it is
not read). Did I do something wrong at compilation time?