sendmail报错Relaying denied

Posted shqhdmr

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了sendmail报错Relaying denied相关的知识,希望对你有一定的参考价值。

配置好sendmail后,使用php的mail()发送邮件,出现 SMTP server response: 550 5.7.1 Relaying denied. IP name lookup failed [xxx.xxx.xxx.xxx]

需要在/etc/mail/access文件中加 Connect:ip RELAY,ip就是本机ip(或者用报错提示中的ip),并service sendmail restart服务

以上是关于sendmail报错Relaying denied的主要内容,如果未能解决你的问题,请参考以下文章