On Fri, 6 Mar 2009, Noel Jones wrote:
Victor Duchovni wrote:
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.

I extrapolated from this, and got something that works perfectly - thanks so much!

if /^Received:/
/.*by (hostname \(Postfix\) with ESMTPS?A).*/
        REPLACE X-Submitted: to $1
endif

My servers do additional processing, and add received headers after this, so no issues with spam filters (as mentioned later in this thread.)

Appreciate the help!

Reply via email to