DNS – Is an MX-Record Required on a Domain to Send Emails Only?

domain-name-systememailmx-recordspam

Imagine the following scenario:

  • There is a online-shop that sends emails with noreply@shop.mydomain.com
  • There are no MX-records for shop.mydomain.com as no mail to this domain is wanted
  • There is a valid SPF-record for shop.mydomain.com

To be sure that mailservers will accept emails from noreply@shop.mydomain.com, is a MX-record requried for shop.mydomain.com or not? (In concerns of anti-SPAM systems)


I already found the following two similar questions, but anti-SPAM mechanisms are not mentioned there:

Best Answer

No and yes.

By standard, your sender domain is not required to have an MX record. RFC 5321 makes an MX record optional.

However, an MX record is somewhat of a standard today. Due to spamming practices, a number of receiving servers may reject your messages when there's no MX record for the sender's domain. Since it is no big deal to set up an MX record it is highly recommended to do so for serious traffic.

As @MichaelHampton has pointed out, you need to be able to accept messages for the sender's domain in any case - including the postmaster@ and abuse@ aliases as per RFC 2142 - to avoid being categorized as spam source.

Related Topic