Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84
Rep:
MX record concept
Hi all,
This is not a problem with linux or any specific OS. I am lacking in concept with MX records. Well i would just like to know why an MX record is needed when i mail someone specifying the exact fully qualified domain name.
When i mail someone to a particular domain, lets say "yahoo.com", in that case, the resolver checks the MX record of yahoo.com and sends the mail to the particular users account using yahoo's inbound mail server. I understand the MX record for yahoo.com is required here to let the resolver know about the mail server(s).
now if i mail some one to a particular host (lets say "mr_x@host1.yahoo.com") does the resolver again check for the MX records for yahoo.com? What i want to know is
does the particular computer has to be an "MX record specified" mail server in order to receive mails from other domains even if it is running a mail server (like sendmail or qmail) ?
Please let me know about this a i m trying to figure out the answer for the last couple of hours (maybe i didnt search well in google).
I don't really know if the mail related RFC's specify a delivery order (like MX, then FQDN) for MTA's, but I have noticed that if an MX record is missing, the MTA will try to delvier to the FQDN. i.e. me@host1.mydomain.com.
Note: Just because you can specify a FQDN for the recipient e-mail address, the remote host must also be running an MTA (like postfix) to accept e-mail connections. Furthermore, the remote MTA must be configured to accept e-mail addressed to the FQDN versus the domain name. Most properly configured MTA's will reject e-mail addressed to the FQDN.
Example:
mydomain.com MX record points to mail.mydomain.com
E-mail addressed to me@mydomain.com is accepted, but e-mail addressed to me@mail.mydomain.com would be rejected. Why? Using postfix for example, the "mydestination" parameter does not allow e-mail addressed to the FQDN to be accepted. i.e. from the postfix main.cf file...
Distribution: Solaris 9, FreeBSD 4.10, Slackware, RedHat, Knoppix,
Posts: 84
Original Poster
Rep:
thanks for the replies
i ll tell you exactly what happened....
i have access to a subdomain for a large site (lets say xxx.com and my subdomain as me.xxx.com)
now i had set up qmail on "me.xxx.com"
it was able to send mails to gmail and gmail recieved it with username@me.xxx.com
when i replied to the mail (from gmail), first of all the messages bounced back saying "mail cannot be delivered to me.xxx.com -SMTP relay access denied" - i know that problem has got to do nothing with MX records
now i had set the MX record of xxx.com to me.xxx.com ,
now when i send mails from gmail to me.xxx.com, the error message did not appear and no mail delivery failure message was recieved in the gmails inbox (strange: the SMTP relay access denied problem just disappeared)
but at the server (me.xxx.com) the mails were not there - i didnt find any mails in that server and the mails seem to just disappear
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.