Re: SASL Auth Problem with SMTP-Client

From: Patrick Ben Koetter (p at state-of-mind dot de)
Date: Thu Nov 03 2005 - 04:12:00 EST

  • Next message: Simon Powell: "Command to rebuild transport d'base"

    * C & C Pelz <>:
    > Got it figured out - sasl-cram-md5 and sasl-digest-md5 were not installed
    > on my system.
    >
    > Still, attached the output of "saslfinger -c". I had run that before,
    > however, it does not give me any information on the sasl-mechanisms
    > installed on my system.

    Well it does to me. It tells me for example, that you have anonymous, login,
    cram-md5 and digest-md5, but not plain installed...

    p at rick

    >
    > Chris
    >
    > On Tue, 01 Nov 2005 23:44:16 +0100, Patrick Ben Koetter
    > <p at state-of-mind dot de> wrote:
    >
    > >* C & C Pelz <>:
    > >>Hi,
    > >>
    > >>I'm trying to use postfix to relay mail from our server to my ISP but
    > >>fail
    > >>with the error "Authentication failed: cannot
    > >>SASL authenticate to server mail.notar-pelz.de[212.112.241.164]: no
    > >>mechanism available"
    > >
    > >Output from "saslfinger -c" is preferred to debug SASL for the Postfix
    > >smtp
    > >client. See my signature for saslfinger download.
    > >
    > >p at rick
    > >
    >

    > saslfinger - postfix Cyrus sasl configuration Thu Nov 3 06:32:48 CET 2005
    > version: 0.9.9.1
    > mode: client-side SMTP AUTH
    >
    > -- basics --
    > Postfix: 2.2.5
    > System:
    > Welcome to SuSE Linux 9.1 (i586) - Kernel \r (\l).
    >
    > -- smtp is linked to --
    > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x4002b000)
    >
    > -- active SMTP AUTH and TLS parameters for smtp --
    > relayhost = mail.notar-pelz.de
    > smtp_sasl_auth_enable = yes
    > smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
    > smtp_use_tls = no
    >
    >
    > -- listing of /usr/lib/sasl2 --
    > total 446
    > drwxr-xr-x 2 root root 808 Nov 3 06:19 .
    > drwxr-xr-x 89 root root 34712 Nov 1 23:09 ..
    > -rwxr-xr-x 1 root root 695 Feb 18 2005 libanonymous.la
    > -rwxr-xr-x 1 root root 16099 Feb 18 2005 libanonymous.so
    > -rwxr-xr-x 1 root root 16099 Feb 18 2005 libanonymous.so.2
    > -rwxr-xr-x 1 root root 16099 Feb 18 2005 libanonymous.so.2.0.18
    > -rwxr-xr-x 1 root root 683 Apr 6 2004 libcrammd5.la
    > -rwxr-xr-x 1 root root 18461 Apr 6 2004 libcrammd5.so
    > -rwxr-xr-x 1 root root 18461 Apr 6 2004 libcrammd5.so.2
    > -rwxr-xr-x 1 root root 18461 Apr 6 2004 libcrammd5.so.2.0.18
    > -rwxr-xr-x 1 root root 713 Apr 6 2004 libdigestmd5.la
    > -rwxr-xr-x 1 root root 47575 Apr 6 2004 libdigestmd5.so
    > -rwxr-xr-x 1 root root 47575 Apr 6 2004 libdigestmd5.so.2
    > -rwxr-xr-x 1 root root 47575 Apr 6 2004 libdigestmd5.so.2.0.18
    > -rwxr-xr-x 1 root root 679 Feb 18 2005 liblogin.la
    > -rwxr-xr-x 1 root root 16811 Feb 18 2005 liblogin.so
    > -rwxr-xr-x 1 root root 16811 Feb 18 2005 liblogin.so.2
    > -rwxr-xr-x 1 root root 16811 Feb 18 2005 liblogin.so.2.0.18
    > -rwxr-xr-x 1 root root 704 Feb 18 2005 libsasldb.la
    > -rwxr-xr-x 1 root root 21330 Feb 18 2005 libsasldb.so
    > -rwxr-xr-x 1 root root 21330 Feb 18 2005 libsasldb.so.2
    > -rwxr-xr-x 1 root root 21330 Feb 18 2005 libsasldb.so.2.0.18
    > -rw------- 1 root root 69 Nov 1 22:43 smtpd.conf
    > -rw------- 1 root root 49 Nov 1 22:43 smtpd.conf~
    >
    >
    > -- permissions for /etc/postfix/sasl_passwd --
    > -rw------- 1 root root 259 Nov 1 20:41 /etc/postfix/sasl_passwd
    >
    > -- permissions for /etc/postfix/sasl_passwd.db --
    > -rw------- 1 root root 12288 Nov 1 20:53 /etc/postfix/sasl_passwd.db
    >
    > /etc/postfix/sasl_passwd.db is up to date.
    >
    > -- active services in /etc/postfix/master.cf --
    > # service type private unpriv chroot wakeup maxproc command + args
    > # (yes) (yes) (yes) (never) (100)
    > smtp inet n - n - - smtpd
    > pickup fifo n - n 60 1 pickup
    > cleanup unix n - n - 0 cleanup
    > qmgr fifo n - n 300 1 qmgr
    > rewrite unix - - n - - trivial-rewrite
    > bounce unix - - n - 0 bounce
    > defer unix - - n - 0 bounce
    > trace unix - - n - 0 bounce
    > verify unix - - n - 1 verify
    > flush unix n - n 1000? 0 flush
    > proxymap unix - - n - - proxymap
    > smtp unix - - n - - smtp
    > relay unix - - n - - smtp
    > showq unix n - n - - showq
    > error unix - - n - - error
    > local unix - n n - - local
    > virtual unix - n n - - virtual
    > lmtp unix - - n - - lmtp
    > anvil unix - - n - 1 anvil
    > maildrop unix - n n - - pipe
    > flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}
    > cyrus unix - n n - - pipe
    > user=cyrus argv=/usr/lib/cyrus/bin/deliver -e -r ${sender} -m ${extension} ${user}
    > uucp unix - n n - - pipe
    > flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient)
    > ifmail unix - n n - - pipe
    > flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient)
    > bsmtp unix - n n - - pipe
    > flags=Fq. user=foo argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient
    > vscan unix - n n - 10 pipe
    > user=vscan argv=/usr/sbin/amavis ${sender} ${recipient}
    > procmail unix - n n - - pipe
    > flags=R user=nobody argv=/usr/bin/procmail -t -m /etc/procmailrc ${sender} ${recipient}
    >
    > -- mechanisms on notar-pelz.de --
    > 250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
    > 250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
    >
    >
    > -- mechanisms on mail.notar-pelz.de --
    > 250-AUTH NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
    > 250-AUTH=NTLM LOGIN PLAIN DIGEST-MD5 CRAM-MD5
    >
    >
    >
    > -- end of saslfinger output --
    >

    -- 
    The Book of Postfix
    <http://www.postfix-book.com>
    saslfinger (debugging SMTP AUTH):
    <http://postfix.state-of-mind.de/patrick.koetter/saslfinger/>
    

  • Next message: Simon Powell: "Command to rebuild transport d'base"





    Hosted Email Solutions

    Invaluement Anti-Spam DNSBLs



    Powered By FreeBSD   Powered By FreeBSD