OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: postfix - sasl problems.

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Fri Dec 29 2006 - 01:42:03 CST


On Thursday 28 December 2006 18:00, domingosrealvisual.com wrote:

> I'm trying to migrate from redhat/sendmail to a Debian/postfix and I want
> to include cyrus sasl / web-cyradm / saslauthd / pam / pam-mysql .
>
> I can retrieve mail via cyrus/pop and I can do testsaslauthd with success.
>
> When I try to send mail via postfix I got this:

> Dec 28 15:15:12 wpc4078 postfix/smtpd[1298]: warning: SASL authentication
> problem:
> unknown password verifier

This means the "pwcheck_method" which is configured in your smtpd.conf is
wrong.

> -- content of /etc/postfix/sasl/smtpd.conf --
> pwcheck_method: saslauthd

Hmm, strange, this looks good. If this is the right Configuration-File, check
if there are Whitespaces or other Characters in the Line (Maybe a DOS CR/LF).
Make a Hexdump.

Another chance is, your Cyrus-SASL is not compiled with saslauthd-Support.

> #pwcheck_method: saslauthd
> saslauthd_path: /var/run/saslauthd/mux
>
> mech_list: PLAIN

One way to check if this is the right file is to add "login" here. And look if
it appears in the "-- mechanisms on localhost --" Section of saslfinger.

> log_level: 7

--
        Andreas