Bug#284755: exim4: Default localhost description in /etc/hosts causes Exim to send HELO localhost.localdomain

Ivar Zarans Ivar Zarans <iff@gw.reisiekspert.ee>, 284755@bugs.debian.org
Wed, 08 Dec 2004 16:56:51 +0200


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