Matus UHLAR - fantomas via Postfix-users: > >>>>I never have the "X-Original-To:" header added to emails > >>>>received over port 25 sent to an alias. > >> > >>how do you deliver mail to mailboxes? > > On 12.11.24 02:42, postfix--- via Postfix-users wrote: > >LMTP to dovecot > > in this case dovecot should be responsible for adding the X-Original-To: > message when saving mail to mailbox.
Posttfix can be configured to do this. If you use the "lmtp" delivery agent for delivery to Dovecot: /etc/postfix/master.cf: lmtp .. .. .. .. .. ... lmtp flags=DORX /etc/postfix/main.cf: # Here "lmtp" is the name of the first field in master.cf. lmtp_destination_recipient_limit = 1 If you use the "pipe" delivery agent for delivery to Dovecot: /etc/postfix/master.cf: dovecot .. .. .. .. .. .. pipe flags=DORX ... /etc/postfix/main.cf: # Here "dovecot" is the name of the first field in master.cf. dovecot_destination_recipient_limit = 1 These should be a default Postfix settings. Wietse _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org