|
| | Subject: | Re: Map several domains to virtual accounts ? | | Group: | Postfix-users | | From: | Magnus Bäck | | Date: | 13 May 2007 |
On Sunday, May 13, 2007 at 07:48 CEST,
xaviercm wrote:
> I've the following configuration (virtual hosting without real system
> account - see the files extract below) and all work fine.
>
> But some of my custumers have 2 domains (testmail1.com an testmail1.fr
> for example).
>
> Do you know a solution to keep the same configuration (for
> /etc/postfix/vmailbox) and have the mail adressing to the .fr domain
> redirecting
> to the same but .com domain account (obviously without adding a
> "test --> testmail1.com/test" entry into the vmailbox
> file for each email account !)
Use virtual aliasing.
main.cf:
virtual_alias_maps = hash:/path/to/file
/path/to/file:
test test
[...]
--
Magnus Bäck
magnus
|