ex) Sendmail, Qmail, Microsfot Exchange
MUA (Mail user Agent)
ex) Outlook Express
MDA (Mail Delivery Agent)
ex) POP3, IMAP
Send Protocol
SMTP (Simple Mail Transfer Protocol)
: TCP/IP mail transfer protocol. Default port 25.
1. Install Sendmail packages
# yum -y install sendmail*
2. Configure SMTP
# vi /etc/mail/sendmail.mc
Remove 'dnl' command
# m4 /etc/mail/sendmail.mc > /ect/mail/sendmail.cf # vi /etc/mail/snedmail.cf
Cwlocalhost ->Cw[MAIL_SERVER_DOMAIL]
127.0.0.1 (Internal Mail Server) -> 0.0.0.0
3. Configure Mail Access
# vi /ect/mail/access
# makemap hash /etc/mail/access < /etc/mail/access
# vi /etc/mail/local-host-names
4. SASL security module
# service saslauthd start # chkconfig saslauthd on # init 6
5. Disable Firewall
# service iptables stop # chkconfig --level 345 iptables off # vi /etc/selinux/config # getenforce
# service iptables status
6. Install Dovecot packages
# yum -y install dovecot
7. Configure Dovecot
# vi /etc/dovecot/dovecot.conf
# vi /etc/dovecot/conf.d/10-mail.conf
# vi /etc/dovecot/conf.d/10-ssl.conf
# vi /etc/dovecot/conf.d/10-auth.conf
8. Start Dovecot
# service dovecot start # chkconfig dovecot on
No comments:
Post a Comment