Sendmail, password-like file and SASL2.

06.02.2008 – 19:23

As I have promised I am posting a patch that allows SASL2 to use password like file (eg. /etc/passwd-mail).

After applying this patch we need to perform some dirty hacks:
* You need to install automake 1.7.2
* Enter saslauthd directory in SASL sources.
* Run automake 1.7.2 there.

And then configure.

Why? Because none of us has the idea how to make it works with autotools in the other way, if anyone knows a solution would be appreciated.

And then you just need to prepare Sendmail.conf:

# cat /usr/lib/sasl2/Sendmail.conf
pwcheck_method: saslauthd
mech_list: LOGIN PLAIN

And then start saslauthd:

/usr/sbin/saslauthd -a getpwlike

Here is the patch: cyrus-sasl-pwlike.patch

Have fun!

Opublikuj komentarz

Captcha Captcha Reload