SpamAssassin 中的白名单服务器

SpamAssassin 中的白名单服务器

是否可以在 SpamAssassin 白名单中添加具有各种子域的服务器,例如 *.example.com?

这是带有子域的主机实例:

[email protected] hm1480-p-60.example.com [IP-ADDRES-1]
[email protected] mail28157.hm1315.example.com [IP-ADDRESS-2]
[email protected] mail926.hm1479.example.com [IP-ADDRESS-3]

我在 SpamAssassin 文档中查找了信息,但它只告诉了如何阻止服务器和发件人域。

https://spamassassin.apache.org/full/3.2.x/doc/Mail_SpamAssassin_Conf.html#whitelist_and_blacklist_options

答案1

如果你想将中继发送的消息的某些发件人地址列入白名单示例.com域名或任何子域名示例.com使用以下语法:

whitelist_from_rcvd [email protected] example.com
whitelist_from_rcvd [email protected] example.com
whitelist_from_rcvd [email protected] example.com

相关内容