Solved

E-mail server for two domains

Posted on 2000-05-05
3
208 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
ID: 2782625
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
ID: 2790357
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
ID: 2851586
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

770 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