-
Notifications
You must be signed in to change notification settings - Fork 178
Q0318
Exim won't route to a host with no MX record.
More than one thing may cause this.
-
Are you sure there really is no MX record? Sometimes a typo results malformed MX record in the zone file, in which case some name ers give a SERVFAIL error rather than NXDOMAIN. Exim has to treat as a temporary error, so it can't go on to look for address records. can check for this state using one of the DNS interrogation commands, as nslookup, host, or dig.
-
Is there a wildcard MX record for your domain? Is the
search_parents
option on in your dnslookup router? If the answer to these questions is "yes", that is the cause of the problem. When DNS resolver fails to find the MX record, it tries adding on your in ifsearch_parents
is true, and thereby finds your wildcard MX rd. For example: -
There is a wildcard MX record for *.a.b.c.
-
There is a host called x.y.z that has an A record and no MX record.
-
Somebody on the host m.a.b.c domain tries to mail to [[email protected]](mailto:[email protected]).
-
Exim calls the DNS to look for an MX record for x.y.z.
-
The DNS doesn't find any MX record. Because
search_parents
is true, it then tries searching the current host's parent domain, so it looks for x.y.z.a.b.c and picks up the wildcard MX record.
Setting search_parents
false makes this case work while retaining the
wildcard MX record. However, anybody on the host m.a.b.c who mails to
[[email protected]](mailto:[email protected]) (expecting it to go to
[[email protected]](mailto:[email protected])) now has a
problem. The widen_domains
option of the dnslookup router may be
helpful in this circumstance.
- What do lowest numbered MX record points to local host and *remote
- Why does Exim say all relevant MX records point to non-existent hosts
- How do I configure Exim to send all messages to a central server? I
- How do I configure Exim to send all non-local mail to a gateway host?
- How can I arrange for mail on my local network to be delivered directly
- How do I configure Exim to send all non-local mail to a central server
- The
route_list
setting^foo$:^bar$ $domain
in a manualroute - I have a domain for which some local parts must be delivered locally,
- How can I configure Exim on a firewall machine so that if mail arrives
- If a DNS lookup returns no MX records why doesn't Exim just bin the
- When a DNS lookup for MX records fails to complete, why doesn't Exim
- Is it possible to use a conditional expression for the host item in a
- I send all external mail to a smart host, but this means that bad
- I have a really annoying intermittent problem where attempts to mail to
- I'd like route all mail with addresses that can't be resolved (the DNS
- I would like to forward all incoming email for a particular domain to
- What I'd like to do is have alternative smart hosts, where the one to be
- Exim won't route to a host with no MX record.
- I have some mails on my queues that are sticking around longer than the
- How can I arrange for all mail to
- How can I tell an Exim router to use only IPv4 or only IPv6 addresses
- How can I reroute all messages bound for 192.168.10.0 and 10.0.0.0 to a