我有一个WHM服务器,上面有几个PHP脚本,可以发送电子邮件。它以前一直起作用直到最近。现在,它似乎已经停止从这些脚本发送电子邮件了。
既然我知道脚本本身没有问题,我该如何调试它们为什么不再被发送?
到目前为止,我知道的是:
有什么想法吗?
WHM 60 Build 35,CentOS 6
发布于 2017-02-01 13:03:57
请试着按照下面的说明来帮助你解决你的电子邮件问题:
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很可能您的电子邮件在服务器的邮件队列中,并且由于某种原因它们没有被发送。
https://stackoverflow.com/questions/41960624
复制相似问题