Re: Postfix + SASL Authentication failed
The problem was bad permision on /etc/sasldb file. Now works.
chmod 600 /etc/sasldb
chown postfix.postfix /etc/sasldb
# telnet localhost 25
Connected to localhost.
Escape character is '^]'.
220 excalibur.ene.es ESMTP Postfix (Debian/GNU)
250-AUTH LOGIN PLAIN CRAM-MD5 GSSAPI
250-AUTH=LOGIN PLAIN CRAM-MD5 GSSAPI
AUTH PLAIN aGVsbG8AaGVsbG8AaGVsbG8=
235 Authentication successful
Connection closed by foreign host.
Anyway, the OutLook 5.50 and Netscape Comunitator 4.73 clients show that the
SMTP server does not reply. I use the same user and password (hello, hello).
I have enabled SMTP authentification and disabled SSL/TLS in OutLook and
Netscape. I do not understand why telnet works and OutLook & Netscape does
not work. Any comment?.
Note: Using telnet from any machine works.
----- Original Message -----
From: "Davi Leal" <email@example.com>
Sent: Wednesday, October 30, 2002 5:57 PM
Subject: Postfix + SASL Authentication failed
> The problem is I can not get authentication successful in my Postfix +
> 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?.
> 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/
> 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.
> Davi Leal
> The system is a Debian GNU/Linux 3.0 (woody)