On Tue, 27 May 2014 13:02:20 +0000 Viktor Dukhovni <postfix-us...@dukhovni.org> wrote:
> 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. Hi I've explained my goal here: http://marc.info/?l=postfix-users&m=139932881701528&w=2 then here: http://marc.info/?l=postfix-users&m=140015047902115&w=2 and here: http://marc.info/?l=postfix-users&m=140110327807685&w=2 also suppliying code. Anyway I've 'fixed' the problem by using another email to catch those errors and adding a 'reply-to' header. Thanks and regards, Mike