首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >WHM调试邮件发送问题

WHM调试邮件发送问题
EN

Stack Overflow用户
提问于 2017-01-31 14:54:22
回答 1查看 1.5K关注 0票数 0

我有一个WHM服务器,上面有几个PHP脚本,可以发送电子邮件。它以前一直起作用直到最近。现在,它似乎已经停止从这些脚本发送电子邮件了。

既然我知道脚本本身没有问题,我该如何调试它们为什么不再被发送?

到目前为止,我知道的是:

  1. PHP脚本应该很好,没有什么变化
  2. 服务器不会出现在任何垃圾邮件黑名单上。
  3. 测试电子邮件脚本不会生成任何错误,WHM队列中也没有挂起任何内容。
  4. gmail帐户(常规的或垃圾邮件框)中没有显示应该发送的内容。

有什么想法吗?

WHM 60 Build 35,CentOS 6

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-02-01 13:03:57

请试着按照下面的说明来帮助你解决你的电子邮件问题:

代码语言:javascript
复制
1) - check if you server has a valid hostname like host.domain.tld and that hostname actually points to the server's ip address
2) - check if you have rDNS setup correctly for your server's ip address and the reverse DNS should match the hostname
3) - Use Mail Queue Manager from WHM (in the left search in WHM got o Email -> Mail Queue Manager) and see if there are any emails in the mail queue there
4) - Use Mail Troubleshooter from WHM ( Email -> Mail Troubleshooter) and see what happens when you try to send an email to a gmail address
5) - You could check the Exim server logs by logging in via ssh and do a tail -f /var/log/exim_mainlog

很可能您的电子邮件在服务器的邮件队列中,并且由于某种原因它们没有被发送。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/41960624

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档