Mobile app version of vmapp.org
Login or Join
Pierce454

: Cannot send mail after changing DNS records for website to a new host I am trying to move my site to a different provider. The mail server I am using at the moment I want to keep. My DNS

@Pierce454

Posted in: #DnsServers #Email

I am trying to move my site to a different provider. The mail server I am using at the moment I want to keep. My DNS management is done at a different service. I am trying to figure out what the right settings are but somehow I am keep getting this wrong.

Original working settings with site and mail server at the same location

Note: In this example i use 99.999.999.99 as the IP for the website server. I use 88.888.888.88 as the IP for the mail server (and old website server).

A *.example.com → 88.888.888.88
A example.com → 88.888.888.88
A localhost.example.com → 127.0.0.1
MX-10 example.com → mail.example.com
CNAME imap.example.com → example.com


Now I moved the website to a new server (99.999.999.99) and changed the DNS like this. I created a CNAME and an A record for mail.example.com. Now the site is working but I can not send mails.

A *.example.com → 99.999.999.99
A example.com → 99.999.999.99
A localhost.example.com → 127.0.0.1
A mail.example.com → 88.888.888.88
MX-10 example.com → mail.example.com
CNAME imap.example.com → example.com
CNAME example.com → certainserver.com


I guess I need to add some record for the IMAP. But I don't know to what. Does it need an A record for the Imap?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce454

1 Comments

Sorted by latest first Latest Oldest Best

 

@Radia820

The MX for your site is mail.domain.com is it not?

You seem to be a bit confused about IMAP. IMAP and POP are different ways for a mail program to work with a mail server. These terms have nothing to do with your MX setup. So why are you using an imap.domain.com NS record?

If mail is coming in and going out from the same server, simply point outgoing mail to the same mail server as incoming - in this example mail.{domain}.com

The only time you would need to have a separate NS record for outgoing mail is if you were using an entirely different server in which case it would need to be an A record, and standard nomenclature for outgoing mail servers is smtp.{domain}.com

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme