7 msgquestion on body_checks
7 msg[Fwd: Re: postfix as spam filtering server]
2 msgsender restrictions
3 msgat what stage is message_size_limit applied?
6 msgpipe and crashing commands
5 msgpostfix as spam filtering server
3 msgsend mail to users on the same domain but a dif...

Map several domains to virtual accounts ?
\ xaviercm (13 May 2007)
. \ Magnus Bäck (13 May 2007)

11 msgpostfix and MySQL encrypted passwords (was 554 ...
37 msgtcp_table query.
2 msgLast word on epoll and Slackware 11
5 msgOpen relay by forwarding loop?
3 msgvirtual subdomains
3 msgreject_non_fqdn_sender and reject_non_fqdn_reci...
2 msg'554 Recipient address rejected: Relay access d...
14 msgBounces, stopping them entirely
1 msgPostfix mailing list administrivia
11 msgpostfix dropping SMTP connection when receiving...
8 msgverify.db and reject_unverified_recipient
5 msgproxymap query
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


© 2004-2008 readlist.com