Bug#311906: invalid login_saslauthd_server example in 30_exim4-config_examples

rich@wittyname.com, 311906@bugs.debian.org rich@wittyname.com, 311906@bugs.debian.org
Sat, 04 Jun 2005 07:09:22 +0000


Package: exim4
Version: 4.50-6
Severity: normal


conf.d/auth/30_exim4-config_examples contains the following commented example:

# login_saslauthd_server:
#   driver = plaintext
#   public_name = LOGIN
#   server_prompts = "Username:: : Password::"
#   # don't send system passwords over unencrypted connections
#   server_advertise_condition = ${if eq{$tls_cipher}{}{0}{1}}
#   server_condition = ${if saslauthd{{$1}{$2}}{1}{0}}
#   server_set_id = $1
#   .ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
#   server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
#   .endif

The server_advertise_condition line is repeated and causes the following
error if you actually try to use it:

2005-06-04 02:58:59 Exim configuration error in line 618 of
/var/lib/exim4/config.autogenerated.tmp:
  "server_advertise_condition" option set for the second time
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
not installing /var/lib/exim4/config.autogenerated.tmp to
/var/lib/exim4/config.autogenerated
  
I believe the first server_advertise_condition line should be removed
now that the second one has been added with the
AUTH_SERVER_ALLOW_NOTLS_PASSWORDS macro to toggle it.

Thanks for your great work maintaining this package.  Hopefully you find
this bug report helpfull.

Rich Aycock


-- Package-specific info:
Exim version 4.50 #1 built 17-Apr-2005 19:14:00
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 PAM Perl GnuTLS Content_Scanning Old_Demime
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb dsearch ldap ldapdn ldapm mysql nis nis0 passwd pgsql
Authenticators: cram_md5 cyrus_sasl plaintext spa
Routers: accept dnslookup ipliteral iplookup manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore/mbx autoreply lmtp pipe smtp
Fixed never_users: 0
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2um
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages exim4 depends on:
ii  exim4-base                    4.50-6     support files for all exim MTA (v4
ii  exim4-daemon-heavy            4.50-6     exim MTA (v4) daemon with extended

-- no debconf information