Install Courier-Authlib
Courier-Authlib is the Courier authentication library.
We will need this library to working with Cyrus-SASL to authenticated all postfix MTA SMTP authentication
Compiling Courier-authlib
#cd /root/postfixrocks/
#tar -jxvf courier-authlib-0.63.0.tar.bz2
#cd courier-authlib
#./configure --with-authshadow
#make && make install
Create smptd.conf
#cd /usr/lib/sasl2
#vi smtpd.conf
pwcheck_method: authdaemond
log_level: 3
mech_list: PLAIN LOGIN
authdaemond_path:/usr/local/var/spool/authdaemon/socket