Op 9-10-2026 om 22:29 schreef Dhaval Patel via dovecot:
If there's an existing way to get this that I've missed, I'd be glad to hear it.


https://doc.dovecot.org/2.4.5/core/summaries/settings.html#lda_original_recipient_header:

lda_original_recipient_header

    The header from which the original recipient address (used in the SMTP RCPT TO: address) is obtained if that address is not available elsewhere.

    With LDA the default is based on the username in -d parameter. With LMTP Server the default is the same as RCPT TO.

    Example:

    lda_original_recipient_header = X-Original-To



https://www.postfix.org/postconf.5.html:

enable_original_recipient (default: yes)

    Enable support for the original recipient address after an address is rewritten to a different address (for example with aliasing or with canonical mapping).

    The original recipient address is used as follows:

    Final delivery
        With "enable_original_recipient = yes", the original recipient address is stored in the X-Original-To message header. This header may be used to distinguish between different recipients that share the same mailbox.

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to