On Tue, May 27, 2014 at 11:36:46AM +0200, mancyb...@gmail.com wrote: > Hi Noel, thanks for your suggestion but unfortunately I've already been there.
And yet Noel is right. Transport overrides that direct mail to a script are NOT compatible with re-injection of the message back into the same Postfix queue by the script. This obviously leads to a loop, how could it not? Therefore, you must either use a FILTER (which works with re-injection provided that re-injection does activate the filter again, see FILTER_README), or else you MUST NOT re-inject the message back into the same queue. Since you've not explained what goals this particular script is intended to address, further help is difficult. So far, we're tackling this at the wrong layer, discussing your solution, rather than your problem. -- Viktor.