Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-04-2002, 12:47 PM   #1
Registered: Aug 2001
Location: Hong Kong, China
Distribution: CentOS, Red Hat, Mandrake, Debian
Posts: 88

Rep: Reputation: 15
Question How to setting the Virual Domain Mail Server by sendmail?

Hi all,

I am now running a RH 7.2 mail server.

It have a registered domain name like this one, (www is host name) with a IP address

I want to make this mail server for multi domain's mail server like that and with the same IP too?

How to make like this in Red Hat 7.2 and sendmail?

Do any example for refernce?

Thanks a lot
Old 06-04-2002, 03:26 PM   #2
Registered: May 2001
Location: Louisville, Kentucky, USA
Distribution: RedHat ES
Posts: 120

Rep: Reputation: 15
Set up your local-host-names file (probably /etc/mail/local-host-names) with one domain per line, as such:

Unlike making changes to aliases or the virtusertable, you must restart Sendmail to load in the local-host-names file, as such:

kill -HUP `head -1 /var/run/`
The DNS entries for your domains must have an MX record for your mail server as well, so if you do your own DNS, edit each domain's zone file with an appropriate MX record, as such:

@         IN    MX  10  ; assumes is the mail server
Hope that helps.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Sendmail - wrong mail sender domain display jika Linux - Newbie 1 05-27-2005 03:29 AM
Setting up popa3d and sendmail to work as mail server JCdude2525 Linux - Networking 2 12-07-2004 10:35 PM
Domain Routing to Postfix from Sendmail = Wrong IP information in Mail Logs! dholingw Linux - Networking 2 05-20-2004 11:06 AM
Setting up Sendmail using a dynip domain name Ripshred Linux - Networking 6 11-24-2003 02:13 PM
Changing domain sendmail sends mail with greenhornet Linux - Networking 5 09-09-2002 02:42 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration