Solved

E-mail server for two domains

Posted on 2000-05-05
3
186 Views
Last Modified: 2010-03-18
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
0
Comment
Question by:unclesid
3 Comments
 

Accepted Solution

by:
jarvisc earned 20 total points
Comment Utility
You can have loads of domains on the one machine...

You will need to set the MX records in whatever DNS holds the domains to point to you machine.

Then edit the /etc/sendmail.cw file and add the domains you are willing to accept mail for.

Relaying mail is another issue. The details for that is in /etc/mail/
here you can set which domains or even IPs can relay mail through your machine and onto the internet...

cheers,
jarvisc
0
 

Author Comment

by:unclesid
Comment Utility
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.
0
 

Expert Comment

by:liyang
Comment Utility
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.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now