Bug#297841: exim4-config: Local rewrite stopped working after upgrade in sarge

Daniel Bonniot Daniel Bonniot <Daniel.Bonniot@inria.fr>, 297841@bugs.debian.org
Thu, 03 Mar 2005 22:06:59 +0100


Thanks for the answer.

> Hello,
> Yes, that is caused by
> 
>     - Make exim work correctly if dc_readhost ("visible, rewritten domain name
>       for local users") ends up as part of local_domain, which happens if
>       the same value is chosen for mailname and dc_readhost. This
>       implemented by new router, hub_user_smarthost. Previously users were
>       required to use something different (my.invalid.domain) for mailname.
> 
> and I actually consider this to be a correct change, fixing a bug. 

I believe you that a bug was fixed, I don't know enough exim to comment on that.

However, it seems to me that when a mail is sent to a local user, it is not a 
very sensible thing to do to forward it to the smart host as is, since it will 
surely fail. Shouldn't the default configuration do it differently?

 > If I select "no local mail" I actually don't want local delivery.

Do you want mails to local users to fail?

This is important, because security checks, apt-changelogs, and surely other 
things are sent to a local user (root) by default.

Cheers,

Daniel