# Does DISCOURSE\_SMTP\_ADDRESS do MX lookup

**URL:** <https://meta.discourse.org/t/does-discourse-smtp-address-do-mx-lookup/37839>\
**Category:** Product Support\
**Created:** [12 בינואר,‏ 2016,‏ 4:28pm UTC](https://meta.discourse.org/t/does-discourse-smtp-address-do-mx-lookup/37839 "2016-01-12T16:28:57Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![mpalmer](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mpalmer/32/45740_2.png) [@mpalmer](https://meta.discourse.org/u/mpalmer)\
**Post date:** [13 בינואר,‏ 2016,‏ 1:11am UTC](https://meta.discourse.org/t/does-discourse-smtp-address-do-mx-lookup/37839/7 "2016-01-13T01:11:01Z")

</div>

> [@Blaisorblade](#):
>
> you’re implying my mail sysadmin is abusing MX records for load balancing of outgoing mail servers.

No implication, no “abuse” of MX records: your mail sysadmin is straight-up-and-down _doing it wrong_. MX records are “mail _exchange_” records. Specifying the outgoing relay MTA in an MUA (which Discourse is) is not something that MX records are involved in. I’m not aware of any MUA which performs MX record lookups on the name configured as the outgoing relay MTA. Even stub MTAs (which are a curious hybrid) like ssmtp don’t do MX record lookups on relay names.

As for references, there’s a good chance that [the backfire effect](http://rationalwiki.org/wiki/Backfire_effect) is going to bite you, but if anyone will be convincing, it should be Google, with their answer to the question, [“What is an MX record?”](https://www.google.com/support/enterprise/static/postini/docs/admin/en/activate/mx_faq.html#966971):

> Each MX record points to an email server that’s configured to process mail for that domain.

So, an MX record for `outgoing.example.com` says, "the MTA you can contact by talking to the name in this MX record will accept mail addressed to `<anyone>`@outgoing.example.com`. It does _not_ say anything about that MTA’s willingness to accept, forward, fold, spindle, or mutilate mail for any _other_ domain.

---

_[View the full topic](https://meta.discourse.org/t/does-discourse-smtp-address-do-mx-lookup/37839)._
