How do I configure my domain to send mail?

Linode Staff

What DNS records do I need in order to send mail successfully?

1 Reply

To send mail from your domain successfully, you'll need to create a new domain (e.g. example.com) and add a few different DNS records to it:

  • A records for the base domain (e.g. example.com) and if applicable, the subdomain from which you'll be sending mail (e.g. 'mail.exmample.com'). If using our DNS Manager, this record may have been created for you if you chose to have the Manager automatically create a few records to get you started. Otherwise, you will need to add it yourself. If manually adding an A record for the base domain in our DNS Manager, you will want to leave the hostname field blank (some providers have you enter an @ instead).
  • MX record (e.g. mail.example.com). Our DNS Manager will also create this automatically if you chose to have a few records created to get you started.
  • SPF record
  • RDNS/PTR record. This part is actually done outside of the DNS Manager. You can find instructions at the link I've provided.
  • There are others that you may need, but you will find that this varies based on what domains into which you're sending mail. This post about mail deliverability issues discusses some of the more common ones (e.g. DKIM, DMARC).

You can find information about all of these different types of records in our guide "DNS Records: An Introduction". You should also check out the DNS Records section of our guide on Running a Mail Server for more information.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct