Bug#267004: marked as done (exim4: When using a smarthost router: no IP address found for host smtp)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 26 Aug 2004 14:03:08 -0700


Your message dated Thu, 26 Aug 2004 22:55:48 +0200
with message-id <20040826205547.GN31232@torres.ka0.zugschlus.de>
and subject line Bug#267004: exim4: When using a smarthost router: no IP address found for host smtp
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 20 Aug 2004 07:45:06 +0000
>From cedric@debian.org Fri Aug 20 00:45:06 2004
Return-path: <cedric@debian.org>
Received: from fbxmetz.linbox.com (xiii.metz) [81.56.128.63] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1By45B-000085-00; Fri, 20 Aug 2004 00:45:06 -0700
Received: from replic.metz ([192.168.0.25])
	by xiii.metz with esmtp (Exim 3.35 #1 (Debian))
	id 1By44e-0003m2-00; Fri, 20 Aug 2004 09:44:32 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Cedric Delfosse <cedric@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4: When using a smarthost router: no IP address found for host smtp
Bcc: Cedric Delfosse <cedric@debian.org>
X-Mailer: reportbug 2.63
Date: Fri, 20 Aug 2004 09:44:34 +0200
Message-Id: <E1By44e-0003m2-00@xiii.metz>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: exim4
Version: 4.34-4
Severity: normal

In my network, the smtp smarthost machine is called "smtp", and it it resolved:

# ping smtp
PING XIII.metz (192.168.0.1) 56(84) bytes of data.
64 bytes from XIII.metz (192.168.0.1): icmp_seq=1 ttl=255 time=0.246 ms

The default domain name is metz, so the machine can be called smtp.metz too:
# ping smtp.metz
PING XIII.metz (192.168.0.1) 56(84) bytes of data.
64 bytes from XIII.metz (192.168.0.1): icmp_seq=1 ttl=255 time=0.248 ms

If I use "smtp" as the name of the smarthost router, I get this error:

2004-08-19 18:11:37 1BxpVp-0001bP-J9 <= root@replic U=root P=local S=274
2004-08-19 18:11:37 1BxpVp-0001bP-J9 no IP address found for host smtp
2004-08-19 18:11:37 1BxpVp-0001bP-J9 == cedric@metz R=smarthost defer (-1): lookup of host "smtp" failed in smarthost router

I don't understand why, because the "ping smtp" command show the host "smtp"
can be resolved.

But if I use "smtp.metz" as the smarthost, it works fine, the lookup doesn't
failed:

2004-08-19 17:56:24 1BxpH6-0001Qe-9u <= root@replic U=root P=local S=272
2004-08-19 17:56:24 1BxpH6-0001Qe-9u => cedric@metz R=smarthost T=remote_smtp H=XIII.metz [192.168.0.1]


-- Package-specific info:
Exim version 4.34 #1 built 27-Jul-2004 18:06:50
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='replic'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='smtp'
dc_never_users='# never_users = root'
CFILEMODE='644'
mailname:replic

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-686
Locale: LANG=fr_FR, LC_CTYPE=fr_FR

Versions of packages exim4 depends on:
ii  exim4-base                    4.34-4     EXperimental Internal Mailer -- a 
ii  exim4-daemon-light            4.34-4     Lightweight version of the Exim (v

-- no debconf information

---------------------------------------
Received: (at 267004-done) by bugs.debian.org; 26 Aug 2004 20:55:46 +0000
>From mh+debian-packages@zugschlus.de Thu Aug 26 13:55:45 2004
Return-path: <mh+debian-packages@zugschlus.de>
Received: from de46d.ipsec0.torres.ka0.zugschlus.de (torres.ka0.zugschlus.de) [212.126.222.70] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C0RHd-00014o-00; Thu, 26 Aug 2004 13:55:45 -0700
Received: from mh by torres.ka0.zugschlus.de with local (Exim 4.41)
	id 1C0RHh-0000rp-2x; Thu, 26 Aug 2004 22:55:49 +0200
Date: Thu, 26 Aug 2004 22:55:48 +0200
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: =?iso-8859-1?Q?C=E9dric?= Delfosse <cedric@debian.org>,
	267004-done@bugs.debian.org
Subject: Re: Bug#267004: exim4: When using a smarthost router: no IP address found for host smtp
Message-ID: <20040826205547.GN31232@torres.ka0.zugschlus.de>
References: <E1By44e-0003m2-00@xiii.metz> <20040823080907.GE4396@downhill.at.eu.org> <1093550529.4007.7.camel@glop> <20040826204312.GM31232@torres.ka0.zugschlus.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <20040826204312.GM31232@torres.ka0.zugschlus.de>
User-Agent: Mutt/1.3.28i
Delivered-To: 267004-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

On Thu, Aug 26, 2004 at 10:43:12PM +0200, Marc Haber wrote:
> On Thu, Aug 26, 2004 at 10:02:09PM +0200, Cédric Delfosse wrote:
> > I don't know what happened, but after a reboot, the problem has been
> > resolved. I can no more reproduce it, sorry :(
> 
> Do you want that bug to be closed, or to be tagged unreproducible?

Closing with this message.

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