Victor Duchovni wrote:
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


Yes, thanks.

  -- Noel Jones

Reply via email to