Bug#284755: marked as done (exim4: Default localhost description in /etc/hosts causes Exim to send HELO localhost.localdomain)

Debian Bug Tracking System owner@bugs.debian.org
Wed, 08 Dec 2004 07:38:44 -0800


Your message dated Wed, 8 Dec 2004 16:30:36 +0100
with message-id <20041208153036.GF3720@downhill.at.eu.org>
and subject line Bug#284755: exim4: Default localhost description in /etc/hosts causes Exim to send HELO localhost.localdomain
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; 8 Dec 2004 14:56:54 +0000
>From iff@gw.reisiekspert.ee Wed Dec 08 06:56:53 2004
Return-path: <iff@gw.reisiekspert.ee>
Received: from gw.reisiekspert.ee [194.106.106.106] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cc3FN-0000qt-00; Wed, 08 Dec 2004 06:56:53 -0800
Received: from iff by gw.reisiekspert.ee with local (Exim 4.34)
	id 1Cc3FL-0002bB-C4; Wed, 08 Dec 2004 16:56:51 +0200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Ivar Zarans <iff@gw.reisiekspert.ee>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4: Default localhost description in /etc/hosts causes Exim to send HELO
 localhost.localdomain
X-Mailer: reportbug 3.2
Date: Wed, 08 Dec 2004 16:56:51 +0200
Message-Id: <E1Cc3FL-0002bB-C4@gw.reisiekspert.ee>
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-8
Severity: important

When /etc/hosts has localhost described as (default in Debian Sarge):
127.0.0.1       localhost.localdomain   localhost

then Exim uses "localhost.localdomain" as name in HELO command. Some
mailers are rejecting connections with incorrect hostname as HELO
parameter.

Rewriting /etc/hosts localhost entry as:
127.0.0.1       localhost

fixes this problem, but Exim should handle default /etc/hosts properly.


-- Package-specific info:
Exim version 4.34 #1 built 20-Nov-2004 11:32:14
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 PAM Perl GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Contains exiscan-acl patch revision 21 (c) Tom Kistner [http://duncanthrax.net/exiscan/]
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='internet'
dc_other_hostnames=''
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains='reisiekspert.ee:travel2baltics.com:conference-expert.com'
dc_minimaldns='false'
dc_relay_nets='mail.reisiekspert.ee:bali.reisiekspert.ee:eve.matti.ee:travel.reisiekspert.ee:212.47.197.9:212.47.197.10:212.47.197.11'
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
mailname:gw.reisiekspert.ee

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-gensrv
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages exim4 depends on:
ii  exim4-base                    4.34-8     EXperimental Internal Mailer -- a 
ii  exim4-daemon-heavy            4.34-8     Exim (v4) with extended features, 

-- no debconf information

---------------------------------------
Received: (at 284755-done) by bugs.debian.org; 8 Dec 2004 15:30:39 +0000
>From ametzler@downhill.at.eu.org Wed Dec 08 07:30:39 2004
Return-path: <ametzler@downhill.at.eu.org>
Received: from server.logic.univie.ac.at [131.130.190.41] ([+bCnBnQxtG6BRQC6jRVkDGj3PVQ/QK8S])
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cc3m3-0006JK-00; Wed, 08 Dec 2004 07:30:39 -0800
Received: from m-134-246.adsl.univie.ac.at ([131.130.134.246])
	by server.logic.univie.ac.at with asmtp (Exim 4.34)
	id 1Cc3ly-0004rN-V3
	for 284755-done@bugs.debian.org; Wed, 08 Dec 2004 16:30:36 +0100
Received: from ametzler by downhill.univie.ac.at with local (Exim 4.34)
	id 1Cc3m0-0002D6-AI
	for 284755-done@bugs.debian.org; Wed, 08 Dec 2004 16:30:36 +0100
Date: Wed, 8 Dec 2004 16:30:36 +0100
From: Andreas Metzler <ametzler@downhill.at.eu.org>
To: 284755-done@bugs.debian.org
Subject: Re: Bug#284755: exim4: Default localhost description in /etc/hosts causes Exim to send HELO localhost.localdomain
Message-ID: <20041208153036.GF3720@downhill.at.eu.org>
References: <E1Cc3FL-0002bB-C4@gw.reisiekspert.ee>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1Cc3FL-0002bB-C4@gw.reisiekspert.ee>
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57  EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.6+20040722i
Delivered-To: 284755-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 2004-12-08 Ivar Zarans <iff@gw.reisiekspert.ee> wrote:
> Package: exim4
> Version: 4.34-8
> Severity: important

> When /etc/hosts has localhost described as (default in Debian Sarge):
> 127.0.0.1       localhost.localdomain   localhost

> then Exim uses "localhost.localdomain" as name in HELO command.
[...]

No, it does not. It uses the hostname of the local machine, as given
by
hostname --fqdn
and set in /etc/hostname.

If your machine thinks its FQDN is localhost.localdomain it is
misconfigured.
                 cu andreas