dtwk6019 2016-12-03 15:25
浏览 603
已采纳

检测DKIM和DMARC设置

I am trying to build a tool to check for the presence of DKIM and DMARC for a particular domain. The issue with detecting DKIM is that I cannot check the TXT record of the domain because the DKIM selector is unknown to me as this is a query that will be run without recipient of an email from that sender. I also cannot find useful information on grabbing DMARC policies via PHP either. I've been trying the last two days and all I've managed to nail is an SPF check.

Any help provided would be appreciated!

  • 写回答

1条回答 默认 最新

  • dream543211 2016-12-04 22:34
    关注

    As you said you're not going to be able to grab the DKIM record, because you won't know what the selector is, unless you have a signed email from that domain.

    However, the DMARC check is just like the SPF Check. You're looking for a TXT record under _dmarc.exampledomain.com that starts with v=DMARC1

    When you do SPF you're looking for a TXT record under EXAMPLEDOMAIN.COM that starts with v=spf1, It's pretty much the same the same you just need to add the _dmarc. in from of the domain name before you do the lookup.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#java#的问题:找一份能快速看完mooc视频的代码
  • ¥15 这种微信登录授权 谁可以做啊
  • ¥15 请问我该如何添加自己的数据去运行蚁群算法代码
  • ¥20 用HslCommunication 连接欧姆龙 plc有时会连接失败。报异常为“未知错误”
  • ¥15 网络设备配置与管理这个该怎么弄
  • ¥20 机器学习能否像多层线性模型一样处理嵌套数据
  • ¥20 西门子S7-Graph,S7-300,梯形图
  • ¥50 用易语言http 访问不了网页
  • ¥50 safari浏览器fetch提交数据后数据丢失问题
  • ¥15 matlab不知道怎么改,求解答!!