Cyrus-SASL2-2.1.20 & MySQL crypt'ed passwords

klr at 6s-gaming.com klr at 6s-gaming.com
Sun Nov 28 14:42:01 PST 2004


It is accessing the database properly.

SASL isn't even trying to check vs an encrypted password, if I feed it (at
the SMTP auth) with the encrypted password I find at the database, it will
accept it (like if it was a plaintext-password)


>>
>> That is exactly my smtpd.conf , I don't understand why it doesn't work
>> :/
>>
>> The password_format directive was incorporated on 2.1.20 ?
>>
>>
>>
>> > ---- smtpd.conf --------------------
>> > pwcheck_method: auxprop
>> > mech_list: PLAIN LOGIN
>> > auxprop_plugin: sql
>> > srp_mda: md5
>> > password_format: crypt
>> > sql_engine: mysql
>> > sql_hostnames: localhost
>> > sql_database: postfix
>> > sql_user: XXXXXXXXX
>> > sql_passwd: XXXXXXXXX
>> > sql_verbose: yes
>> > sql_select: SELECT password FROM mailbox WHERE username = '%u@%r'
>> > -------------------------------------
>>
>
> In this setup Sasl expects the passwords MD5 encrypted, not standaard UNIX
> crypt. Restart MySQL with the parameter --log and see what activity is
> logged.
>
>




More information about the freebsd-questions mailing list