Relay access denied

设置邮箱服务器,工具如下:

centos

postfix

dovecot

squirrelmail

参考:

1. http://ostechnix.wordpress.com/2013/02/08/setup-mail-server-using-postfixdovecotsquirrelmail-in-centosrhelscientific-linux-6-3-step-by-step/

2. 《鸟哥的Linux私房菜》基础篇和服务器篇

 

问题:设置好邮箱后,当我发送邮件到其他域名如126.com的时候,邮件发送不出去,出现错误为:Relay access denied.

解决方法:

vi /etc/squirrelmail/config.php

修改$smtpServerAddress为你的hostname.

 

通过查看/var/log/maillog去发现问题。

posted @ 2014-02-21 11:07  emmac  阅读(3282)  评论(0编辑  收藏  举报