On Fri, Mar 06, 2009 at 10:11:24AM -0600, Noel Jones wrote: > /^Received: .* (myhostname \(Postfix\) with ESTMPS?A .*)$/ > REPLACE X-Submitted to $1 > That way you at least keep the original QUEUEID.
Probably want a ":" in there to make it a valid header: header_checks.pcre: if /^Received:/ /\n\tby (smtp\.example\.com \(Postfix\) with ESTMPS?A id \w+)/ REPLACE X-Submitted: to $1 endif -- 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.