Manu Zurm?hl: > Hi all, > > I am tasked to configure a customized bounce message. It is clear how to > reference variables that correspond to postfix settings, like $myhostname. > > I have not found a way how to add the message-id of the original > message. It should be added to the In-Reply-To: header.
http://www.postfix.org/postconf.5.html#enable_threaded_bounces enable_threaded_bounces (default: no) Enable non-delivery notifications (bounce messages) that link to the original message by including a References: and In-Reply-To: header with the original Message-ID value. There are advantages and disadvantages to consider. advantage This allows mail readers to present a non-delivery notification in the same email thread as the original message. disadvantage This makes it easy for users to mistakenly delete the whole email thread (all related messages), instead of deleting only the non-delivery notification. This feature is available in Postfix 3.6 and later. Wietse