On 4/14/05, Steve Burrows <[EMAIL PROTECTED]> wrote:
> Matt,
> 
> The way I do it is in the Postfix Canonical table, where I translate
> olddomainname into newdomainname for all mail.
> 
> The syntax is
> 
> @olddomainname       @newdomainname
> 
> Then you just do a postmap canonical and a postfix reload. I do it for
> several domains, you can also do individual users so you can make it
> work like a conventional aliases files:
> 
> for instance:
> 
> [EMAIL PROTECTED]        [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL 
> PROTECTED]
> 
> The point about using canonical is that you have to understand the
> filtering order in Postfix, some of the traditional mechanisms, such as
> aliases, never get used in a conventional dbMail setup because they come
> into effect _after_ the transport is implemented, so you can go changing
> settings in Postfix which never work because Postfix has already passed
> the mail on to dbMail. Canonical gets processed very early.
> 
> HTH
> 
> Steve
> 
> 

>From my understanding of using the canonical table, the domains would
actually be rewritten in the e-mail.  Is there a way to avoid this
from happening? or do I need to find another mechanisim to accomplish
this?

Thanks for the help

Reply via email to