Bug#276126: exim4-daemon-heavy: [headers_remove] allow option to exists multiple times
Jari Aalto
Jari Aalto <jari.aalto@cante.net>, 276126@bugs.debian.org
Tue, 12 Oct 2004 09:24:15 +0300
Package: exim4-daemon-heavy
Version: 4.34-4
Severity: wishlist
I was writing code like this to the outgoing SMTP transport:
remote_smtp:
debug_print = "T: remote_smtp for $local_part@$domain"
driver = smtp
.ifdef MY_SMTP_DISABLE_SENDER
headers_remove = Sender
.endif
.ifdef SA_EXIM_SMTP_HEADERS_REMOVE
headers_remove = X-SA-Do-Not-Run \
: X-SA-Exim-Scanned \
: X-SA-Exim-Rcpt-To \
: X-SA-Exim-Mail-From \
: X-SA-Exim-Version \
: X-SA-Exim-Connect-IP
.endif
Unfortunately option 'headers_remove' cannot be used multiple times:
2004-10-12 09:18:00 Exim configuration error in line 478 of
/var/lib/exim4/config.autogenerated.tmp:
"headers_remove" option set for the second time
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp
not installing /var/lib/exim4/config.autogenerated.tmp to
If possible, add support for these options, so that they could appear
multiple times.
headers_remove, headers_add
This way different programs could integrate to Exim in modular manner
using ifdef's.
-- 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-daemon-heavy depends on:
ii exim4-base 4.34-4 EXperimental Internal Mailer -- a
ii libc6 2.3.2.ds1-16 GNU C Library: Shared libraries an
ii libdb3 3.2.9-20 Berkeley v3 Database Libraries [ru
ii libgnutls10 1.0.4-3 GNU TLS library - runtime library
ii libldap2 2.1.30-3 OpenLDAP libraries
ii libmysqlclient10 3.23.56-2 LGPL-licensed client library for M
ii libpam0g 0.76-22 Pluggable Authentication Modules l
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libperl5.8 5.8.4-2 Shared Perl library.
ii libpq3 7.4.3-3 Shared library libpq.so.3 for Post
-- no debconf information