exim4: Fails to rewrite outgoing From headers in satellite mode



Package: exim4
Version: 4.67-5build1
Severity: important
Tags: patch



Exim4 4.67-5 does not honor dc_hide_mailname='true' setting.
Please see Debian BTS #432716
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=432716

Adding the following file fixes the problem for me:

#################################
### transport/10_exim4-config_transport-macros
#################################
..ifdef HIDE_MAILNAME
REMOTE_SMTP_HEADERS_REWRITE=*@+local_domains $1@DCreadhost frs :
*@ETC_MAILNAME $1@DCreadhost frs
REMOTE_SMTP_RETURN_PATH=${if
match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}{${if
match_domain{$sender_address_domain}{ETC_MAILNAME}{${sender_address_local_part}@DCreadhost}fail}}}
..endif



Thanks :)

---

James




-- Package-specific info:
Exim version 4.67 #1 built 04-Oct-2007 20:49:12
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September 6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz 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='satellite'
dc_other_hostnames='study:study.local'
dc_local_interfaces='127.0.0.1'
dc_readhost='delx.net.au'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.internode.on.net'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
dc_localdelivery='mail_spool'
mailname:study.local

-- System Information:
Debian Release: lenny/sid
APT prefers gutsy-updates
APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy-backports'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-14-generic (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4 depends on:
ii debconf [debconf-2.0] 1.5.14ubuntu1 Debian configuration management sy
ii exim4-base 4.67-5build1 support files for all Exim MTA (v4
ii exim4-daemon-light 4.67-5build1 lightweight Exim MTA (v4) daemon

exim4 recommends no packages.

-- debconf information:
exim4/drec:

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: Replicating Debian Systems
    ... >way to install debian would be to stick a cd into a computer, ... >to do just that and maybe d/l the packages off of the web or another ... >I also have some of my own software to install and also need to modify ... but maintaining configuration files with cfengine is ...
    (Debian-User)
  • unsubscribe
    ... > Subject: debian newbie... ... If I need to recompile the kernel, ... Also, what other additional packages, ... >> The package you're trying to install presumably ...
    (Debian-User)
  • Debian Weekly News - July 20th, 2004 (fwd)
    ... Debian Weekly News - July 20th, ... General Resolution to force AMD64 into Sarge? ... his plan to upload gcc-3.4 packages to unstable. ... the Free Software Printing Summit that was held during this year's LSM ...
    (comp.os.linux.announce)
  • Re: Before going with debian questions.
    ... > and is slow to get security updates. ... selected packages installed from unstable, ... I'd recommend running Debian for 3-6 months before hopping onto the ... many bugs _are_ caught in the first ten days of release. ...
    (Debian-User)
  • Re: Running testing? -- read this.
    ... I'm just an average Testing user, have been for a while, and around me almost every Debian users I know are using Testing, mostly because it's the Debian's flavour which can compare with other distros in term of being usable on a reasonably new computer, with up-to-date softwares. ... be considered a developer-only version, and according to my experience (i use it for work, along with Ubuntu stations... ... better still (it has NEWER packages!), but Unstable must not work well, ... You will also get the pleasure of finding all the bugs, ...
    (Debian-User)