2 msgDeliver mail using my ISP server
3 msgHow can I avoid mime 8-bit errors in incoming e...
3 msgnon standard .forward location
2 msgCannot send mail from command line

Address rewriting - converting an old domain to...
\ Anna Hegedus (15 May 2007)
. \ Noel Jones (15 May 2007)

4 msgEmail routing like MX functionality
4 msg3rd party spam filter and virtual users
2 msgI don't understand how does postfix work with a...
2 msgSanitize 'Undelivered Mail Returned to Sender'
5 msgSuggestion
3 msgVirtual alias query question
4 msgHow to force Postfix to rewrite (or masquerade)...
4 msgUnknown error
9 msgTrouble with mailbox_transport=error:foo
1 msgper domain reporting ?
7 msgmake error
1 msgpostfix + procmail delivery
3 msgWhere's snapshot -20070511?
1 msgtlsmgr on solaris9
6 msgsasl problem
Subject:Re: Address rewriting - converting an old domain to a new domain.
Group:Postfix-users
From:Noel Jones
Date:15 May 2007


 
At 11:46 AM 5/15/2007, Anna Hegedus wrote:
>Hello everyone,
>
>I was trying to figure something out regarding address writing. I
>RTFM a few times but still can't quite figure it out.
>
>Let's say that I have an old domain, called cinnamon.bagel.com. If
>a user were to receive their email there, they would have an address
>of foo. This domain is now gone. Everyone in
>cinnamon.bagel.com has been converted over to raisin.bagel.com and
>has their mail there. The address would now be foo.
>
>Would there be a simpler way of rewriting the addresses, other than
>using an aliases file?

This is usually done in virtual_alias_maps, with an entry for each
valid user. The domain does not need to be specified in
virtual_alias_domains for this to work.
# virtual_alias_maps
user1 user1
user2 user2

It is possible to use wildcard rewriting, but that disables recipient
validation and should be avoided.

--
Noel Jones



© 2004-2008 readlist.com