You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Forrest Aldrich <fo...@forrie.com> on 2006/04/13 18:02:33 UTC
Proper use of user_prefs "whitelist"
I've been having some difficulty with the user_prefs and the whitelist_*
fucntions. I read the examples etc, and I believe these are correct,
but clearly certain email is still being tagged (see below). I wonder
if someone can help clarify what I'm doing wrong here.
First, here are the directives in my ~/.spamassassin/user_prefs file, as
it applies to this instance:
whitelist_from_rcvd spamassassin.apache.org hermes.apache.org
whitelist_from *.apache.org
Here is the Sendmail log, showing the rejection:
Apr 13 11:52:24 mail sm-mta[34951]: k3DFqNBR034951:
from=<us...@spamassassin.apache.org>,
size=17514, class=-60, nrcpts=1, msgid=<20...@zmi.at>,
proto=SMTP, daemon=MTA, relay=hermes.apache.org [209.237.227.199]
Apr 13 11:52:26 mail sm-mta[34951]: k3DFqNBR034951: Milter add:
header: X-Spam-Flag: YES
Apr 13 11:52:26 mail sm-mta[34951]: k3DFqNBR034951: Milter add:
header: X-Spam-Status: Yes, score=9.0 required=5.0
tests=HTML_00_10,HTML_MESSAGE,\n\tJ_CHICKENPOX_12,J_CHICKENPOX_33,RCVD_IN_SORBS,SARE_BIZOP,\n\tSARE_COLLEGE_SCAM,TVD_FUZZY_DEGREE
autolearn=no version=3.1.1
Apr 13 11:52:26 mail sm-mta[34951]: k3DFqNBR034951: Milter: data,
reject=550 5.7.1 Blocked by SpamAssassin
Apr 13 11:52:26 mail sm-mta[34951]: k3DFqNBR034951:
to=<fo...@forrie.com>, delay=00:00:02, pri=155514, stat=Blocked by
SpamAssassin
Thanks in advance....
Re: Proper use of user_prefs "whitelist"
Posted by Matt Kettler <mk...@evi-inc.com>.
Daryl C. W. O'Shea wrote:
>
> Your whitelist entries don't match
> "users-return-40212-forrie=forrie.com@spamassassin.apache.org".
>
>
> This should work (note the *@):
> whitelist_from_rcvd *@spamassassin.apache.org hermes.apache.org
>
>
> This would work, but would be trivially forged:
> whitelist_from *@spamassassin.apache.org
>
If you use the SPF plugin, another, very simple, way would be:
whitelist_from_spf *@spamassassin.apache.org
Works great here.
I'd also suggest:
bayes_ignore_to users@spamassassin.apache.org
bayes_ignore_to spamassassin-users@incubator.apache.org
bayes_ignore_from *@spamassassin.apache.org
To inhibit any bayes autolearning of list posts.
Re: Proper use of user_prefs "whitelist"
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Forrest Aldrich wrote:
> I've been having some difficulty with the user_prefs and the whitelist_*
> fucntions. I read the examples etc, and I believe these are correct,
> but clearly certain email is still being tagged (see below). I wonder
> if someone can help clarify what I'm doing wrong here.
>
> First, here are the directives in my ~/.spamassassin/user_prefs file, as
> it applies to this instance:
>
> whitelist_from_rcvd spamassassin.apache.org hermes.apache.org
>
> whitelist_from *.apache.org
> Here is the Sendmail log, showing the rejection:
>
> Apr 13 11:52:24 mail sm-mta[34951]: k3DFqNBR034951:
> from=<us...@spamassassin.apache.org>,
Your whitelist entries don't match
"users-return-40212-forrie=forrie.com@spamassassin.apache.org".
This should work (note the *@):
whitelist_from_rcvd *@spamassassin.apache.org hermes.apache.org
This would work, but would be trivially forged:
whitelist_from *@spamassassin.apache.org
Daryl