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的主要内容,如果未能解决你的问题,请参考以下文章

apache重启报错order takes one argument, ‘allow,deny‘, ‘deny,allow‘, or ‘mutual-failure‘

CentOS搭建apache,总是报错:(13)Permission denied: file permissions deny server access

thinkphp5出现mkdir() Permission denied报错解决办法

idea登录git报错 Access denied

[已解决]报错: airtest PermissionError: [Errno 13] Permission denied

git@gitee.com: Permission denied (publickey).报错解决