ispCP - Board - Support
[HowTo] SASL Authentication Using Courier-Auth - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HowTo] SASL Authentication Using Courier-Auth (/thread-10688.html)



[HowTo] SASL Authentication Using Courier-Auth - dropslack - 05-14-2010 01:22 PM

by default ispCP SASL authentication on CentOS 5.4 using SASL database on /etc/sasldb2. and ispCP using courier-authlib to keep and store all users email including password.

actually, we don't need / etc/sasldb2 if we want to be able using SASL feature. we can use courier-authlib database to be able using SASL feature. so we don't need /etc/sasldb2 database anymore.

to be like this, just edit /usr/lib/sasl2/smtpd.conf file:
Code:
pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5

and replace to this one:
Code:
pwcheck_method: authdaemond
mech_list: PLAIN LOGIN CRAM-MD5 DIGEST-MD5
authdaemond_path:/var/spool/authdaemon/socket

and then type this command:
Code:
# chmod 755 /var/spool/authdaemon/
# /etc/init.d/postfix reload; /etc/init.d/courier-authlib restart