|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Corey Chandler (lists
sequestered.net)
Date: Mon Dec 15 2008 - 13:54:27 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Victor Duchovni wrote:
> On Fri, Dec 12, 2008 at 11:07:15AM -0800, Corey Chandler wrote:
>
>
>> I'm attempting to rewrite all source addresses from our server farm via
>> a canonical map.
>>
>
> Use smtp_generic_maps for this. Not canonical_maps. Upgrade to a Postfix
> that supports this feature if necessary.
>
> http://www.postfix.org/postconf.5.html#smtp_generic_maps
>
>
>
I've read through the documentation, and I'm still not quite clear on
how to do a wildcard domain remap via generic to remap an entire domain:
/^
host.example.com/
example.com
fails in a postmap query, as do a few variations on the above pcre
expression...
The ultimate goal is to remap ANYUSER
host.example.com to
ANYUSER
example.com.
--
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]