設置郵箱服務器,工具以下:php
centoslinux
postfixcentos
dovecot服務器
squirrelmailwordpress
參考:工具
1. http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/post
2. 《鳥哥的Linux私房菜》基礎篇和服務器篇ui
問題:設置好郵箱後,當我發送郵件到其餘域名如126.com的時候,郵件發送不出去,出現錯誤爲:Relay access denied.server
解決方法:ci
vi /etc/squirrelmail/config.php
修改$smtpServerAddress爲你的hostname.
經過查看/var/log/maillog去發現問題。