|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Brian Evans - Postfix List (grknight
scent-team.com)
Date: Thu Nov 05 2009 - 15:38:11 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
waltari2001 wrote:
> 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?
>
Suggestion:
Look at the postsuper manual again and focus on the -H parameter.
This assumes (maximal|bounce)_queue_lifetime is set much further than
the HOLD time.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]