This is a discussion on fatal: no SASL authentication mechanisms within the mailing.postfix.users forums, part of the Mail Servers and Related category; Hello, I am trying to get SMTP AUTH to work in Postfix against the local /etc/shadow file. I have ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I am trying to get SMTP AUTH to work in Postfix against the local /etc/shadow file. I have followed several different instructions on this matter, but Postfi= x always ends up in a state that it refuses all connections and prints the following to the mail.err log file: fatal: no SASL authentication mechanisms The strange thing is: the saslauthd program is running, and working against the shadow file. I have verified this with the "testsaslauthd" tool. I have been trying to get Postfix + SASL to work for awhile. I've been following the numerous mailing list threads. I even went out and bought Patrick Koetter's excellent book. Unfortunately, I am still stuck. Does anyone have any ideas? Thanks, Ken Gallo ----------------------- Output from postconf -n ----------------------- broken_sasl_auth_clients =3D yes config_directory =3D /etc/postfix home_mailbox =3D Maildir/ mydestination =3D server1.gallosecurity.com, localhost, localhost.localdomain, gallosecurity.com mynetworks_style =3D host myorigin =3D gallosecurity.com relay_domains =3D smtpd_recipient_restrictions =3D permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination smtpd_sasl_application_name =3D smtpd smtpd_sasl_auth_enable =3D yes smtpd_sasl_security_options =3D noanonymous virtual_alias_domains =3D gallopro.com, gallohouse.com virtual_alias_maps =3D hash:/etc/postfix/virtual ---------------------- Output from saslfinger ---------------------- saslfinger - postfix Cyrus sasl configuration Tue May 24 17:01:32 UTC 200= 5 version: 0.9.9.1 mode: server-side SMTP AUTH -- basics -- Postfix: 2.2.3 System: Debian GNU/Linux 3.1 \n \l -- smtpd is linked to -- libsasl2.so.2 =3D> /usr/lib/libsasl2.so.2 (0x401b5000) -- active SMTP AUTH and TLS parameters for smtpd -- broken_sasl_auth_clients =3D yes smtpd_sasl_application_name =3D smtpd smtpd_sasl_auth_enable =3D yes smtpd_sasl_security_options =3D noanonymous -- listing of /usr/lib/sasl2 -- total 108 drwxr-xr-x 2 root root 4096 Apr 28 17:03 . drwxr-xr-x 36 root root 12288 May 11 18:14 .. -rw-r--r-- 1 root root 21798 Oct 16 2004 libsasldb.a -rw-r--r-- 1 root root 852 Oct 16 2004 libsasldb.la -rw-r--r-- 1 root root 18692 Oct 16 2004 libsasldb.so -rw-r--r-- 1 root root 18692 Oct 16 2004 libsasldb.so.2 -rw-r--r-- 1 root root 18692 Oct 16 2004 libsasldb.so.2.0.19 -rw-r--r-- 1 root root 62 May 11 20:13 smtpd.conf -- listing of /usr/local/lib/sasl2 -- total 12 drwxrwsr-x 2 root staff 4096 Apr 28 17:05 . drwxrwsr-x 4 root staff 4096 Apr 28 17:04 .. -rw-r--r-- 1 root root 62 May 11 20:13 smtpd.conf -- content of /usr/lib/sasl2/smtpd.conf -- log_level: 7 pwcheck_method: saslauthd mech_list: PLAIN LOGIN -- content of /usr/local/lib/sasl2/smtpd.conf -- log_level: 7 pwcheck_method: saslauthd mech_list: PLAIN LOGIN -- content of /etc/postfix/sasl/smtpd.conf -- log_level: 7 pwcheck_method: saslauthd mech_list: PLAIN LOGIN -- active services in /etc/postfix/master.cf -- # service type private unpriv chroot wakeup maxproc command + args # = =20 (yes) (yes) (yes) (never) (50) smtp inet n - - - - smtpd -v pickup fifo n - - 60 1 pickup cleanup unix n - - - 0 cleanup qmgr fifo n - - 300 1 qmgr rewrite unix - - - - - trivial-rewrite bounce unix - - - - 0 bounce defer unix - - - - 0 bounce flush unix n - - 1000? 0 flush smtp unix - - - - - smtp showq unix n - - - - showq error unix - - - - - error local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp cyrus unix - n n - - pipe flags=3DR user=3Dcyrus argv=3D/usr/sbin/cyrdeliver -e -m ${extension} $= {user} uucp unix - n n - - pipe flags=3DFqhu user=3Duucp argv=3Duux -r -n -z -a$sender - $nexthop!rmail ($recipient) ifmail unix - n n - - pipe flags=3DF user=3Dftn argv=3D/usr/lib/ifmail/ifmail -r $nexthop ($recipi= ent) bsmtp unix - n n - - pipe flags=3DFq. user=3Dbsmtp argv=3D/usr/lib/bsmtp/bsmtp -d -t$nexthop -f$s= ender $recipient scalemail-backend unix - n n - 2 pipe flags=3DR user=3Dscalemail argv=3D/usr/lib/scalemail/bin/scalemail-stor= e ${nexthop} ${user} ${extension} proxymap unix - - n - - proxymap trace unix - - - - 0 bounce verify unix - - - - 1 verify tlsmgr unix - - - 1000? 1 tlsmgr anvil unix - - - - 1 anvil scache unix - - - - 1 scache discard unix - - - - - discard relay unix - - n - - smtp -o fallback_relay=3D -- mechanisms on localhost -- |