Bug#271564: 271564: Fwd: Mail delivery failed: returning message to sender

Marc Haber Marc Haber <mh+debian-packages@zugschlus.de>, 271564@bugs.debian.org
Wed, 15 Sep 2004 13:03:41 +0200


On Wed, Sep 15, 2004 at 02:58:39AM -0700, Mike Mestnik wrote:
> --- Marc Haber <mh+debian-packages@zugschlus.de> wrote:
> > Additionally, the dnslookup_relay_to_domains doesn't look as it is
> > part of the Debian package. Looks like you broke your exim yourself.
> > 
> I'm sure that it is, I was asked to move/copy it.

You're right. I didn't look closely enough this morning. Mental Note:
Do not answer e-mails before first coffee. I am sorry.

> > > train:~# exim4 -d -bt
> > 
> > This is not the command line that fits the debug output.
> > 
> Hmm, then my MGT is broke.

you probably typed exim4 -d -bt cheako@filbert.is-a-geek.org

> > > --------> dnslookup_relay_to_domains router <--------
> > > local_part=cheako domain=filbert.is-a-geek.org
> > > checking domains
> > > filbert.is-a-geek.org in "@:train.is-a-geek.org:localhost"? no (end of
> > > list)
> > > filbert.is-a-geek.org in "*.is-a-geek.org:technofoundry.com:MX"? yes
> > > (matched "*.is-a-geek.org")
> > > filbert.is-a-geek.org in "! +local_domains : +relay_to_domains"? yes
> > > (matched "+relay_to_domains")
> > > R: dnslookup_relay_to_domains for cheako@filbert.is-a-geek.org
> > > calling dnslookup_relay_to_domains router
> > > dnslookup_relay_to_domains router called for
> > cheako@filbert.is-a-geek.org
> > >   domain = filbert.is-a-geek.org
> > > DNS lookup of filbert.is-a-geek.org (MX) gave HOST_NOT_FOUND
> > > returning DNS_NOMATCH
> > > dnslookup_relay_to_domains router declined for
> > > cheako@filbert.is-a-geek.org

That looks like a DNS issue. For a host with only an A record, it should say:
|DNS lookup of brokenmx-a.zugschlus.de (MX) gave NO_DATA
|returning DNS_NODATA
|DNS lookup of brokenmx-a.zugschlus.de (AAAA) gave NO_DATA
|returning DNS_NODATA
|DNS lookup of brokenmx-a.zugschlus.de (A) succeeded
|fully qualified name = brokenmx-a.zugschlus.de

Please give the output of
dig filbert.is-a-geek.org any

In the mean time, maybe

filbert.is-a-geek.org: 10.0.0.20

in /etc/exim4/hubbed_hosts can help. This will take the routing
decision from DNS to the local file.

> > > "more" is false: skipping remaining routers
> > > no more routers
> > > cheako@filbert.is-a-geek.org is undeliverable:
> > >   Unrouteable address
> > 
> > Obviously the dnslookup_relay_to_domains router is not setup to
> > deliver to A records. If I remember correctly, exim must be explicity
> > configured to ignore A records.
> > 
> I know I have not touched this.

You may be right. The DNS is an issue here.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Karlsruhe, Germany |  lose things."    Winona Ryder | Fon: *49 721 966 32 15
Nordisch by Nature |  How to make an American Quilt | Fax: *49 721 966 31 29