修改 addr = 0.0.0.0
安裝:
# yum -y install dovecot
#cd /etc/mail
# m4 sendmail.mc > sendmail.cf
#gedit /etc/dovecot/dovecot.conf
mail_location = mbox:/mail:INBOX=/var/mail/%u
儲存 → 離開
# chmod 0600 /var/spool/mail/*
重啟相關服務
# service dovecot restart
測試功能
# m4 sendmail.mc > sendmail.cf
沒有留言:
張貼留言