Bug#514393: exim4-config: local rewrites should include full alias name, e.g. 'Bob Dylan <bob at dylan.com>'

A.Politz politza at fh-trier.de
Fri Feb 6 23:38:56 UTC 2009


Package: exim4-config
Version: 4.69-9
Severity: wishlist
Tags: patch

*** Please type your report below this line *** I use exim4 for
sending mail from a desktop system and my username is rather silly. I
would like my full name to appear in send messages, which I have
configured in '/etc/email-addresses'.  Adding the 'w' option to the
rewrite rules in `rewrite/31_exim4-config_rewriting' seems to
acomplish this.

A.Politz

diff -c -L /sudo:root at localhost:/etc/exim4/conf.d/rewrite/31_exim4-config_rewriting -L /tmp/buffer-content-13564dEg /tmp/tramp.13564qOm /tmp/buffer-content-13564dEg
*** /sudo:root at localhost:/etc/exim4/conf.d/rewrite/31_exim4-config_rewriting
--- /tmp/buffer-content-13564dEg
***************
*** 7,16 ****
  # It looks up the real address of all local users in a file
  .ifndef NO_EAA_REWRITE_REWRITE
  *@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\
!                    {$value}fail}" Ffrs
  # identical rewriting rule for /etc/mailname
  *@ETC_MAILNAME "${lookup{${local_part}}lsearch{/etc/email-addresses}\
!                    {$value}fail}" Ffrs
  .endif


--- 7,16 ----
  # It looks up the real address of all local users in a file
  .ifndef NO_EAA_REWRITE_REWRITE
  *@+local_domains "${lookup{${local_part}}lsearch{/etc/email-addresses}\
!                    {$value}fail}" Ffrsw
  # identical rewriting rule for /etc/mailname
  *@ETC_MAILNAME "${lookup{${local_part}}lsearch{/etc/email-addresses}\
!                    {$value}fail}" Ffrsw
  .endif



-- Package-specific info:
Exim version 4.69 #1 built 30-Sep-2008 18:26: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 generate
# exim configuration macros for the configuration file.
#
# 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='smarthost'
dc_other_hostnames='newcastle'
dc_local_interfaces='127.0.0.1'
dc_readhost='fh-trier.de'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.fh-trier.de'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:newcastle

-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
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.110      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.24     Debian configuration management sy

exim4-config recommends no packages.

exim4-config suggests no packages.

-- debconf information:
* exim4/dc_smarthost: mail.fh-trier.de
* exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/mailname: newcastle
* exim4/dc_localdelivery: mbox format in /var/mail/
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: newcastle
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
  exim4/no_config: true
* exim4/hide_mailname: true
  exim4/dc_postmaster: andy
* exim4/dc_readhost: fh-trier.de
* exim4/use_split_config: false
  exim4/exim4-config-title:





More information about the Pkg-exim4-maintainers mailing list