View previous topic :: View next topic |
Author |
Message |
TXTad Tux's lil' helper
Joined: 15 Jan 2004 Posts: 108 Location: Texas
|
Posted: Sun Dec 05, 2004 1:51 am Post subject: Need some help with Postfix and multiple local domains |
|
|
Howdy!
I have a server that serves a handful of domains (mostly friends' websites) and I'd like to add mail services, but I don't really need full-blown virtual domain services. I just want to be able to handle mail for user@domain1.com and user2@domain2.com and have it map simply to the user and user1 accounts on my server. I would also like to be able to make mail for unknownuser@ahosteddomain.com go to a local account on a per domain basis.
Can anyone give me a few pointers on how to make this happen with Postfix?
Thanks,
Tad |
|
Back to top |
|
|
nobspangle Veteran
Joined: 23 Mar 2004 Posts: 1318 Location: Manchester, UK
|
Posted: Sun Dec 05, 2004 9:08 am Post subject: |
|
|
The first one is easy, just add the domains to the list in mydestination, something like
Code: | mydestination = $myhostname, localhost.$mydomain, $mydomain, domain1.com, domain2.com | will work well.
The second one is trickier, I know how to make all mail for an unknow recipient land in one mailbox
Code: | local_recipient_maps =
luser_relay = user@domain.com | but I don't know how to make mail for one domain go to one box and mail for another domain go to a different box. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|