System Administration

Re: multi domain mail setup on one linux machine

 
asif hussain
Occasional Contributor

multi domain mail setup on one linux machine

hello everybody

this is asif hussain
i have configured sendmail on linux machine for intranet, and its working fine
my boss wants same mail setup to other 3 domains like modelfincorp.com ,modelchit.com
etc., in only one linux machine
i don't know how to do this
pls help me

asif hussain
asif7142usa.net
hello this is asif hussain
2 REPLIES 2
Kofi ARTHIABAH
Honored Contributor

Re: multi domain mail setup on one linux machine

Hello Asif:

You have to do the following:

1. Setup DNS MX record entries for each of the servers to point to the same machine - if you are not running the DNS on the linux box/ get your DNS admin to put entries the MX records for the other two domains
2. Now edit the file /etc/sendmail.cw and add the entries for the other domains eg.

modelfincorp.com
modelchit.com

that is basically it. NOTE that user1@modelfincorp.com will be the same as user1@modelchit.com unless you set up your /etc/aliases files or use some mail processor like procmail .
nothing wrong with me that a few lines of code cannot fix!
Mohan]
New Member

Re: multi domain mail setup on one linux machine

I need to know how to setup multiple domain, with their own email in my Linux redhat server. Can anyone help.

Thank You