Bug#287581: exim4-config: Please split default ACLs into separate files

Tor Slettnes Tor Slettnes <tor@slett.net>, 287581@bugs.debian.org
Tue, 28 Dec 2004 14:06:17 -0800


Package: exim4-config
Version: 4.34-7
Severity: wishlist

I wrote and maintain the "greylistd" program and Debian package, and I
have a need to add/maintain statements in the RCPT and DATA ACLs for
Exim 4.  Currently, I do that via a specialized
"greylistd-setup-exim4" script, called from my postinst/prerm scripts,
that modifies or all of the following configuration files:

   /etc/exim4/exim4.conf.template
   /etc/exim4/conf.d/acl/30_exim4-config_check_rcpt
   /etc/exim4/conf.d/acl/40_exim4-config_check_data

Unfortunately, I have learned that this violates Debian Policy, as I
am modifying (another package's) conffiles from maintainer scripts.

To be able to continue to do this automatically, it would help if
Exim4's configuration files could be split further, e.g.:

  - 30_exim4_config_check_rcpt containing only "acl_check_rcpt:"
  - 3{1-9}_exim4_config_check_rcpt containing the "meat"

For now, I will no longer offer to setup greylisting automatically, 
but instead have the user run the utility separately from the command
line (putting the burden of modifying these conffiles on him/her).

-tor


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

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

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: smtp.comcast.net
* exim4/dc_relay_domains: partial-lsearch;CONFDIR/hubbed_hosts
* exim4/dc_relay_nets: CONFDIR/relay_from_hosts
* exim4/mailname: slett.net
* exim4/dc_local_interfaces:
* exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames: CONFDIR/local_domains
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
  exim4/no_config: true
* exim4/hide_mailname: false
  exim4/dc_postmaster: none
  exim4/dc_readhost:
* exim4/use_split_config: true
  exim4/exim4-config-title: