Re: Still can't get SMTP AUTH working

From: Patrick Ben Koetter (p at state-of-mind dot de)
Date: Wed Oct 01 2003 - 03:11:23 EDT


Hi,

just for the books, can you send in a 'ldd /usr/sbin/postfix' to check
what SASL Postfix was compiled with?

* Roberto Sanchez <> [031001 05:27]:
> /usr/lib/sasl/smtpd.conf:
> pwcheck_method:shadow
>
> [This is also symlinked to /usr/lib/sasl2/smtpd.conf and
> /etc/postfix/sasl/smtpd.conf]
> I have also tried pwcheck and saslauthd with identical results.

did you start saslauthd with options? My Howto presumes that you use
Tuomo's init-script which adds them automatically:

If not, then start saslauthd this way:

/usr/sbin/saslauthd -m /var/run/saslauthd/mux -a shadow

Make sure that /var/run/saslauthd exists and that the permissions are:

drwxr-xr-x 2 root root 4096 Mar 24 2003 .
drwxr-xr-x 8 root root 4096 Sep 30 22:11 ..
srwxrwxrwx 1 root root 0 Mar 24 2003 mux
-rw------- 1 root root 0 Mar 24 2003 mux.accept
-rw------- 1 root root 4 Mar 24 2003 mux.pid

Before you start saslauthd change /usr/lib/sasl2/smtpd.conf to:

pwcheck_method: saslauthd

> /etc/postfix/main.cf:
> smtpd_sasl_auth_enable = yes
> broken_sasl_auth_clients = yes
> smtpd_sasl_local_domain =
> smtpd_sasl_security_options = noanonymous
> smtpd_recipient_restrictions = permit_sasl_authenticated,
> permit_mynetworks, permit_tls_client_certs, reject_unauth_destination,
> check_relay_domains, permit

OK.

> /etc/postfix/master.cf:
> smtp inet n n n - - smtpd -v

OK.

-- 
Patrick Koetter <p at state-of-mind dot de>
http://postfix.state-of-mind.de/patrick.koetter/







Hosted Email Solutions

Invaluement Anti-Spam DNSBLs



Powered By FreeBSD   Powered By FreeBSD