Helping people with computers... one answer at a time.

I'm setting up my own mail server for my domain. For example I own "", and I want my server to process all the mail for "".

I keep seeing domain names like "", "" and "" - do I have to create those kind of subdomains for this to work? And if so, which ones do I need?

Well, there's nothing special about "smtp." or "mail." - they're just names.

But you might want to consider using something like them. They can make certain future changes a little easier.

All the email clients really need to know is how to get to your mail server. That means as long as they're given a name that somehow resolves to the IP address of the correct server, they'll work. You can even skip that and use the raw IP address when configuring a mail client, and it'll still work. (In fact I know of some people who use the IP address on purpose, simply to avoid the extra look-up time when a domain name is converted to an IP address.)

" long as they're given a name that somehow resolves to the IP address of the correct server, they'll work"

So any domain name you choose that maps to the IP address of your mail server is a fine choice.


Let's say some day in the future, you want to move your mail processing to a different server. Perhaps you want to offload the server handling "" web traffic, because the email load is getting too high. It's a common scenario, actually, as mail servers are working extra hard these days filtering spam.

If you have a separate subdomain - say "" - that you use for all of your mail configuration, then after you set up your new mail server, all you need to do is change the IP address that "" points to. As DNS propagates, all of your mail processing will automatically move to the new server. No email clients need to be reconfigured.

Now, there's still an issue with DNS propagation that could potentially cause some mail to be delivered on the old server after the recipients have switched to the new - but a separate subdomain solves that problem as well.

The "MX" DNS record tells mailers where to send mail destined for your domain. So perhaps we'd set up a domain "", and use that ONLY for the MX settings for your domain (or domains). We'd still also set up "" for your recipient's client programs to send and receive through. Both would initially point to the same IP address of the same mail server.

Moving mail servers would now be a two step process once the new server was configured. Change "" to point to the new server. Now, wait two days for DNS propagation (or, if you like, monitor the old server and wait until it stops getting mail), and change "". As that propagates, your mail clients will start downloading mail from the new server, including any that may have been queued up from the day you changed "".

But back to the original question: in all these cases I've used subdomains like "mail" and "mx", but in reality they could be anything. "", "", "" are all valid names for mail servers. Using more meaningful names, however helps keep things somewhat more understandable.

And for that matter, if you don't foresee the need for flexibility in the future, then "", without a subdomain, is just fine too.

(Just remember to replace "" with your domain, ok?)

Article C2681 - June 7, 2006 « »

Share this article with your friends:

Share this article on Facebook Tweet this article Email a link to this article
Leo Leo A. Notenboom has been playing with computers since he was required to take a programming class in 1976. An 18 year career as a programmer at Microsoft soon followed. After "retiring" in 2001, Leo started Ask Leo! in 2003 as a place for answers to common computer and technical questions. More about Leo.

Not what you needed?

January 17, 2008 1:02 AM

I disagree. Naming is actually quite important, especially as it pertains to outbound email. If your mail server has a name that matches common PTR records for DSL and Cable for example, many mail servers and anti-spam gateways will either block you or label you as spam. Google S25R if you dont believe me. I block anything that fits the regex of a cable/dsl line.

For inbound, it doesnt really matter, but the accepted standards are smtp and mx to avoid confusion and make whitelisting your butt easier. (Inbound mail servers send some mail outbound due to MDN and other notifications).

This will become more and more important by 2009, but I will save that suprise for later.

November 22, 2008 10:45 AM

No matter what I do, I cannot get Windows Mail to work. Why do they make it soooo difficult. I have Windows Vista Prem (I despise it) and want my XP back. But that's another story.

I have Hotmail - Gmail - and my cable provider is Time Warner. I use MSN and also have Firfox - I am totally confused and really want Windows Mail as it is the only e mail that has the option of getting a reply that an e mail has been read.

October 22, 2010 3:08 AM

What's the server name for pop3 email setup? is it just
i'm trying to set up my email on my new cell phone and it's asking for the server name. i have yahoo mail plus (not the free yahoo), and i'm wondering if there's a more specific name for the server i need to use, other than

{spam link removed}

Last I checked Yahoo did not support POP3. You need to check with Yahoo - presumably since you're paying for it you have access to some real support.

Comments on this entry are closed.

If you have a question, start by using the search box up at the top of the page - there's a very good chance that your question has already been answered on Ask Leo!.

If you don't find your answer, head out to to ask your question.