On 27-01-2021 18:48, Viktor Dukhovni wrote:


Can you more precise in your description, perhaps with a hypothetical
example specifying precisely the form of the input message envelope
and headers and the desired output values of the same.

to be the same as the existing "Reply-To" address from the message.

Messages are not required to have "Reply-To", are you looking to modify
other message headers conditional on "Reply-To" being present?

In my case it is safe to assume that all mail from this user (www user) will always have "Reply-To" as they are generated by the program Request Tracker which always includes this header. If it were an issue I guess before the rewrite I could add a reply-to header if it doesn't already exist? So in a typical message header we might have:

From: "WWW" <[email protected]>
Reply-To: [email protected]

And I want to rewrite [email protected] with [email protected]. The reply-to value is variable, the from field is static.


There is no equivalent feature built-in to Postfix.  If you want to
modify a message based on the value of the "Reply-To:" or else "From:"
address of a message, you'd need a content_filter or milter.

If we assume that reply-to exists does that make this easier?


thanks for your reply! Andy.

Reply via email to