我试图告诉 SpamAssassin (vX) 不要测试特定域的 DNSBL,但我在 local.cf 文件中找不到正确的值。
我尝试了以下方法:
trusted_networks mydomain.com # I believe it's only IPs, but I tested nonetheless
whitelist_from mydomain.com
whitelist_from_rcvd mydomain.com
dns_query_restriction deny mydomain.com
我尝试了所有这些方法,但尽管如此,在运行测试时,我仍然得到以下结果:
$> spamassassin -t -D < myemail.eml
...
Apr 22 09:26:26.094 [2129173] dbg: async: timing: 0.029 . askdns:A:mydomain.com.lookup.dkimwl.org
...
Apr 22 09:26:26.096 [2129173] dbg: async: timing: 0.049 . DNSBL:mydomain.com:dbl.spamhaus.org
Apr 22 09:26:26.096 [2129173] dbg: async: timing: 0.049 . DNSBL:mydomain.com:bl.score.senderscore.com
...
Apr 22 09:26:26.097 [2129173] dbg: async: timing: 0.062 . DNSBL:mydomain.com:multi.uribl.com
...
Apr 22 09:26:26.097 [2129173] dbg: async: timing: 0.094 . DNSBL:mydomain.com:sa-accredit.habeas.com
Apr 22 09:26:26.097 [2129173] dbg: async: timing: 0.096 . DNSBL:mydomain.com:sa-trusted.bondedsender.org
...
Apr 22 09:26:26.097 [2129173] dbg: async: timing: 0.106 . DNSBL:mydomain.com:multi.surbl.org
...
Apr 22 09:26:26.098 [2129173] dbg: async: timing: 0.281 . DNSBL:mydomain.com:dob.sibl.support-intelligence.net
...
我可以为 SA 设置什么参数来告诉它永远不要对给定的域进行 DNS 查询?