I would like to set the reply-to field to the sender of the mail if the recipient matches some addresses. I know I could do a regular expression like this to do this
/^(To|Cc):.*foo@bar.com/ PREPEND Reply-To: bla@example.com
But that would be static, is there a way to set the sender of the message?