help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Spam despite spam header


From: William G. Gardella
Subject: Re: Spam despite spam header
Date: Sat, 14 Dec 2013 21:14:59 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Emanuel Berg <embe8573@student.uu.se> writes:

> I have for some reason been getting spam lately, even
> though the headers contain information it is spam. If
> the below metadata indicates it is spam (as I think it
> does), how do I tell Gnus *not* to put those messages
> in my mail.misc group?
>
>> X-Spam-Flag: YES
>> X-Spam-Score: 5.952
>> X-Spam-Level: *****
>> X-Spam-Status: Yes, score=5.952 tagged_above=-9999 required=5
>>      tests=[BAYES_50=0.8, HTML_IMAGE_ONLY_16=1.092, HTML_MESSAGE=0.001,
>>      MIME_HTML_ONLY=0.723, RCVD_IN_PBL=3.335, UNPARSEABLE_RELAY=0.001]
>>      autolearn=no

If you use `nnmail-split-methods' to split incoming mail, you could add
a rule such as '("spam" "^X-Spam-Flag: YES") to send spam to the
"spam" group, and make this group auto-expireable.  This is a sensible
thing to do if you or your mail provider uses a spam filter like
SpamAssassin that appends headers like the ones below.  Gnus can also be
configured to *teach* an external tool like spamassassin in the event it
misses something, but that's a bit more complicated (but see, e.g.,
(info "(gnus) SpamAssassin")).

--
Best,
WGG




reply via email to

[Prev in Thread] Current Thread [Next in Thread]