Chris Dos:
> What would be the best way to add a "bounce+" to the beginning of
> every "Return-Path" address for outgoing e-mail?  I've been digging
> for two days and have not found a workable solution.

http://www.postfix.org/ADDRESS_REWRITING_README.html#canonical
http://www.postfix.org/postconf.5.html#sender_canonical_maps
http://www.postfix.org/canonical.5.html
http://www.postfix.org/pcre_table.5.html

e.g.,

/etc/postfix/main.cf:
     sender_canonical_maps = pcre:/etc/postfix/sender_canonical.pcre

/etc/postfix/sender_canonical.pcre:
     /^(myapplicat...@example\.com)$/ bounce+$1

But it would be more efficient if you could fix the mail sending
application so that it produces the right address to begin with.

        Wietse

Reply via email to