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:Map several domains to virtual accounts ?
Group:Postfix-users
From:xaviercm
Date:13 May 2007


 
Hi,

First of all : excuse me for my very very very bad english ;-)

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 !)

Hope you'll understand my question ... ;-)

Thanks in advance for your help !

/Xavier


-----------------------------------------
/etc/postfix/main.cf

virtual_mailbox_domains = hash:/etc/postfix/vdomains
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_mailbox_base = /home/mail/vhosts

/etc/postfix/vdomains

testmail1.com void
testmail2.com void

/etc/postfix/vmailbox

test testmail1.com/test/
toto testmail1.com/toto/
toto testmail2.com/toto/
test testmail2.com/test/
-----------------------------------------


© 2004-2008 readlist.com