LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-03-2019, 01:05 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Rep: Reputation: 180Reputation: 180
Need to add mail server for Yahoo administered subdomain


I have a domain set up with Yahoo Small Business: mydom.org, with IP 24.25.26.27. The Yahoo Domain Control Panel lets me configure an 'A' record to set up a subdomain, mets.mydom.org, with IP 27.26.25.24, that is, a completely different server. This setup works in that I can get to mydom.org and mets.mydom.org websites on their respective servers.

What I now want to do is have email to thisuser@mets.mydom.org routed to the mets.mydom.org host. Once mail arrives there, I can configure sendmail to accept mail for that domain. Doing a simple 'host' lookup on these domains gives:
Code:
$ host mydom.org
mydom.org has address 24.25.26.27
mydom.org mail is handled by 10 mx-biz.mail.am0.yahoodns.net.

$ host mets.mydom.org
mets.mydom.org has address 27.26.25.24
There is no "mail is handled by" line for host mets. The Yahoo Domain Control Panel lets me configure A, CNAME, TXT, MX and SRV records. I think MX is not what I want as that will refer to the mydom.org host.

How do I set things so my 'host' command results are:

mets.mydom.org mail is handled by 10 27.26.35.24

Last edited by mfoley; 04-03-2019 at 01:09 AM.
 
Old 04-03-2019, 01:20 AM   #2
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,738

Rep: Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222Reputation: 2222
If you want mets.mydom.org to be able to receive email, the subdomain will need an MX record. If you don't see how to do that in the Yahoo Domain Control Panel, I think you need to contact yahoo with this question.

Note: MX records point to FQDNs, not IP addresses, so
Code:
     MX 10 mets.mydom.org
would yield

Code:
$ host mets.mydom.org
mets.mydom.org has address 27.26.25.24
mets.mydom.org mail is handled by mets.mydom.org
Note2: Have you tried it? If there's no MX record, the mail delivery should default to the mets.mydom.org domain.

Last edited by scasey; 04-03-2019 at 01:35 AM.
 
Old 04-03-2019, 01:34 AM   #3
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
If there is no MX record, delivery will be attempted using the A record.
You should be “good to go”.
 
1 members found this post helpful.
Old 04-03-2019, 10:11 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,593

Original Poster
Rep: Reputation: 180Reputation: 180
Quote:
Originally Posted by descendant_command View Post
If there is no MX record, delivery will be attempted using the A record.
You should be “good to go”.
Awesome! That actually worked! I'll also see if I can configure an actual MX record per scasey's suggestion and post back. That might take a day or two.
 
  


Reply

Tags
dns changes, subdomain



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
centrally administered passwords for several services nass Slackware 2 02-15-2012 03:00 PM
Create webmail subdomain on Plesk master domain. (reserved subdomain) fruitwerks Linux - Server 0 08-11-2010 03:08 PM
Mail to subdomain need to be redirected to mail server in another domain Tafta Linux - Networking 2 06-08-2009 09:42 PM
Debian headless ftp server administered threw ssh lindylex Debian 5 08-26-2008 07:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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