Bug#291537: exim4: upgrade from 4.34-10 to 4.43-4 bounces all my mails!

Arnaud Vandyck Arnaud Vandyck <avdyk@debian.org>, 291537@bugs.debian.org
Fri, 21 Jan 2005 13:44:04 +0100


Fri, 21 Jan 2005 12:51:32 +0100,=20
Marc Haber <mh+debian-packages@zugschlus.de> wrote:=20

Hi Marc,

> Looks like your fetchmail tries to deliver mails to arnaud@localhost.
> Can you please confirm this?

Yes, I confirm.

> What does your exim say when you invoke /usr/sbin/exim4 -d -bt
> arnaud@localhost?

This is with 4.34-10.

Exim version 4.34 uid=3D0 gid=3D0 pid=3D20005 D=3Dfbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch n=
is nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real =3D effective
  uid=3D0 gid=3D0 pid=3D20005
  auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors =3D 00000ffc 00010400
trusted user
admin user
user name "root" extracted from gecos field "root"
originator: uid=3D0 gid=3D0 login=3Droot name=3Droot
sender address =3D root@localhost
Address testing: uid=3D0 gid=3D110 euid=3D0 egid=3D110
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing arnaud@localhost
--------> hubbed_hosts router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exi=
m4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
localhost in "@:localhost:localhost:localhost"? yes (matched "localhost")
localhost in "! +local_domains"? no (matched "! +local_domains")
smarthost router skipped: domains mismatch
--------> real_local router <--------
local_part=3Darnaud domain=3Dlocalhost
real_local router skipped: prefix mismatch
--------> system_aliases router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
R: system_aliases for arnaud@localhost
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file=3D"/etc/aliases"
  key=3D"arnaud" partial=3D-1 affix=3DNULL starflags=3D0
LRU list:
  :/etc/aliases
  End
internal_search_find: file=3D"/etc/aliases"
  type=3Dlsearch key=3D"arnaud"
file lookup required for arnaud
  in /etc/aliases
lookup failed
expanded:=20
file is not a filter file
parse_forward_list:=20
system_aliases router declined for arnaud@localhost
--------> hub_user router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking for local user
R: hub_user for arnaud@localhost
calling hub_user router
rda_interpret (string): ${local_part}@localhost
expanded: arnaud@localhost
file is not a filter file
parse_forward_list: arnaud@localhost
extract item: arnaud@localhost
hub_user router generated arnaud@localhost
  errors_to=3DNULL transport=3DNULL
  uid=3Dunset gid=3Dunset home=3DNULL
routed by hub_user router
  envelope to: arnaud@localhost
  transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing arnaud@localhost
--------> hubbed_hosts router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exi=
m4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
localhost in "@:localhost:localhost:localhost"? yes (matched "localhost")
localhost in "! +local_domains"? no (matched "! +local_domains")
smarthost router skipped: domains mismatch
--------> real_local router <--------
local_part=3Darnaud domain=3Dlocalhost
real_local router skipped: prefix mismatch
--------> system_aliases router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
R: system_aliases for arnaud@localhost
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
  cached open
search_find: file=3D"/etc/aliases"
  key=3D"arnaud" partial=3D-1 affix=3DNULL starflags=3D0
LRU list:
  :/etc/aliases
  End
internal_search_find: file=3D"/etc/aliases"
  type=3Dlsearch key=3D"arnaud"
cached data used for lookup of arnaud
  in /etc/aliases
lookup failed
expanded:=20
file is not a filter file
parse_forward_list:=20
system_aliases router declined for arnaud@localhost
--------> hub_user router <--------
hub_user router skipped: previously routed arnaud@localhost
--------> userforward router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking for local user
finduser used cached passwd data for arnaud
R: userforward for arnaud@localhost
calling userforward router
rda_interpret (file): $home/.forward
expanded: /home/arnaud/.forward
stat(/home/arnaud/.)=3D0
/home/arnaud/.forward does not exist
userforward router declined for arnaud@localhost
--------> procmail router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking for local user
finduser used cached passwd data for arnaud
R: procmail for arnaud@localhost
checking require_files
finduser used cached passwd data for arnaud
check subsequent files for access by arnaud
file check: ${if exists{/etc/procmailrc}{/etc/procmailrc}{${home}/.procmail=
rc}}
expanded file: /home/arnaud/.procmailrc
stat() yielded -1
errno =3D 2
procmail router skipped: file check
--------> maildrop router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking for local user
finduser used cached passwd data for arnaud
R: maildrop for arnaud@localhost
checking require_files
finduser used cached passwd data for arnaud
check subsequent files for access by arnaud
file check: ${home}/.mailfilter
expanded file: /home/arnaud/.mailfilter
stat() yielded -1
errno =3D 2
maildrop router skipped: file check
--------> local_user router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking local_parts
arnaud in "! root"? yes (end of list)
checking for local user
finduser used cached passwd data for arnaud
R: local_user for arnaud@localhost
calling local_user router
local_user router called for arnaud@localhost
  domain =3D localhost
set transport mail_spool
queued for mail_spool transport: local_part =3D arnaud
domain =3D localhost
  errors_to=3DNULL
  domain_data=3DNULL localpart_data=3DNULL
routed by local_user router
  envelope to: arnaud@localhost
  transport: mail_spool
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3D20005 terminating with rc=3D0 >>>>>>>>>>>>>>>>
arnaud@localhost
    <-- arnaud@localhost
  router =3D local_user, transport =3D mail_spool

       ---------------------------------------------------------

Here is with 4.43-4

Exim version 4.43 uid=3D0 gid=3D0 pid=3D20933 D=3Dfbb95cfd
Berkeley DB: Sleepycat Software: Berkeley DB 3.2.9: (May 26, 2004)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch n=
is nis0 passwd
Authenticators: cram_md5 plaintext
Routers: accept dnslookup ipliteral manualroute queryprogram redirect
Transports: appendfile/maildir/mailstore autoreply lmtp pipe smtp
Fixed never_users: 0
changed uid/gid: forcing real =3D effective
  uid=3D0 gid=3D0 pid=3D20933
  auxiliary group list: <none>
configuration file is /var/lib/exim4/config.autogenerated
log selectors =3D 00000ffc 00010400
trusted user
admin user
user name "root" extracted from gecos field "root"
originator: uid=3D0 gid=3D0 login=3Droot name=3Droot
sender address =3D root@localhost
Address testing: uid=3D0 gid=3D110 euid=3D0 egid=3D110
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Testing arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing arnaud@localhost
--------> hubbed_hosts router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exi=
m4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
localhost in "@:localhost:localhost"? yes (matched "localhost")
localhost in "! +local_domains"? no (matched "! +local_domains")
smarthost router skipped: domains mismatch
--------> real_local router <--------
local_part=3Darnaud domain=3Dlocalhost
real_local router skipped: prefix mismatch
--------> system_aliases router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
R: system_aliases for arnaud@localhost
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
search_find: file=3D"/etc/aliases"
  key=3D"arnaud" partial=3D-1 affix=3DNULL starflags=3D0
LRU list:
  :/etc/aliases
  End
internal_search_find: file=3D"/etc/aliases"
  type=3Dlsearch key=3D"arnaud"
file lookup required for arnaud
  in /etc/aliases
lookup failed
expanded:=20
file is not a filter file
parse_forward_list:=20
system_aliases router declined for arnaud@localhost
--------> hub_user router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
checking for local user
R: hub_user for arnaud@localhost
calling hub_user router
rda_interpret (string): ${local_part}@localhost
expanded: arnaud@localhost
file is not a filter file
parse_forward_list: arnaud@localhost
extract item: arnaud@localhost
hub_user router generated arnaud@localhost
  errors_to=3DNULL transport=3DNULL
  uid=3Dunset gid=3Dunset home=3DNULL
routed by hub_user router
  envelope to: arnaud@localhost
  transport: <none>
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Considering arnaud@localhost
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
routing arnaud@localhost
--------> hubbed_hosts router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
expansion of "${if exists{/etc/exim4/hubbed_hosts}{partial-lsearch;/etc/exi=
m4/hubbed_hosts}fail}" forced failure: assume not in this list
hubbed_hosts router skipped: domains mismatch
--------> smarthost router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
localhost in "@:localhost:localhost"? yes (matched "localhost")
localhost in "! +local_domains"? no (matched "! +local_domains")
smarthost router skipped: domains mismatch
--------> real_local router <--------
local_part=3Darnaud domain=3Dlocalhost
real_local router skipped: prefix mismatch
--------> system_aliases router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
cached yes match for +local_domains
cached lookup data =3D NULL
localhost in "+local_domains"? yes (matched "+local_domains" - cached)
R: system_aliases for arnaud@localhost
calling system_aliases router
rda_interpret (string): ${lookup{$local_part}lsearch{/etc/aliases}}
search_open: lsearch "/etc/aliases"
  cached open
search_find: file=3D"/etc/aliases"
  key=3D"arnaud" partial=3D-1 affix=3DNULL starflags=3D0
LRU list:
  :/etc/aliases
  End
internal_search_find: file=3D"/etc/aliases"
  type=3Dlsearch key=3D"arnaud"
cached data used for lookup of arnaud
  in /etc/aliases
lookup failed
expanded:=20
file is not a filter file
parse_forward_list:=20
system_aliases router declined for arnaud@localhost
--------> hub_user router <--------
hub_user router skipped: previously routed arnaud@localhost
--------> hub_user_smarthost router <--------
local_part=3Darnaud domain=3Dlocalhost
checking domains
localhost in "localhost"? yes (matched "localhost")
checking for local user
finduser used cached passwd data for arnaud
R: hub_user_smarthost for arnaud@localhost
calling hub_user_smarthost router
hub_user_smarthost router called for arnaud@localhost
  domain =3D localhost
route_item =3D * smtp.mailvb.ulg.ac.be byname
localhost in "*"? yes (matched "*")
original list of hosts =3D "smtp.mailvb.ulg.ac.be" options =3D byname
expanded list of hosts =3D "smtp.mailvb.ulg.ac.be" options =3D byname
set transport remote_smtp_smarthost
finding IP address for smtp.mailvb.ulg.ac.be
calling host_find_byname
gethostbyname2(af=3Dinet6) returned 3 (NO_RECOVERY)
fully qualified name =3D serv54.segi.ulg.ac.be
gethostbyname2 looked up these IP addresses:
  name=3Dserv54.segi.ulg.ac.be address=3D139.165.32.99
queued for remote_smtp_smarthost transport: local_part =3D arnaud
domain =3D localhost
  errors_to=3DNULL
  domain_data=3DNULL localpart_data=3DNULL
routed by hub_user_smarthost router
  envelope to: arnaud@localhost
  transport: remote_smtp_smarthost
  host serv54.segi.ulg.ac.be [139.165.32.99]
search_tidyup called
>>>>>>>>>>>>>>>> Exim pid=3D20933 terminating with rc=3D0 >>>>>>>>>>>>>>>>
arnaud@localhost
    <-- arnaud@localhost
  router =3D hub_user_smarthost, transport =3D remote_smtp_smarthost
  host serv54.segi.ulg.ac.be [139.165.32.99]=20

Fri, 21 Jan 2005 13:15:49 +0100,=20
Marc Haber <mh+debian-packages@zugschlus.de> wrote:=20

> On Fri, Jan 21, 2005 at 12:23:02PM +0100, Arnaud Vandyck wrote:
>> dc_eximconfig_configtype=3D'satellite'
>
> This setting is generated when you choose "mail sent by smarthost; no
> local mail" in the exim4-config configuration dialog. The french
> version of that template says "Envoi via relais (=AB=A0smart
> host=A0=BB) - pas de courrier local" which at least sounds similar.
>
> So, you have configured your exim to not handle local mail, which
> means that every mail is handed off to the smarthost.

So why does it works for four years with this configuration? Should I
file a bug report against exim3 and exim4 4.34-10?

> You need to configure your exim to deliver local mails, which does not
> seem to be the case.

OK, I'll read the doc to know how to configure exim4 to send mails to my
SMTP provider.

> I will treat this as a non-bug until you have shown me a clear bug in
> exim.

The problem is it used to work!

Maybe you can decrease the severity to normal or even lower if you want
and tag it wontfix if you want. It's strange I'm the only one that made
the mistake ;-)

Thanks for your quick reply,

Cheers,

--=20
  .''`.=20
 : :' :rnaud
 `. `'=20=20
   `-=20=20=20=20