Installation
1. install RPMsendmail-8.12.8-4.rpm, sendmail-cf-8.12.8-4.rpm, imap-2001a-18.rpm
2. enabel IMAP, POP3
1) /etc/xinetd.d/imap : disable = yes -> no
2) /etc/xinetd.d/ipop3 : disable = yes -> no3. Cyrus Sasl 적용
1) vi /etc/mail/sendmail.mc
dnl TRUST_AUTH_MECH(`EXTERNAL DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
-> TRUST_AUTH_MECH(`LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
dnl define(`confAUTH_MECHANISMS', `EXTERNAL GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN')dnl
-> define(`confAUTH_MECHANISMS', `LOGIN PLAIN DIGEST-MD5 CRAM-MD5')dnl
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1,Name=MTA')dnl
-> DAEMON_OPTIONS(`Port=smtp,Name=MTA')dnl2) mv /etc/mail/sendmail.cf /etc/mail/sendmail.cf.bak
3) m4 /etc/mail/sendmail.mc > /etc/mail/sendmail.cf
4) vi /etc/mail/local-host-namesyourdomain.com
www.yourdomain.com5) /etc/rc.d/init.d/sendmail restart
Config
1. makemapapply change of access, domaintable, mailertable, virtusertable : makemap hash ***.db < ***
ref : procmail - http://trade.chonbuk.ac.kr/~leesl/procmail/index.html