Bug#275975: exim4-config: update-exim4.conf.conf should define primary_hostname

Jari Aalto Jari Aalto <jari.aalto@poboxes.com>, 275975@bugs.debian.org
Mon, 11 Oct 2004 14:01:14 +0300


Package: exim4-config
Version: 4.34-4
Severity: normal


The problem:

	2004-10-11 13:50:25 1CGxl3-0006LR-H4 ** foo@example.com
	F=<bar@example.net> P=<bar@example.net> R=smarthost
	T=remote_smtp_smarthost: SMTP error from remote mailer after
	HELO localhost.localdomain: host bongo.cante.net
	[192.168.1.15]: 550 HELO argument does not match calling host

I do not see any way setting the default HELO name in debconf, so I suggest
that that is asked via dialog  (dpkg-reconfigure exim4-config), and by
default the content of /etc/mailname is offered.

Alternatively /etc/exim4/update-exim4.conf.template could include entry:

        primary_hostname = DEBCONFvisiblenameDEBCONF

I don't know if update-exim4.conf shell script automatically
replaces all debconf 'visiblename' tags, but's that's the idea.

-- Package-specific info:
Exim version 4.34 #1 built 27-Jul-2004 18:08:18
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='smarthost'
dc_other_hostnames='*cante.net'
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets='192.168.1.0/24 : 127.0.0.1'
dc_local_domains='@ : *cante.net : localhost'
dc_smarthost='smtp.sooninternet.net'

CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
mailname:bongo.cante.net

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-1-386
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to en_US)

Versions of packages exim4-config depends on:
ii  adduser                       3.59       Add and remove users and groups
ii  debconf [debconf-2.0]         1.4.30.2   Debian configuration management sy
ii  passwd                        1:4.0.3-30 Change and administer password and

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: smtp.sooninternet.net
  exim4/dc_relay_domains:
* exim4/dc_relay_nets: 192.168.1.0/24 : 127.0.0.1
* exim4/mailname: cante.net
* exim4/dc_local_interfaces:
* exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: cante.net
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
  exim4/no_config: true
* exim4/hide_mailname: false
* exim4/dc_postmaster:
  exim4/dc_readhost:
* exim4/use_split_config: true
  exim4/exim4-config-title: