- Dhaval Patel via dovecot <dovecot@dovecot.org>:
Thanks. I tried that route, but Postfix only writes X-Original-To in its own final-delivery agents (local, virtual, pipe); the lmtp client doesn't add it. Of 18 messages delivered over LMTP in the last day, 17 have no X-Original-To, and the one that does carries lists-debian-security-announce@bendel.debian.org, inserted by Debian's list server upstream.
By default, the Postfix SMTP+LMTP client delivers mail to multiple recipients per delivery request. This is undesirable when prepending a Delivered-to: or X-Original-To: message header. To prevent Postfix from sending multiple recipients per delivery request, specify transport_destination_recipient_limit = 1 in the Postfix main.cf file, where transport is the name in the first column of the Postfix master.cf entry for this mail delivery service.
(most likely "lmtp"...)
-- Ralf Hildebrandt Geschäftsbereich IT | Abteilung Netz | Netzwerk-Administration Invalidenstraße 120/121 | D-10115 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt@charite.de | https://www.charite.de