Daniele, >> The To: header does not represent the recipient of a message.
My understanding is "To: header" ([email protected]) represents original recipient of a message, right? Thanks, Carl -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniele Nicolodi Sent: Tuesday, August 05, 2014 4:21 PM To: [email protected] Subject: Re: How to fetch From address from header via Postfix head_check? On 05/08/2014 22:18, Xie, Wei wrote: > For example, > > From: [email protected] > To: [email protected] (is forwarded to [email protected]) > > In header_checks, I use the rule " /^To: (.*)/ PREPEND Resent-From: > $1" to extract original recipient [email protected] from the header of > test emails and add one line "Resent-From: [email protected]" into the > header of test messages. The To: header does not represent the recipient of a message. Cheers, Daniele
