Saturday, February 27, 2010

saslauthd problem

Well, i have this server on my hands, built from scratch, and used mostly for hosting websites and email. So, i had to make postfix use virtual tables with mysql, dovecot too..and so on. Anyway, after following some tuturial i made everything running except for smtp authentication using SASLAUTHD. So, on my CentOS 5.3 to make smtp authentication running, i had to create a smtpd.conf file in /usr/lib/sasl2/ with the following content:
pwcheck_method: saslauthd
mech_list: PLAIN LOGIN
And /etc/sysconfing/saslauthd should have the following content:
FLAGS==”-m /var/spool/postfix/var/run/saslauthd -r”
Usually, default saslauthd file doesn’t have any flags nor pidfile. After that, you should see saslauthd finally authenticating people. Bad part is that i spent almost whole day yesterday trying to figure this shit out. Hopefully, i’ll remember my post next time i’m in this kind of trouble.

No comments:

Post a Comment