SendMail的"Relaying denied. IP name lookup failed问题的解决方法
在服务器配置了sendmail用于接收邮件服务。并且配置了dovecot用于支持客户端,而且使用了procmail用于自动回复。
症状
用客户端(foxmail)连接服务器,进行smtp发邮件,结果提示 Relaying denied. IP name lookup failed ...提示的ip是本机ip。
问题查找
由于procmail能够正常回复邮件,所以sendmail出问题的可能性不大。问题在于为什么本机ip会被禁止。
解决问题
修改access文件,将本机ip加入后,问题解决!
具体方法
/etc/mail/access
加入
xxx.xxx.xxx.xxx RELAY
您可能感兴趣的文章:
SendMail的"Relaying denied. IP name lookup failed问题的解决方法
php报错Permission denied的解决一法
php include提示failed to open stream: Permission denied in错误
php 实现dns域名查询的方法详解(图文)
php提示 Warning: touch() [function.touch]: Utime failed: Permission denied in错误
邮件常见错误代码收集
mysql Access denied for user 'root'@'localhost' 问题的解决方法
mysql报错:“Access denied for user 'root'@'localhost'”的解决方法
解决:failed to open stream: No such file or directory in
Failed to access IIS metabase 错误的解决方法