LuKreme <krem...@kreme.com> writes:

> 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?
>

Not with header_checks (http://www.postfix.org/header_checks.5.html),
although there is a REPLACE action, it still couldn't operate on a
combination of headers.

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

Yeah, that's kind of what I'm thinking with writing a hacked up Perl
milter.

Thanks.

-- 
Gerald Turner  Email: gtur...@unzane.com  JID: gtur...@jabber.unzane.com
GPG: 0xFA8CD6D5  21D9 B2E8 7FE7 F19E 5F7D  4D0C 3FA0 810F FA8C D6D5

Reply via email to