OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Can't enable logging in SASL

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Sat Jun 24 2006 - 05:20:41 CDT


Am Friday 23 June 2006 11:17 schrieb Maxim Cherniavsky:

> I can't enable logging of sasl library, using auxprop module.
> Does postfix
> install its own callback for syslog or something else specific?

> *******
> cat smtpd.conf
>
> pwcheck_method: auxprop
> auxprop_plugin: sql

> log_level: 7

This is needless with Postfix.

> mech_list: LOGIN PLAIN

Are your Passwords Cleartext or Crypted in your Database?

> sql_verbose: true

This is no Cyrus-SASL Option.

> ********

If this is your whole smtpd.conf and the sql-Plugin is really installed, you
should see an Error-Message in your Log, because of a missing Option. I would
guess, the sql-Plugin is not installed.

> Setting "smtpd -v" doesn’t help either
> Any ideas?
>
> postfix-2.2.10
> cyrus-sasl-2.1.22
>
> Only "warning: SASL authentication failure: Password verification failed"
> appears.

The Cyrus-SASL Logging with Postfix 2.3 has changed. 2.2.x has suppressed some
Infos from Cyrus-SASL. With 2.3.x and "smtpd -vv" everything passes to
syslog.

--
        Andreas