é possível desabilitar completamente o spamassassin usando o spamassassin user_prefs

1

Estou carregando o spamassassin user_prefs usando user_scores_* sql-functions.

Existem muitos usuários no meu sistema que não querem usar o Spamassassin. Existe uma opção para fazer isso?

Eu sei que eu poderia definir o required_score para algo realmente alto, mas a varredura seria um desperdício desnecessário de recursos, então

    
por Zulakis 27.05.2013 / 22:00

1 resposta

0

Bem, você poderia usar esse curto circuito:

whitelist_to [email protected]
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
    
por 28.05.2013 / 16:25