LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 09-05-2006, 01:20 AM   #1
c_mahalingam
LQ Newbie
 
Registered: Aug 2004
Location: chennai
Distribution: redhat9
Posts: 5

Rep: Reputation: 0
How to add second mail server in RHEL 3


We have installed Red had enterprise linux 3. We have separated the services dns, mail and proxy in separate systems. We would like to have another mail server. How to link the second mail server with previous one.

mali
 
Old 09-07-2006, 04:41 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
We would like to have another mail server. How to link the second mail server with previous one.
If with "link" you mean "also make available for use" then it's adding another DNS MX record,
elif with "link" you mean "replace" then it's modifying the existing DNS MX record,
else you better explain in detail what you want to achieve.
 
Old 09-07-2006, 05:07 AM   #3
c_mahalingam
LQ Newbie
 
Registered: Aug 2004
Location: chennai
Distribution: redhat9
Posts: 5

Original Poster
Rep: Reputation: 0
Adding another Mail Server

Yes we wanted to make available for use the other server in addition to the existing one. I have tried by adding another MX Reconrd in DNS forward zone file. But it was not working.

With kind regards,
C. Mahalingam
 
Old 09-07-2006, 06:34 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
I have tried by adding another MX Reconrd in DNS forward zone file. But it was not working.
One of the distinct advantages of working with GNU/Linux is Software will provide you with the "right" information: cryptic, yet exact. Wetware usually is switched to fuzzy mode: it doesn't not return ordered, exact information unless explicitly instructed otherwise. Being analytical and methodical boosts efficiency when troubleshooting.
Try it, you'll like it.

- in which configuration files did you make changes?
- what steps did you take exactly?
- with what tools and how did you test changes?
- what where the exact errors returned?
 
Old 09-08-2006, 12:23 AM   #5
c_mahalingam
LQ Newbie
 
Registered: Aug 2004
Location: chennai
Distribution: redhat9
Posts: 5

Original Poster
Rep: Reputation: 0
Adding another Mail Server

we are using redhat enterprise linux ES 3

for this os /var/named is default directory for storing zone files

i have added these two lines for mail exchange records

10 MX mailserver1
20 MX mailserver2

after entering these two lines i have checked with the following commands

named-checkzone <domainname> <forward zone file>
after checking the system produced the following result

zone <domainname>/IN: loaded serial 2006081826
OK

it gives no error

after this I have restarted the service

service named restart

here too it doesn't give any errors.

every thing look like OK

but the problem is if i am sending mail to mailserver1 it works problerly but not if sent it for mailserver2

mali
 
Old 09-08-2006, 05:36 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
but the problem is if i am sending mail to mailserver1 it works problerly
If you:
0) incremented the serial and
1) the changes got propagated then the result from a
2) remote "dig" should show both MX records in place. If these conditions are met then
3) bringing down the "10 MX" mailserver,
4) making sure the "20 MX" mailserver is up and running and
5) sending an email to any valid address in the domain should show the message is accepted on the "20 MX" mailserver by
6) checking the maillog.
Each step must be checked and in this order and the result must be OK to be able to proceed with the next step.
 
Old 09-10-2006, 11:32 PM   #7
c_mahalingam
LQ Newbie
 
Registered: Aug 2004
Location: chennai
Distribution: redhat9
Posts: 5

Original Poster
Rep: Reputation: 0
Second Mail Server

after the second mail server installation I did the following

1. incremented the serial no
2. verified the syntax with named-checkzone
3. named services were restarted by service named restart
4. dig <domainname> shows both MX records

but i haven't tested with bringing down the "10 MX" mail server and tested with second mail server.

I will do and let you know this during this week end.

Thanks for your guidance.
mali
 
Old 09-11-2006, 02:48 AM   #8
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
Your bind config files may actually be chrooted in /var/named/chroot/. Check if this directory exists. If so then make your changes in /var/named/chroot/etc/named.conf and /var/named/chroot/var/named/
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to add users in VSFTPD w/ RHEL 4 AS? guest Linux - Newbie 10 04-12-2010 01:24 PM
Login problems with XDMCP from a pre-RHEL-4 client to a RHEL-4 server running KDE cspao Red Hat 0 07-21-2006 06:30 AM
Is CentOS RHEL or RHEL Server? mikes63737 Linux - Distributions 1 02-28-2006 04:35 PM
RHEL 3: Steps of expanding file system (add new SCSI disks) to existing SW RAID & LVM atman1974 Linux - General 2 01-12-2006 09:49 PM
migrate exchange 2000 mail boxes to RHEL 4 samanp Linux - Software 0 12-27-2005 10:43 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 11:33 AM.

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