This is a discussion on Problem: Postfix + Domain aliases within the alt.comp.mail.postfix forums, part of the Mail Servers and Related category; hi all ! i'm fighting with postfix for a few days now, and i just want every mail recieved for ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
hi all !
i'm fighting with postfix for a few days now, and i just want every mail recieved for a given domain transfered to another domain ( the username doesn't change) In other terms, i'm trying to achieve this *@domainalias.com => *@domainreal.com i knnow how to achieve this using the virtual_alias_maps parameter...but here i must have an entry for every forwarded mailbox , ie user1@domainalias.com => user1@domainreal.com; user2@domainalias.com =>user2@domainreal.com So my final question is: is there a way to configure full domain aliases without having to write every alias also ? |
|
|||
|
clement game wrote:
> i'm fighting with postfix for a few days now, and i just want every > mail recieved for a given domain transfered to another domain ( the > username doesn't change) > > In other terms, i'm trying to achieve this > > *@domainalias.com => *@domainreal.com ---< /etc/postfix/main.cf >--- recipient_canonical_maps = hash:/etc/postfix/recipient_canonical ---< /etc/postfix/recipient_canonical >--- @domainalias.com @domainreal.com postmap /etc/postfix/recipient_canonical postfix reload -- Greg |