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

#782092#5
Date:
2015-04-07 19:22:19 UTC
From:
To:
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@example.com
john@ourserver.com: joe3@example.com
----- Forwarded message from Heiko Schlittermann <hs@schlittermann.de> -----

Date: Tue, 7 Apr 2015 08:26:11 +0200
From: Heiko Schlittermann <hs@schlittermann.de>
To: 1608@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.

#782092#10
Date:
2015-04-07 21:40:56 UTC
From:
To:
tags 782092 wontfix
severity 782092 wishlist
thanks

I'm setting this bug wontfix. It would deviate too far from what
people expect from an /etc/aliases file.

Greetings
marc