LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 09-28-2017, 02:33 AM   #1
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Rep: Reputation: Disabled
mx and email server


An MX (Mail eXchange) record will redirect email sent to any user's machine to a designated mailhost.
It tells the MDA where to route email.
MX records point to an SMTP delivery service that receives email for the given domain.
It points to hosts that handle only smtp requests (which arrive at 25 tcp port by default).

Code:
dig 163.com -t mx
;; ANSWER SECTION:
163.com.		6212	IN	MX	10 163mx01.mxmail.netease.com.
163.com.		6212	IN	MX	10 163mx03.mxmail.netease.com.
163.com.		6212	IN	MX	50 163mx00.mxmail.netease.com.
163.com.		6212	IN	MX	10 163mx02.mxmail.netease.com.

dig 163mx01.mxmail.netease.com +short
220.181.14.136
220.181.14.142
220.181.14.138
220.181.14.135
220.181.14.143
220.181.14.140
220.181.14.139
220.181.14.137
220.181.14.141

dig 163mx00.mxmail.netease.com +short
123.125.50.139
123.125.50.140

dig 163mx02.mxmail.netease.com +short
220.181.14.155
220.181.14.154
220.181.14.150
220.181.14.144
220.181.14.148
220.181.14.145
220.181.14.147
220.181.14.149
220.181.14.146

dig 163mx03.mxmail.netease.com +short
220.181.14.160
220.181.14.161
220.181.14.159
220.181.14.158
220.181.14.157
220.181.14.162
220.181.14.164
220.181.14.163
220.181.14.156


dig  smtp.163.com  +short
123.125.50.133
123.125.50.138
123.125.50.134
123.125.50.135
123.125.50.132
Why none of them (163mx00.mxmail.netease.com and 163mx01.mxmail.netease.com and 163mx02.mxmail.netease.com and 163mx03.mxmail.netease.com) contain one of it in

123.125.50.133
123.125.50.138
123.125.50.134
123.125.50.135
123.125.50.132


Or to say, why the result is not as below?
Code:
dig 163.com -t mx
;; ANSWER SECTION:
163.com.        6212    IN  MX  10  123.125.50.133
163.com.        6212    IN  MX  10  123.125.50.138

Last edited by luofeiyu; 09-28-2017 at 03:21 AM.
 
Old 09-28-2017, 06:10 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,484

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by luofeiyu View Post
An MX (Mail eXchange) record will redirect email sent to any user's machine to a designated mailhost.
It tells the MDA where to route email.
MX records point to an SMTP delivery service that receives email for the given domain.
It points to hosts that handle only smtp requests (which arrive at 25 tcp port by default).

Or to say, why the result is not as below?
Code:
dig 163.com -t mx
;; ANSWER SECTION:
163.com.        6212    IN  MX  10  123.125.50.133
163.com.        6212    IN  MX  10  123.125.50.138
Because you are making assumptions about mail handling.

The published MX servers for the domain you are looking at are 163mx01.mxmail.netease.com, 163mx03.mxmail.netease.com, 163mx00.mxmail.netease.com, 163mx02.mxmail.netease.com

Just because smtp.163.com returns IP records does NOT mean that those servers are publicly accessible or handle inbound mail for that domain. Those may be smtp servers for customers of that ISP to use for outbound mail, it has ZERO relationship to how inbound mail for that domain is handled.

Last edited by TenTenths; 09-28-2017 at 06:11 AM.
 
Old 09-28-2017, 06:14 PM   #3
luofeiyu
Member
 
Registered: Aug 2015
Posts: 237

Original Poster
Rep: Reputation: Disabled
Conclusion from many reading and TenTenths' answer.

The role of MX records is: to point to an SMTP delivery service that receives email for the given domain.
The role of smtp.163.com is : to send email to others by its users.

For the same mail server ,the two server's ip can be the same one ,or not.

right or not?
 
Old 09-29-2017, 03:31 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,484

Rep: Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556Reputation: 1556
Quote:
Originally Posted by luofeiyu View Post
The role of MX records is: to point to an SMTP delivery service that receives email for the given domain.
Yes
--
Quote:
Originally Posted by luofeiyu View Post
The role of smtp.163.com is : to send email to others by its users.
Probably
--
Quote:
Originally Posted by luofeiyu View Post
For the same mail server ,the two server's ip can be the same one ,or not.
These are not going to be single mail servers in this instance. Any server can have more than one IP address.
 
  


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 configure email alerts for nagios 4.2.1 on internal email server avj27 Linux - Newbie 1 11-27-2016 08:35 AM
Send email to specific SMTP servers per email from my server? neilius Linux - Server 6 06-25-2009 06:31 AM
Web email server from private email server guy_ripper Linux - Server 2 01-17-2008 06:58 AM
Migrating from Lotus Domino Email Server 6.5 to Linux email Server sailu_mvn Linux - Software 0 08-22-2006 11:04 PM
How do I configure postfix master to forward all email to an email server ? hello321_1999 Linux - Software 1 11-18-2004 04:43 AM

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

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