OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: Where to put Cyrus-SASL-2 config file for Postfix?

From: Andreas Winkelmann (mlawinkelmann.de)
Date: Mon Dec 27 2004 - 03:04:17 CST


Am Samstag, 25. Dezember 2004 21:04 schrieb EchtLiebenswertaol.com:

> I copied a smtpd.conf on every directory my system can offer :) But ...
> the mail.info says: "no sasl authentication mechanisms"...thats my compile
> script for cyrus-sasl:
>
> make distclean
>
> ./configure LDFLAGS="-L/opt/mysql-4.0.23/lib/mysql" \
> CPPFLAGS="-I/opt/mysql-4.0.23/include/mysql" \
> --prefix=/opt/cyrus-sasl-2.1.20 \
> --enable-cram \
> --enable-digest \
> --enable-plain \
> --enable-login \
> --enable-sql \
> --with-mysql=/opt/mysql-4.0.23 \
> --with-plugindir=/opt/cyrus-sasl-2.1.20/plugins
>
> make
> make install

Check, if Postfix uses this SASL-Libs or the older one on your System.

# ldd `postconf -h daemon_directory`/smtpd

Pick the libsasl2.* Lib and run:

# strings /path/to/libsasl2.so|grep ^/

You should see a few lines, one of them, mostly the one with the most "/" is
the path to your smtpd.conf. Unless you have a Debian-Postfix...

--
        Andreas