Keld Simonsen: > Hi > > 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. > is there a way to customize the "received:" header? That would be a mistake with multi-recipient mail. > Are there other best practices for tracking down bounces for majordomo > with postfix? Maybe having separate message ids per individual recepient? It's trivial with MTAs that implement standardized RFC 3462 style delivery status notifications. That's Postfix, Sendmail, and many other systems. With non-standard MTAs such as exim and qmail, it takes a bit of creative scripting. Another approach is to use VERP which sends one message per recipient and encodes the recipent in the bounce address. See http://www.postfix.org/VERP_README.html Wietse