postfix dbmail and cyrus-sasl
Alan Glait
aglait at renatre.org.ar
Wed Sep 7 14:17:38 EDT 2005
Thanx for your answer ...
saslauthd -v
saslauthd 2.1.21
authentication mechanisms: sasldb getpwent kerberos5 pam rimap
What permissions I have to check ??
I dont have saslfinger .... its a command ?
Alexander Dalloz wrote:
>Am Mi, den 07.09.2005 schrieb Alan Glait um 18:44:
>
>
>
>>Im trying to enable smtp auth in postfix+dbmail
>>now I have:
>>/usr/local/lib/sasl2/smtpd.conf
>>pwcheck_method: saslauthd
>>saslauthd_path: /var/run/saslauthd/mux
>>mech_list: CRAM-MD5 DIGEST-MD5
>>
>>
>
>That unfortunately does not tell us how "saslauthd" is configured, means
>which method it uses to provide MD5 mechs. Is saslauthd compiled to
>provide sasldb (saslauthd -v)?
>
>
>
>>and I get in maillog
>>
>>< unknown[192.168.1.5]: AUTH CRAM-MD5
>>smtpd_sasl_authenticate: sasl_method CRAM-MD5
>>smtpd_sasl_authenticate: uncoded challenge: <3886930606.2037449@>
>> > unknown[192.168.1.5]: 334
>>PDM4ODY5MzA2MDYuMjAzNzQ0OUBteDIucmVuYXRyZS5vcmcuYXI+
>>< unknown[192.168.1.5]: YWdsYWl0IDA4ZWJlYTZjMzdlZjE3NTRkMTg5ZTExZjhmMGJjMzdk
>>smtpd_sasl_authenticate: decoded response: user
>>08ebea6c37ef1754d189e11f8f0bc37d
>>warning: SASL authentication failure: Could not open db
>>warning: SASL authentication failure: Could not open db
>>warning: SASL authentication failure: no secret in database
>>warning: unknown[192.168.1.5]: SASL CRAM-MD5 authentication failed
>>
>>
>
>SASL tries to read from sasldb2 - and fails. That can be either because
>of wrong permissions or it missing.
>
>
>
>>....
>>probing ... I test
>>bash-2.05b# testsaslauthd -s smtp -u aglait -p pass
>>0: OK "Success."
>>
>>so ... I think that I have a bad configuration ....
>>
>>can you help me ??
>>
>>
>
>saslfinger may help.
>
>Alexander
>
>
>
>
More information about the Cyrus-sasl
mailing list