duanlvxi8652 2012-07-01 06:30
浏览 133
已采纳

PHP mail()转到垃圾,可能的DNS问题?

I am sending a message via PHP's mail() with proper and complete headers. It has everything it is supposed to, and Hotmail likes the email itself. However, Hotmail is showing this in the source of the message:

X-DKIM-Result: None
X-Message-Status: n:0:n
X-SID-Result: None
X-AUTH-Result: NONE

I tried to get them to Pass but only managed to turn the SID and AUTH to "Fail" causing SmartScreen to see the message as suspicious and delete it after ten days, whereas before it just seemed like spam to the filters.

If I am able to get these to Pass, then the email will not be marked as junk. I know there's something I need to do in DNS. I have Reverse DNS set up on the website.

The email includes boundaries, MIME version, content type, reply-to and return-path, x-mailer etc. The content type is multipart/alternative (for the boundaries) and the subject nor body does not contain any spammy keywords.

Anyone know how to get these things to Pass via PHP or DNS?

Bottom line: If these results are "None" then it will just go to Junk peacefully. If they are "Fail" then it will be "suspicious" and automatically deleted. If they are "Pass" then it will go straight to inbox without a problem, but I don't know how to get them to Pass.

If it helps in any way, I am running Exim 4.77 on a cPanel/WHM (Linux) VPS. My IP address is clean and hasn't been abused in the past. It isn't blocked at any blacklists.

  • 写回答

2条回答 默认 最新

  • duanci1939 2012-07-01 06:42
    关注

    Setup the SPF record in your DNS, can be a solution.

    EDIT

    Googling the message X-AUTH-Result: FAIL I found this post, that seem the same problem: https://serverfault.com/questions/138886/emails-going-to-junk-for-hotmail-recipients

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 完全没有学习过GAN,看了CSDN的一篇文章,里面有代码但是完全不知道如何操作
  • ¥15 使用ue5插件narrative时如何切换关卡也保存叙事任务记录
  • ¥20 软件测试决策法疑问求解答
  • ¥15 win11 23H2删除推荐的项目,支持注册表等
  • ¥15 matlab 用yalmip搭建模型,cplex求解,线性化处理的方法
  • ¥15 qt6.6.3 基于百度云的语音识别 不会改
  • ¥15 关于#目标检测#的问题:大概就是类似后台自动检测某下架商品的库存,在他监测到该商品上架并且可以购买的瞬间点击立即购买下单
  • ¥15 神经网络怎么把隐含层变量融合到损失函数中?
  • ¥15 lingo18勾选global solver求解使用的算法
  • ¥15 全部备份安卓app数据包括密码,可以复制到另一手机上运行