9 Feb
2009
9 Feb
'09
11:06 p.m.
On Mon, Feb 09, 2009 at 09:32:43PM +0100, Reto Glauser wrote:
The above is working when the "Delivered-To" line is being removed, and my question is if this can't be done automatically?
You can avoid generating a Delivered-To header in the first place by removing "D" from the "flags=..." part of the Postfix master.cf entry for Dovecot. This will, of course, disable this loop avoidance mechanism for all messages.
If you don't want this, you'll have to teach the script that reinjects the message to remove the header.