I'm attempting to rewrite all source addresses from our server farm via
a canonical map.
What I want to see happen is that if the sender is, for instance
apa...@machinename.datacenter.example.com
I want it to rewrite it to:
mxm...@example.com
so that bounces can be routed accordingly via a custom handler.
/etc/postfix/canonical:
apache mxmail
loguser mxmail
@*\.datacenter\.example\.com @example\.com
# postconf -n canonical_maps
canonical_maps = pcre:/etc/postfix/canonical
What am I doing wrong here?
--
Corey "Jay" Chandler