I have a content filter running in prequeue mode to which postfix talks
Runs fine, but ;-) it seems to me that postfix header checks are
evaluated after the msg has been processed by the content filter.
Is it somehow possible to tell postfix to run those checks **before**
msg is passed to the content filter?
Am 09.11.2017 um 19:00 schrieb Viktor Dukhovni:
> Best to call that a "proxy filter" to avoid confusion.
okay I see so I have a proxy filter then. As I want to be able to reject
msg by my proxy filter I need the pre-queue approach.
> Only by using a content filter.
and content filter it this case means post-queue filter?
Background is that my header checks should match headers (ex marked
already as spam by sending server) of messages which I do not want to
feed to my proxy filter. As processing msg via my proxy filter invokes 3
av-scanners, spamassassin and several other plugins of that filter
software. Much work for a message that after proxy filter will be
rejected by postfix header checks anyway :-)
So if I got you right: it's not possible to run header checks before