Bug#782092: exim4-config: Support both local and full email addresses in /etc/aliases

Victor Porton porton at narod.ru
Tue Apr 7 19:22:19 UTC 2015


Package: exim4-config
Version: 4.84-8
Severity: wishlist

Dear Maintainer,

The default configuration of Exim in Debian should support both both local and
full email addresses in /etc/aliases .

For example the following should be valid:

joe: joe2 at example.com
john at ourserver.com: joe3 at example.com

----- Forwarded message from Heiko Schlittermann <hs at schlittermann.de> -----

Date: Tue, 7 Apr 2015 08:26:11 +0200
From: Heiko Schlittermann <hs at schlittermann.de>
To: 1608 at bugs.exim.org
Subject: Re: [Bug 1608] Allow qualified emails in /etc/aliases

There will not be such an option, ever. I guess. Since it's Exim's
approach to give you a framework to configure whatever you want, and not
to give you options such single purpose options.

You can use an additional router or you can use the "failing" branch of
the lookup in your existing router.

    system_aliases:
        …
        … = ${lookup{$local_part}lsearch{/etc/aliases}}

    full_aliases:
        …
        … = ${lookup{$local_part@$domain}lsearch{/etc/aliases}}


OR

    full_and_system_aliases:
        …
        … = ${lookup{$local_part@$domain}lsearch{/etc/aliases}{$value}\
             {${lookup{$local_part}lsearch{/etc/aliases}}}}

I think, the Exim specification contains examples like this one above.

-- Package-specific info:

-- System Information:
Debian Release: 8.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (x86_64)

Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)

Versions of packages exim4-config depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.56

exim4-config recommends no packages.

exim4-config suggests no packages.

-- Configuration Files:
/etc/email-addresses changed [not included]
/etc/exim4/passwd.client [Errno 13] Permission denied: u'/etc/exim4/passwd.client'

-- debconf information excluded



More information about the Pkg-exim4-maintainers mailing list