OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: selective filtering and policy application

From: m (mtelerama.com)
Date: Thu Jul 01 2004 - 20:02:05 CDT


> From: wietseporcupine.org (Wietse Venema)
> Date: Thu, 1 Jul 2004 20:34:43 -0400 (EDT)
> To: m <mtelerama.com>
> Cc: postfix-userscloud9.net
> Subject: Re: selective filtering and policy application
>
> m:
>> I'm running Postfix 2.1.4 (just upgraded) on FreeBSD 5.2.1 using
>> before-queue content filtering.
>>
>> I feel pretty strongly about before-queue filtering, as it prevents my
>> server from backscattering, in addition to making the bounces the sending
>> server's problem. It is called from master.cf (spampd/SpamAssassin).
>>
>> I also use SPF.
>>
>> I want to skip the content filter (only) when SPF validates that the sending
>> host is valid for the sender's domain.
>
> if (spf ok) {
> return "DUNNO";
> } else {
> return "FILTER foo:bar";
> }
>
> Wietse
>

1.) This will do before content filtering? i.e.: FILTER 127.0.0.1:10025? I
didn't this I could do that for before-queue filtering?

2.) Where would I use that code? I assume (perhaps wrongly) that I'd insert
it in the spf-policy.pl code?

Thanks for the help so far.

>> I've read all the docs, and haven't seen anything remotely like this. Any
>> ideas? Or am I doing something (a) not recommended or (b) impossible
>> without writing code?
>>
>> Mark J. Nernberg
>>
>>
>>
>
>
>