gpt4 book ai didi

linux - 如何在邮件进入 spamassassin 之前将收件人列入白名单?

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:09:46 24 4
gpt4 key购买 nike

我一直在到处寻找解决方案,但没有找到。

我需要的是将一些收件人地址列入白名单,这样他们就不会进入 spamassassin 过滤。

在后缀的 master.cf 中我有这个:

spamassassin unix -     n       n       -       -       pipe
user=spamd argv=/usr/bin/spamc -f -e
/usr/sbin/sendmail -oi -f ${sender} ${recipient}

提前致谢。

最佳答案

来自 https://spamassassin.apache.org/full/3.4.x/doc/Mail_SpamAssassin_Conf.html

whitelist_to user@example.com

If the given address appears as a recipient in the message headers (Resent-To, To, Cc, obvious envelope recipient, etc.) the mail will be whitelisted. Useful if you're deploying SpamAssassin system-wide, and don't want some users to have their mail filtered. Same format as whitelist_from.

There are three levels of To-whitelisting, whitelist_to, more_spam_to and all_spam_to. Users in the first level may still get some spammish mails blocked, but users in all_spam_to should never get mail blocked.

The headers checked for whitelist addresses are as follows: if Resent-To or Resent-Cc are set, use those; otherwise check all addresses taken from the following set of headers:

    To
Cc
Apparently-To
Delivered-To
Envelope-Recipients
Apparently-Resent-To
X-Envelope-To
Envelope-To
X-Delivered-To
X-Original-To
X-Rcpt-To
X-Real-To

关于linux - 如何在邮件进入 spamassassin 之前将收件人列入白名单?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29385365/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com