On Sat, Apr 04, 2009 at 06:16:33PM +0200, Robert Schetterer wrote: > havening them in hold is a nice option > but i am thinking of a script > getting them out of hold and store > in the filesystem and clean up hold
Here's my suggestion: - Create a second Postfix instance in the same file-system. - Run a cron job to move (rename(2)) messages from the HOLD queue of the main instance into the deferred queue of the second instance, carefully respecting the hash_depth of each directory. - In the second instance, deliver all mail via a suitable daemonized SMTP server or via pipe(8) script. The daemon or script will be the entry point into a quarantine system that eventualy expires unclaimed mail, generates reports and allows other administrative or user actions as you see fit. This means that "FILTER transport:nexthop" is perhaps a better choice than "HOLD", but milters may not be able to express this action... I am not aware of an open-source quarantine add-on for Postfix. -- Viktor. Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the "Reply-To" header. To unsubscribe from the postfix-users list, visit http://www.postfix.org/lists.html or click the link below: <mailto:majord...@postfix.org?body=unsubscribe%20postfix-users> If my response solves your problem, the best way to thank me is to not send an "it worked, thanks" follow-up. If you must respond, please put "It worked, thanks" in the "Subject" so I can delete these quickly.