Because of a domain move we're doing, we're trying to add a reply-to header
in postfix when no reply-to header is already present. The rule we're using
is:

!/^Reply-To/ prepend Reply-To: "Support" <supp...@ourdomain.org>

However, since the check is being applied to each header line we get a bunch
of reply-to's prepended instead of just one. Is there a regex we can use to
say:

If no reply-to header exists anywhere in the headers
   then prepend one reply-to header

Thanks,
Todd
-- 
View this message in context: 
http://old.nabble.com/Adding-a-reply-to-header-when-none-is-present-tp30429730p30429730.html
Sent from the Postfix mailing list archive at Nabble.com.

Reply via email to