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