<domain>set by the Hub
The recipient’s domain exists, but it has no MX record. Formally mail to such a domain is still possible: mail standards allow contacting the domain’s own address in this case — the A or AAAA records. This line decides whether it is worth trying.
There are four values, not two. false is the vendor default: messages stay in the queue and go out on the general deadline. true — this receiver’s entire queue bounces immediately. An interval is the most useful kind: only messages that have sat in the queue longer than the specified time bounce, and until then the node tries to reach the domain’s address. never — never bounce for this reason.
The line works only where the node asks for MX at all. If the receiver has an explicit list of servers set via smtp-hosts, no MX query happens, and there is nothing to decide here.
Well-known mailbox providers — yes. A large provider always has MX; its disappearance means a DNS failure, not a domain without a mail server. There is no point keeping messages in the queue for three days for such a case.
Everyone else — an interval. Half an hour gives the node time to try the domain’s address directly without dragging obviously dead mail along for the whole deadline. This is also the value the manual’s example shows for the asterisk block.
true on the asterisk — only if you know your base for sure. For a campaign to collected addresses this is a guaranteed loss of some live recipients.
# a large mailbox provider always has MX — its absence is a failure <domain gmail.com> bounce-upon-no-mx yes</domain> # everyone else gets half an hour to try the domain's address <domain *> bounce-upon-no-mx 30m</domain>
what people get wrong and how it ends2 mistakes▶
§ 3.3.10.69
§ 3.3.10.69
1 relation
pmta show settings example.com/vmta1 | grep -i bounce-upon-no-mx dig +short MX example.com
3 articles
◇Four value types the whole config is written inBoolean, domain pattern, regular expression and time interval — defined once in § 3.2 and then used by all directives.◇Two inbound report processors and what to do with themBounces by message and complaints are parsed by two identically structured blocks; each has its own address list and its own pair of decisions about the message’s fate.◇How the policy for a receiver is assembledSettings are assembled from the most general pattern to the most precise; the order of blocks in the file means nothing.