ã¡ã¼ã«éåä¿¡ï¼Postfix, Dovecotï¼
- ãã¼ã«ã«ã§åããã
- pop3ã§åããã
- ã¨ãããããã»ãã¥ãªãã£ã¯èããªã...
hostnameã¨iptablesã®è¨å®
$ sudo vi /etc/sysconfig/network
NETWORKING=yes
#HOSTNAME=localhost.localdomain
#HOSTNAME=www
HOSTNAME=www.hoge.local
$ sudo /sbin/iptables -F
Postfixã®ã¤ã³ã¹ãã¼ã«
$ sudo yum -y install postfix
Sendmailã®åæ¢
$ sudo /etc/init.d/sendmail stop $ sudo /sbin/chkconfig --level 2345 sendmail off $ sudo /sbin/chkconfig --list sendmail
mtaãPostfixã«å¤æ´
$ sudo /usr/sbin/alternatives --config mta
/usr/sbin/sendmail.postfixãé¸æãã¦enter
- 確èª
$ sudo /usr/sbin/alternatives --display mta
Postfixã®èªåèµ·åã®è¨å®ã®ç¢ºèª
$ /sbin/chkconfig --list|grep postfix
- èªåèµ·åã§ãªããã°onã«ããã
$ sudo /sbin/chkconfig --level 2345 postfix on
Postfixè¨å®ãã¡ã¤ã«ã®ç·¨é
$ sudo vi /etc/postfix/main.cf
myhostname = www.hoge.local
mydomain = hoge.local
myorigin = $mydomain
mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain
relay_domains = $mydestination
Postfixãèµ·å
$ sudo /etc/rc.d/init.d/postfix start
Dovecotã®ã¤ã³ã¹ãã¼ã«
$ sudo yum -y install dovecot
Dovecotã®èªåèµ·åã®è¨å®
$ sudo /sbin/chkconfig dovecot on $ /sbin/chkconfig --list dovecot
Dovecotã®èµ·å
$ sudo /etc/init.d/dovecot start