Link to home
Start Free TrialLog in
Avatar of unclesid
unclesid

asked on

E-mail server for two domains

I have a linux box running red hat 6.0. It is already the sendmail and pop mail server for one domain and I am interested in setting mail services up on it for a second domain.  Is this possible or do I need a seperate server and if it is possible can someone offer some suggestions as to how I might do it?

Thanks
ASKER CERTIFIED SOLUTION
Avatar of jarvisc
jarvisc

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of unclesid
unclesid

ASKER

That sounds pretty straight forward but how would I distinguish between users of the different domains?  For example, all mail that is sent through the system now has @xxx.com after the username but if I had two domains I would want @xxx.com for some users and @yyy.com for other users.
Have you looked into qmail for doing this? Although a bit fiddly to install at first (no nice ./configure scripts!)domain management seems quite a bit easier with that... You can even have user-managed domains if you want. (you set it up so that all mail to yyy.com is forwarded to a certain user, that user then puts where they want foobar@yyy.com to be forwarded to into ~/.qmail-yyy-foobar, and so on, the rest is either bounced, or can be caught with a ~/.qmail-yyy-default. I'm probably not explaining myself very well here! ^^;;;)

Anyway, the initial hassle of installing it is well worth the benifits that it provides, IMHO.