Bug#267895: exim4: verify = helo not checking dns addresses correctly

Mike Fedyk Mike Fedyk <mfedyk@matchmail.com>, 267895@bugs.debian.org
Tue, 24 Aug 2004 15:35:19 -0700


Package: exim4
Version: 4.34-4
Severity: normal

I have this[1] log entry generated from this[2] acl.

The problem is that:

host pvnsmtp02.providian.com
pvnsmtp02.providian.com A       164.109.144.240

and

host 164.109.144.240
Name: pvnsmtp02.providian.com
Address: 164.109.144.240

They match, and the verification shouldn't fail.

[1]
host 2004-08-24 15:20:54 H=pvnsmtp02.providian.com [164.109.144.240]
Warning: Remote host 164.109.144.240 (pvnsmtp02.providian.com) incorrectly
presented itself as pvnsmtp02.providian.com

[2]
  warn
    message     = X-HELO-Warning: Remote host $sender_host_address \
                  ${if def:sender_host_name {($sender_host_name) }}\
                  incorrectly presented itself as $sender_helo_name
    log_message = Remote host $sender_host_address \
                  ${if def:sender_host_name {($sender_host_name) }}\
                  incorrectly presented itself as $sender_helo_name
    !verify     = helo
					    

-- 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='internet'
dc_other_hostnames='lists.matchmail.com:quickmail.matchmail.com:matchmail.com'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains='pinetreepreschool.com:pinetree123.com:pinetreeabc.com'
dc_minimaldns='false'
dc_smarthost='mail.pacbell.net'

CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
mailname:matchmail.com

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (7221, 'testing'), (711, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C

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