On Sun, 2005-02-06 at 00:19 -0500, Troyston Campano wrote: > I am setting up server running Fedora which have multiple domain names > pointed to the IP address of my server. Iʼd like to set up a single > mail server that can be used by each domain for mail (pop3 or imap I > guess). Iʼd like to set it up so that each domain can have mail > accounts for their individual domains. > > > > Iʼm a complete newbie when it comes to setting up a mail server and > even more so trying to figure out the multiple domain names with one > mail server. For apache I use Name-Based Virtual Hosting to have one > web server managing multiple domains/web sites. Not sure how to do > this with a mail server. > > > > Any help or pointers to documentation would be greatly appreciated. With sendmail (the default FC3 mail server), you add your list of domains, one per line, to /etc/mail/local-host-names and then add entries for each account at each domain to /etc/mail/virtusertable, specifying which local account that user's mail should be delivered to, e.g. joe@xxxxxxxxxxx joe1 joe@xxxxxxxxx joe2 postmaster@xxxxxxxxxxx root @example.com jim Then run "make -C /etc/mail" The first entry delivers mail for joe@xxxxxxxxxxx to local account joe1 The second entry delivers mail for joe@xxxxxxxxx to local account joe2 The third entry delivers mail for postmaster@xxxxxxxxxxx to local account root (or whoever root has been aliased to in /etc/aliases) The last entry is a catch-all mailbox that delivers mail for anyone in the example.com domain not otherwise specified to local account jim Quite easy really. Paul. -- Paul Howarth <paul@xxxxxxxxxxxx>