Bug#440217: exim4-config: lowuid router is misplaced in order and breaks common setups

Andreas Metzler ametzler at downhill.at.eu.org
Mon Sep 3 17:23:27 UTC 2007


On 2007-09-03 Marc Haber <mh+debian-packages at zugschlus.de> wrote:
> On Thu, Aug 30, 2007 at 08:14:44PM +0200, Andreas Metzler wrote:
[...]
>> The current order causes another kind of breakage that is worse. The
>> router breaks our default /etc/aliases:
>> root: ametzler
>> abuse: root

> The default /etc/aliases is created in exim4-config.postinst and
> contains only aliases from mailer-daemon to postmaster and from
> postmaster, nobody, hostmaster, usenet, news, webmaster, www, ftp,
> abuse, noc and security to root.

> I need more evidence about brokenness.

Hello,
ok, let me demonstrate. (I will split my answers to separate mails to
prioritize the most importatnt stuff.)

After a fresh installation of exim4-conf I end up with
this /etc/aliases:

# /etc/aliases
mailer-daemon: postmaster
postmaster: root
nobody: root
hostmaster: root
usenet: root
news: root
webmaster: root
www: root
ftp: root
abuse: root
noc: root
security: root
root: ametzler

After enabling the lowuid router with
FIRST_USER_ACCOUNT_UID = 1000
abuse is undeliverable from remote addresses:

(SID)root at argenau:/# swaks --pipe "exim -bh 70.103.162.31" -f ametzler at gmx.net -t abuse at argenau.downhill.at.eu.org -q rcpt > /tmp/swaks.log 2>&1
(SID)root at argenau:/# exim4 -bt abuse at argenau.downhill.at.eu.org 
R: system_aliases for abuse at argenau.downhill.at.eu.org
R: lowuid_aliases for root at argenau (UID 0)
R: system_aliases for root at argenau
R: lowuid_aliases for ametzler at argenau (UID 1001)
R: system_aliases for ametzler at argenau
R: userforward for ametzler at argenau
R: procmail for ametzler at argenau
R: maildrop for ametzler at argenau
R: local_user for ametzler at argenau
ametzler at argenau
    <-- root at argenau
    <-- abuse at argenau.downhill.at.eu.org
  router = local_user, transport = mail_spool
(SID)root at argenau:/# swaks --pipe "exim -bh 70.103.162.31" -f ametzler at gmx.net -t abuse at argenau.downhill.at.eu.org -q rcpt
[...]
>>> lowuid_aliases router forced address failure
>>> ----------- end verify ------------
>>> require: condition test failed
LOG: H=murphy.debian.org (argenau) [70.103.162.31] F=<ametzler at gmx.net> rejected RCPT <abuse at argenau.downhill.at.eu.org>: no mail to system accounts
<** 550 no mail to system accounts
 -> QUIT
<-  221 argenau closing connection
[...]

cu andreas
-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Pkg-exim4-maintainers mailing list