Bug#276016: /usr/sbin/exim4: exim4-daemon-heavy: /etc/email-addresses is not used

Jari Aalto Jari Aalto <jari.aalto@poboxes.com>, 276016@bugs.debian.org
Mon, 11 Oct 2004 18:41:22 +0300


Package: exim4-daemon-heavy
Version: 4.34-4
Severity: normal
File: /usr/sbin/exim4

File /etc/email-addresses announces following at the top of file:

    # This is /etc/email-addresses. It is part of the exim package
    #
    # This file contains email addresses to use for outgoing mail. Any local
    # part not in here will be qualified by the system domain as normal.
    ...

However, defining alises here does not have any effect:

    # exim4 -brw loginnname
    No rewrite rules are defined

Judging from the /etc/exim4/conf.d/rewrite/31_exim4-config_rewriting
it appears that the support has been commented out:

    # This rewriting rule is particularily useful for dialup users who
    # don't have their own domain, but could be useful for anyone.
    # It looks up the real address of all local users in a file
    #*@+local_domains ${lookup{${local_part}}lsearch{/etc/email-addresses}\
    #                   {$value}fail} Ffrs

I think the lines should be active to make use of /etc/email-addresses
feature.

-- 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