Hi all!

Thanks to Wietse for Postfix, I still love the wrappers…

Let me first quote to a past (7 years ago) subject, where I found the one and 
only explanation for a problem I'm encouting :

>> I am running majordomo with postfix for a number of email list, and I
>> have some trouble tracking down bounces. I thought that if I could have some 
>> customized Received: headers with the envelope receiver logged
>> eg by "for <user>" then I would be able to track some mutating adressees.
>> Seems like some postfixes do that, but mine does not.
>> I could not find something on it in the documentation or via google.
>
> Postfix logs "Received..for <recipient>" only if there is exactly
> one recipient.  Otherwise there would be a privacy violation of
> BCC recipients, including the addresses of mailing list members.

I use the "for <myrecipient>" information to deliver the messages in the right 
folder of a catch-many adresses mailbox.

In case the <myrecipient> address is in BCC, and the main recipient is not 
managed by my MTA (aka not in mydestination), there's no problem : the cleanup 
process calls back the complete Received header and I get what I need in the 
mail delivered to my catch-many adresses mailbox.  NB: there's no mention of 
<myrecipient> in the message received by the main recipient.

But if the main recipient's domain is managed by postfix, the <myrecipient> 
address still in BCC, the Received header called back by the cleanup process is 
truncated.  And now I know why !


So here's my question : Why can't I get no mention of <myrecipient> in the 
message received by the main recipient (as in the first case) in the second 
case ?
And , if there's no way to get it, is there any way I can split the message in 
two ?


I already spent a few hours tracing the problem, playing with 'cleanup -v' and 
filtering the logs, I'd be happy trying any suggested method…
Thanks!

-- 
Olivier Le Monnier — ☎ 023156.6209 
Pôle Infrastructures — SysAdmin Linux 
Direction du Système d'Information 
Université de Caen Normandie

Reply via email to