Bug#316441: exim4-base: tls_on_connect_ports config field does not accept the service name rather than port.

Alexander Myodov Alexander Myodov <maa_public@sinn.ru>, 316441@bugs.debian.org
Fri, 01 Jul 2005 02:40:58 +0400


Package: exim4-base
Version: 4.50-8
Severity: normal

The field tls_on_connect_ports in the configs accepts only port number, and not the service name.
I.e., the line "tls_on_connect_ports = 465" is correct, while the line "tls_on_connect_ports = ssmtp" or "tls_on_connect_ports = smtps" causes Exim to generate the log lines like

  2005-07-01 02:15:26 tls_on_connect_ports contains "ssmtp", which is not a port number: exim abandoned
  2005-07-01 02:18:35 tls_on_connect_ports contains "smtps", which is not a port number: exim abandoned

Documents indeed do not describe that this field should accept the service name, though it is strange, as this field is very close by its meaning to daemon_smtp_ports which allows the settings like "daemon_smtp_ports = smtp : ssmtp".


-- Package-specific info:
Exim version 4.50 #1 built 27-May-2005 08:08:19
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
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='smarthost'
dc_other_hostnames='srv-castle.pvt:honeyman.nnov.ru'
dc_local_interfaces='127.0.0.1:192.168.0.9:192.168.1.1:82.208.85.183'
dc_readhost=''
#dc_relay_domains='ws-honeyman.pvt'
dc_minimaldns='false'
#dc_relay_nets='192.168.0.0/16'
dc_smarthost='smtp.mts-nn.ru'
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='false'
# dc_localdelivery='maildir_home'
dc_relay_domains=''
dc_relay_nets=''
dc_mailname_in_oh='true'
dc_localdelivery='cyrus_inbox_delivery'
mailname:honeyman.nnov.ru

-- System Information:
Debian Release: 3.1
Architecture: i386 (i586)
Kernel: Linux 2.6.6-1-386
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages exim4-base depends on:
ii  adduser                 3.63             Add and remove users and groups
ii  cron                    3.0pl1-86        management of regular background p
ii  debconf [debconf-2.0]   1.4.30.13        Debian configuration management sy
ii  exim4-config [exim4-con 4.50-8           configuration for the exim MTA (v4
ii  libc6                   2.3.2.ds1-22     GNU C Library: Shared libraries an
ii  libdb4.2                4.2.52-16        Berkeley v4.2 Database Libraries [
ii  netbase                 4.21             Basic TCP/IP networking system
ii  passwd                  1:4.0.3-31sarge5 change and administer password and

-- debconf information excluded