> > I was thinking of doing this with an after-queue content filter, which
> > uses pipe(8) to run a script on each message, and the script itself
> > will spawn "postsuper -h <queue_id>" if it decides to put the message
> > on hold.
>
> No this is wrong. Just tag the message, and put appropriate header_checks
> in the post-filter Postfix smtpd+cleanup.
>

Viktor, thanks for the advice. Would this mean that I need to implement a
server with a SMTP interface to act as a proxy? Currently I just have a
script that makes a decision, so ideally I'm trying to keep it simple.

Also, ideally I would like this to be totally transparent, so adding header
tags is undesirable.

Sorry for the odd requirement, I'm sure it can be done but I don't quite
understand how it all fits together.

Thanks.

Reply via email to