On 6-Jan-2009, at 15:39, Gerald Turner wrote:
Unfortunately Postfix header_checks can only process one header at a
time, there's no way to compound conditions of multiple headers.  I've
searched and can't seem to come up with any possibility of configuring
Postfix to conditionally discard rather than bounce.  I'm on the verge
of customizing an example Perl milter to do the job, but it seems like
something that should be built-in to either Postfix, spampd, or perhaps
amavisd-new - any suggestions?


Can't you rewrite a header based on conditions?

That is, check for spam score of 4-8, and if true, then write a header

X-myexample-test: True

Then test for, say, mailing list header and if found, rewrite x- myexample-test to

X-myexample-test: True, Maillist

The other thing you could do is setup a separate submission port for tested messages? Or a policy server?

--
Not that I condone fascism, or any -ism for that matter. -Ism's in
        my opinion are not good. A person should not believe in an
        -ism, he should believe in himself. I quote John Lennon, "I
        don't believe in The Beatles, I just believe in me." Good point
        there. After all, he was The Walrus. I could be The Walrus and
        I'd still have to bum rides off of people.

Reply via email to