Hi,

I have a webapp that hands email messages to the local Postfix. One of the
requirement is that I need to hold all (client specific) messages for a day
before delivery.

I created the following rule in header_checks:

/^Subject:.*KEYWORD/      HOLD

I have a script that runs every 5 mins that scans the mailq, evaluates the Q
time then triggers 

postsuper -r MSGID

It seems like once the message is released it will go through header
checking AGAIN. Therefore it will NEVER leave the queue.

Is there any other easy way to accomplish this?

Thanks for the help!!

Eric
-- 
View this message in context: 
http://old.nabble.com/Postfix-header_checks-and-HOLD-queue-tp26178394p26178394.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to