info-gnus-english
[Top][All Lists]
Advanced

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

Re: Spam despite spam header


From: Peter Münster
Subject: Re: Spam despite spam header
Date: Thu, 12 Dec 2013 10:22:57 +0100
User-agent: Gnus/5.130008 (真 Gnus v0.8) Emacs/24.3.50 (gnu/linux)

On Thu, Dec 12 2013, Dmitrii Kashin wrote:

> I would like to know how you solved the problems with speed described
> above.

With procmail:

--8<---------------cut here---------------start------------->8---
:0fw
* < 300000
| spamassassin

:0
* ^X-Spam-Flag: YES
* !^Subject:.*no-spam
{
        :0 ch
        | (formail -r -t -A"From: $NOREPLY" \
        -A"Content-Type: text/plain; charset=utf-8"; \
        cat $SPAMMSG $SIG) | $SENDMAIL -r $NOREPLY -t

        :0:
        spam.spool
}
--8<---------------cut here---------------end--------------->8---

And this is the content of my $SPAMMSG:

--8<---------------cut here---------------start------------->8---
Your message has been rejected and won't be read, because it appears
to be spam. If this is not the case, please append `no-spam' to the
beginning of the subject field and send again.
--8<---------------cut here---------------end--------------->8---

-- 
           Peter




reply via email to

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