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

Adam D. Barratt "Adam D. Barratt" <debian-bts@adam-barratt.org.uk>, 276016@bugs.debian.org
Mon, 11 Oct 2004 17:29:41 +0100


On Monday, October 11, 2004 4:41 PM, Jari Aalto <jari.aalto@poboxes.com>
wrote:

> Package: exim4-daemon-heavy
> Version: 4.34-4
> Severity: normal
> File: /usr/sbin/exim4
[...]
> 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.

So far as I can see, they already *are* uncommented in exim4-config 4.34-4:

adb@starbug:/usr/src/exim4/exim-4.34-4$ egrep -l --recursive "# This
rewriting rule" . | xargs -n1 egrep -A5 "# This rewriting rule"

# 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

# 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

Running the above over the local source trees I have available shows that
the result is true for 4.33-1 as well as 4.34-[12456].

What version of exim4-config do you have installed? Have you modified that
file at all?

Regards,

Adam