OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: sasl working, postfix not talking to saslauthd

Ali.Naddaftrilogy.com
Date: Mon Jul 19 2004 - 23:10:55 CDT


Ian,
What distribution of Linux are you using?
Ali.

"Ian Hunter" <ihunterhunterweb.net>
Sent by: owner-postfix-userspostfix.org
07/19/2004 09:57 PM

 
        To: <postfix-userspostfix.org>
        cc:
        Subject: sasl working, postfix not talking to saslauthd

OK, I've spent a fair amount of time making sure this isn't a sasl config
problem.

testsaslauthd -u <username> -p <password> -s smtp

...works fine, even if I "su postfix" and then run it. (Couldn't get pam
working that way, switched to shadow, works fine as shadow)

However, when I connect to smtpd (with Outlook Express, ack! phht!), I
see
absolutely no activity from "saslauthd -d -a shadow" (and I see all kinds
of
messages when I connect from testsaslauthd) and Outlook keeps prompting me
for my username and password.

If I didn't know any better, I'd say postfix wasn't calling saslauthd at
all. My /usr/lib/sasl2/smtpd.conf looks like:

mech_list: PLAIN LOGIN
pwcheck_method: saslauthd
saslauthd_path: /var/run/saslauthd

postfix is NOT chrooting smtpd.

I have NO idea where to look next. I think I've read every FAQ and blog
in
the world about this. Somebody tell me the magic switch I forgot.

Ian