Newbie lament on SASL authentication with Postscript...

Bernard T. Higonnet bthcom at higonnet.net
Fri Jul 8 13:28:32 EDT 2011


On 07/08/11 13:33, Patrick Ben Koetter wrote:
> * Bernard T. Higonnet<bthcom at higonnet.net>:
>> Just in case other people read this, I found
>> http://postfix.state-of-mind.de/patrick.koetter/smtpauth/ while
>> looking for saslfinger and I've found that helpful.
>>
>> As of this moment, Postfix is willing to do this:
>>
>> 250-AUTH NTLM LOGIN GSSAPI CRAM-MD5
>> 250-AUTH=NTLM LOGIN GSSAPI CRAM-MD5
>>
>> which perplexes me since in smtpd.conf I say
>>
>> mech_list: PLAIN LOGIN
>>
>> but that's my task for this morning!
>
> Which system/distribution are you on and where is your smtpd.conf?

FreeBSD freebsd2.higonnet.net 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu 
Feb 17 02:41:51 UTC 2011 
root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

postfix/master[3023]: daemon started -- version 2.8.3

the version of Cyrus SASL in ports is cyrus-sasl-2.1.23 but I can't 
guarantee that's what I'm using (I've done so many things and built 
stuff...)

But I have finally put smtpd.conf where it belongs, 
/usr/lib/sasl2/smtpd.conf, or at least where both saslfinger and postfix 
van find it since I now get this:

250-AUTH LOGIN
250-AUTH=LOGIN

As of now, with
pwcheck_method: authdaemond in smtpd.conf
I get

Jul  8 19:09:10 freebsd2 postfix/smtpd[3026]: warning: SASL 
authentication failure: could not verify password
Jul  8 19:09:10 freebsd2 postfix/smtpd[3026]: warning: 
shopi.higonnet.net[192.168.3.111]: SASL LOGIN authentication failed: 
generic failure

when I try to connect from a Thunderbird client and

Jul  8 19:11:20 freebsd2 postfix/smtpd[3046]: warning: 
freebsd.higonnet.net[192.168.3.102]: SASL LOGIN authentication failed: 
authentication failure

when taking a look with telnet

Thanks
Bernard Higonnet
PS Thanks for saslfinger and the tutorial}


More information about the Cyrus-sasl mailing list