On Fri, Apr 30, 2010 at 05:54:29PM +0530, Agnello George wrote:

> Received: from exampledomain.com (unknown [124.152.35.201])
>  (Authenticated sender: re...@olvy.com)
>  by somedom.domain.com(Postfix) with ESMTPA id 9686C5D870E
>  for <mar...@hotmail.com>; Tue, 27 Apr 2010 18:41:25 +0530 (IST)
>
> Is there  way to customize the authenticated_header for example instead of
> " (Authenticated sender: re...@olvy.com)"
> we require  -->   " ( mm-Authenticated-User: re...@olvy.com) "
> I heard is i possible via header checks .. but apart from that is it
> possible

Yes, it is possible via header_checks. Here's the PCRE:

    /^(Received:.*?\n\t\()Authenticated sender: (\S+?)(\)\n(?:.*?\n)*?\tby 
your-server\.example\.com \(Postfix\) with ESMPS?A .*)/ REPLACE ${1} 
mm-Authenticated-User: ${2}${3}

which matches just the Received headers added by
"your-server.example.com", and performs the necessary replacement. It
is better to just improve your parser.

-- 
        Viktor.

P.S. Morgan Stanley is looking for a New York City based, Senior Unix
system/email administrator to architect and sustain our perimeter email
environment.  If you are interested, please drop me a note.

Reply via email to