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 Authentication not running on Postfix-2.1.5-5 on FC3

From: Sandy Drobic (postfix-usersjapantest.homelinux.com)
Date: Mon Oct 02 2006 - 11:30:51 CDT


ankush grover wrote:
> On 10/2/06, Sandy Drobic <postfix-usersjapantest.homelinux.com> wrote:
>> ankush grover wrote:
>>
>> >> What does
>> >> ldd `postconf daemon_directory| cut -d" " -f3`/smtpd
>> >> say?
>> >
>> > libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x00cdf000)

Which linux distribution are you using?

Surely there are some more libraries linked to smtpd?
My smtpd output for example is:

katgar:~ # ldd `postconf daemon_directory| cut -d" " -f3`/smtpd
         linux-gate.so.1 => (0xffffe000)
         libssl.so.0.9.7 => /usr/lib/libssl.so.0.9.7 (0x40023000)
         libcrypto.so.0.9.7 => /usr/lib/libcrypto.so.0.9.7 (0x40054000)
         libmysqlclient.so.12 => /usr/lib/libmysqlclient.so.12 (0x40145000)
         libz.so.1 => /lib/libz.so.1 (0x4017c000)
         libm.so.6 => /lib/tls/libm.so.6 (0x4018d000)
         libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0x401b0000)
         libpcre.so.0 => /usr/lib/libpcre.so.0 (0x401c5000)
         libdb-4.2.so => /usr/lib/tls/libdb-4.2.so (0x401d2000)
         libldap-2.2.so.7 => /usr/lib/libldap-2.2.so.7 (0x402a7000)
         liblber-2.2.so.7 => /usr/lib/liblber-2.2.so.7 (0x402da000)
         libnsl.so.1 => /lib/libnsl.so.1 (0x402e7000)
         libresolv.so.2 => /lib/libresolv.so.2 (0x402fd000)
         libc.so.6 => /lib/tls/libc.so.6 (0x40310000)
         libdl.so.2 => /lib/libdl.so.2 (0x40427000)
         libcrypt.so.1 => /lib/libcrypt.so.1 (0x4042b000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
         libpthread.so.0 => /lib/tls/libpthread.so.0 (0x4045d000)

Did you compile Postfix yourself or are you using the Postfix of the
distribution?

>> >
>>
>> So, what's the content of /usr/lib/sasl2?
>>
>> Does Postfix complain at the start, are there any warnings logged?
>>
>> Sandy
>>
>> --
>
> the contents of /usr/lib/sasl2
>
> libanonymous.la libdigestmd5.so.2 libplain.la
> libanonymous.so libdigestmd5.so.2.0.19 libplain.so
> libanonymous.so.2 libgssapiv2.la libplain.so.2
> libanonymous.so.2.0.19 libgssapiv2.so libplain.so.2.0.19
> libcrammd5.la libgssapiv2.so.2 libsasldb.la
> libcrammd5.so libgssapiv2.so.2.0.19 libsasldb.so
> libcrammd5.so.2 liblogin.la libsasldb.so.2
> libcrammd5.so.2.0.19 liblogin.so libsasldb.so.2.0.19
> libdigestmd5.la liblogin.so.2 smtpd.conf
> libdigestmd5.so liblogin.so.2.0.19
>
> smtpd.conf contains this
>
> pwcheck_method: saslauthd
> mech_list: plain login
>
>
> There are no when the postfix starts may be I need to increase the
> debug level to check out.

If no errors/warnings are logged, that's sufficient.

Now I wonder why the AUTH line does not appear. I suspect a typo in your
configuration. Please show the current "postconf -n".

Sandy
--
List replies only please!
Please address PMs to: news-reply2 () japantest (.) homelinux (.) com