Bug#496029: exim4-config: Should use www-data user instead of www when generates /etc/aliases

Vitalie Lazu vitalie.lazu at gmail.com
Fri Aug 22 07:32:13 UTC 2008


Package: exim4-config
Version: 4.69-6
Severity: minor

Here is a little patch to forward www-data mail to root by default

Index: debian/exim4-config.postinst
===================================================================
--- debian/exim4-config.postinst        (revision 2305)
+++ debian/exim4-config.postinst        (working copy)
@@ -60,7 +60,7 @@
 writealiases() {
 echo '# /etc/aliases' > /etc/aliases.tmp
 echo 'mailer-daemon: postmaster' >> /etc/aliases.tmp
-for i in postmaster nobody hostmaster usenet news webmaster www ftp abuse noc security ; do
+for i in postmaster nobody hostmaster usenet news webmaster www-data ftp abuse noc security ; do
        echo "${i}: root"
 done >> /etc/aliases.tmp
 mv /etc/aliases.tmp /etc/aliases


-- Package-specific info:
Exim version 4.69 #1 built 19-Jul-2008 19:07:35
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 replace
# the DEBCONFsomethingDEBCONF strings in the configuration template files.
#
# 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='local'
dc_other_hostnames='huge'
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:host.com

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.25-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4-config depends on:
ii  adduser                       3.108      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy

exim4-config recommends no packages.

exim4-config suggests no packages.

-- debconf information excluded





More information about the Pkg-exim4-maintainers mailing list