Daniele, If you include mailing list, in general "The To: header does not represent the recipient of a message.". Now, we only need to consider the simple example below because the messages related to mailing lists do not hit our outbound Postfix servers.
From: [email protected] To: [email protected] (is forwarded to [email protected]) The email is sent from [email protected] to [email protected], entering osu email system. OSU email system checks the account [email protected] is a forwarding account to [email protected] and gets forwarding address [email protected]. It hands over the message to outbound Postfix server. From postfix email log, we can see the "from address" is [email protected], "to address" is [email protected], but do not see the original receiving address [email protected]. The Postfix is only responsible for outbound email delivery to next hop for [email protected], it is not responsible for the translation from "original to address" [email protected] to "forwarding address" [email protected]. When the message is finally delivered to [email protected], we can see the following key information in the header. Thanks, Carl -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Daniele Nicolodi Sent: Tuesday, August 05, 2014 4:41 PM To: [email protected] Subject: Re: How to fetch From address from header via Postfix head_check? On 05/08/2014 22:30, Xie, Wei wrote: > 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? No. Look at this same message. I recommend you to document yourself a bit before trying to solve problems in the email delivery busyness, it is a tricky one. Cheers, D
