设置邮箱服务器,工具以下: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去发现问题。