[PLUG] postfix + spamassassin
Rob Hudson
rob at euglug.net
Tue May 21 05:03:22 UTC 2002
Reply to self:
Postfix does do header checks _after_ spamassassin filtering. I added
the following header check:
/^X-Spam-Flag: YES/ REJECT
And it rejects e-mails with that header, which spamassassin adds if it
attains the required hits (points).
-Rob
On Mon, 2002-05-20 at 09:58, Rob Hudson wrote:
> I got spamassassin working on Postfix (using the spamd/spamc combo).
> It works well. For now, I'm only adding the words [SPAM] to the
> subject, so I can filter it at my email client.
>
> If later I just want to drop all those emails, or even reject them,
> does anyone know if the filter comes before the header_checks?
>
> My thought was to add a header_check for /^Subject: [SPAM]/ or one of
> the spam headers.
>
> Or does spamassassin have another way to just reject the mails marked
> as spam?
>
> Thanks,
> Rob
More information about the PLUG
mailing list