Bug#524494: exim4: TLS port not automatically used (cf. README.Debian 2.2.1)

Drew Parsons dparsons at debian.org
Fri Apr 17 15:28:48 UTC 2009


Package: exim4
Version: 4.69-9
Severity: normal

After configuring exim to send mail via a smarthost, I found that my
ISP blocks connections to port 25.  It does however permit connections
to ports 465 (SSL) and 587 (TLS).

/usr/share/doc/exim4-config/README.Debian.gz says in section 2.2.1
that exim will use TLS automatically if the server supports it,
needing no special configuration.

However, exim does not in fact appear to be attempting to use port 587.
The error message in the exim logs is: 
 R=smarthost T=remote_smtp_smarthost defer (113): No route to host
which is the error for connecting to port 25 (as seen with 
"telnet mail.host.net 25" ).

I can get exim to work and send mail by manually specifying
mail.host.net::587 instead of just mail.host.net in the debconf
configuration for the smarthost (i.e. setting dc_smarthost).  But
according to section 2.2.1, I shouldn't have to do that.

Is Sect 2.2.1 deprecated or is this a bug in the code?


-- Package-specific info:
Exim version 4.69 #1 built 30-Sep-2008 18:54:33
Copyright (c) University of Cambridge 2006
Berkeley DB: Berkeley DB 4.6.21: (September 27, 2007)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb 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
Size of off_t: 8
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'
#
# Please note that this is _not_ a dpkg-conffile and that automatic changes
# to this file might happen. The code handling this will honor your local
# changes, so this is usually fine, but will break local schemes that mess
# around with multiple versions of the file.
#
# update-exim4.conf uses this file to determine variable values to generate
# exim configuration macros for the configuration file.
#
# Most settings found in here do have corresponding questions in the
# Debconf configuration, but not all of them.
#
# This is a Debian specific file

dc_eximconfig_configtype='smarthost'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost='mydom.com'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
dc_smarthost='mail.host.net'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:mydom.com

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4 depends on:
ii  debconf [debconf-2.0]         1.5.26     Debian configuration management sy
ii  exim4-base                    4.69-9     support files for all Exim MTA (v4
ii  exim4-daemon-light            4.69-9     lightweight Exim MTA (v4) daemon

exim4 recommends no packages.

exim4 suggests no packages.

-- debconf information:
* exim4/drec:





More information about the Pkg-exim4-maintainers mailing list