From: Paul Gardiner (no email)
Date: Sat Dec 04 2004 - 07:16:04 EST
From: "Paul Gardiner" <>
>> From: "Ean Kingston" <>
>> Out of curiosity, what exactly are you trying to use to bypass on?
>
> I'm intending to introduce a "before queue" spam filter (probably using spampd).
> I want to reject the spam using the header_checks facility (assuming that the reject
> will work its way back through postfix, without turning into a bounce, which it
> looks as though it will). But I have some email coming in via fetchmail, and I
> don't want to reject that, because it will just mount up on my ISP's POP server.
> I'm happy to have that come in and keep it in separate mail boxes.
In case it helps someone else, I now have a quite nice way to do this. Before
queue filtering usually looks like this:
==(*:25)=> smtpd ==(localhost:10025)=> spampd ==(localhost:10026)=> smtpd
But you can, alternatively set it up like
==(host:25)=> smtpd ==(localhost:10025)=> spampd ==(localhost:25)=> smtpd
That way anything from localhost skips the spam filter, and although the header
checks still happen, there's no "X-Spam-Flag" to find. The email
coming in via fetchmail can then be spam filtered later in the system via
procmail, so spam I am not able to reject via smtp, I can have put
in a Spam folder. False positives will either be rejected or kept.
Cheers,
Paul.
|
|
|