Bug#301906: exim4: Mail messages sent to local addresses are lost

Vincent Lefevre Vincent Lefevre <vincent@vinc17.org>, 301906@bugs.debian.org
Tue, 29 Mar 2005 17:34:11 +0200


On 2005-03-29 17:14:16 +0200, Marc Haber wrote:
> On Tue, Mar 29, 2005 at 05:01:34PM +0200, Vincent Lefevre wrote:
> > On 2005-03-29 15:41:39 +0200, Marc Haber wrote:
> > > Do you remember which versions of exim4 you had before updating to
> > > 4.50-4?
> > 
> > 4.44-2, but I had the same problem with it.
> 
> Ok. Re-wording the questoin: Which transition did introduce the issue?

4.34-10 -> 4.44-2 AFAIK.

/var/cache/debconf/config.dat contained the following particular
differences:

 Name: exim4/dc_other_hostnames
 Template: exim4/dc_other_hostnames
-Value: 
+Value: ay
 Owners: exim4-config
-Flags: seen
+Flags: mailname, seen
 Variables:
+ fqdn = ay.vinc17.org
  mailname = ay

and for /etc/exim4/exim4.conf.template:

-# The default delivery method. See CONFDIR/conf.d/transports/ for other
-# possibilities
-LOCAL_DELIVERY=maildir_home
+# The default transport, set in /etc/exim4/update-exim4.conf.conf. See
+# CONFDIR/conf.d/transport/ for possibilities
+LOCAL_DELIVERY=DEBCONFlocaldeliveryDEBCONF

and

 # 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
+# identical rewriting rule for /etc/mailname
+DEBCONFrewriteemailaddresses_mailnameDEBCONF
 
-# The same as above, using outdated /etc/exim4/email-addresses, please
-# move its contents to /etc/email-addresses and delete
-# /etc/exim4/email-addresses
-*@+local_domains "${if exists {CONFDIR/email-addresses}\
-                    {${lookup{${local_part}}lsearch{CONFDIR/email-addresses}\
-                   {$value}fail}}fail}" Ffrs

-- 
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA