LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-04-2010, 11:51 PM   #1
xiutuo
Member
 
Registered: Mar 2008
Posts: 55

Rep: Reputation: 15
mx problem ---mail system


i configure to mx ,one as master ,other as backup
dns configure look like:
first mx:
---------------------
121.90.8.77 ----> test111.domain
pop------->121.90.8.77
smtp------->121.90.8.77
@ IN MX 10 test111.domain
--------------------
second mx
webmail.test111.domain IN A 121.90.8.78
test111.domain IN MX 5 webmail.test111.domain

mx point to different mail server.
my question:
mx level 5 server should get the mail first.why not?

Last edited by xiutuo; 11-04-2010 at 11:52 PM.
 
Old 11-05-2010, 03:04 AM   #2
hua
Member
 
Registered: Oct 2006
Location: Slovak Republic
Distribution: Slackware 14.2, current
Posts: 464

Rep: Reputation: 79
Quote:
mx level 5 server should get the mail first.why not?
It is hard to tell without any information about how did you find this out. What test methods you used to test it.
The possible answer to your question is: that there has to be some trouble with the master server and this is why the backup is used.

Last edited by hua; 11-05-2010 at 03:06 AM.
 
Old 11-05-2010, 03:49 AM   #3
xiutuo
Member
 
Registered: Mar 2008
Posts: 55

Original Poster
Rep: Reputation: 15
the master mail server work fine,but the webmail support chinese not well.so i configure other mail system(include webmail)to instead it ,
so i have to configure two MX ,just keep user no feeling when i swtich them.

test method:
send mail with other mail system online to the user in myown mail system,
mx level 5 server should get the mail first,i think ,but it is not....
 
Old 11-07-2010, 09:15 PM   #4
xiutuo
Member
 
Registered: Mar 2008
Posts: 55

Original Poster
Rep: Reputation: 15
Any one ayn seguesstion will help me out...thx
 
Old 11-08-2010, 03:47 AM   #5
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
Try looking in the logs of the system that you sent the mail from and on the server. Check both the DNS and the mail logging (and enable logging if it isn't). It is possible that it tried to get the mail to the desired server, but couldn't for some reason.

Also try to query your DNS and set the record type to MX (typically 'set type = mx') and run the query for the root domain (test111.domain) and see what is returned. Repeat the process using webmail.test111.domain. Similarly run a regular DNS query against webmail.test111.domain to see if it resolves the proper address.

Lastly, do you know for certain that the webmail.test111.domain mail server is working correctly? In other words are clients able to connect to it without error?

One other option to consider would be to have your primary mail server forward to the secondary one for certain users.
 
Old 11-09-2010, 04:46 AM   #6
xiutuo
Member
 
Registered: Mar 2008
Posts: 55

Original Poster
Rep: Reputation: 15
i got nothing for maillog or dns log.
so i think ,mx as backup ,under this condition:
when master mail server was down
 
Old 11-10-2010, 05:18 AM   #7
abhandari
LQ Newbie
 
Registered: Dec 2008
Location: NP
Posts: 28

Rep: Reputation: 1
Thumbs up

Quote:
Originally Posted by xiutuo View Post
i got nothing for maillog or dns log.
so i think ,mx as backup ,under this condition:
when master mail server was down
Hi xiutuo,

Actually, MX entries at DNS zone records/database doesn't provide failover/backup for ur mail receiving. DNS only resolves/try to resolve the all MX entries even if they are down in round-robin manner. So better do the followings:

1.In DNS make the priority difference high one MX for 0 and other around 90 server due to which 0 is high priority and get the server normally previously than 90 but it doesn't happen always in my experience also. Go for second step.
2.There is a free package called "balance" which is very best for load balancing as well as for fail over.
http://packages.sw.be/balance/

I think it might help u.
 
Old 11-17-2010, 07:50 PM   #8
xiutuo
Member
 
Registered: Mar 2008
Posts: 55

Original Poster
Rep: Reputation: 15
thank u
any document about blance(give me a url)?
i googled,but lots of things nothing to do with it..
 
  


Reply


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
mail loops back to me (MX problem?) OR did not issue MAIL/EXPN/VRFY/ETRN skc Linux - Server 6 07-09-2011 09:18 PM
problem with Evoution mail working with ubunto linux system senting mail dan1369 Linux - Newbie 1 06-14-2009 11:55 AM
Mail server now behind linux router: Mail system broken binary1011100 Linux - Server 2 07-02-2007 09:37 AM
Setting Up System Mail Via Mutt, Exim4 and Fetchmail Problem Blyiss Linux - Networking 1 02-19-2007 08:25 PM
Quota problem in my mail system,help me~~~~~ microsea Linux - Software 5 08-25-2003 07:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:26 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