Bug#244095: marked as done (exim4: Should "satellite" use /etc/mailname as "visible name" and abolish dc_readhost?)

Debian Bug Tracking System owner@bugs.debian.org
Sun, 27 Feb 2005 05:03:07 -0800


Your message dated Sun, 27 Feb 2005 13:51:27 +0100
with message-id <20050227125127.GA31598@downhill.aus.cc>
and subject line Fixed in 4.44-2
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 16 Apr 2004 16:25:41 +0000
>From ametzler@logic.univie.ac.at Fri Apr 16 09:25:41 2004
Return-path: <ametzler@logic.univie.ac.at>
Received: from server.logic.univie.ac.at [131.130.190.41] ([CS6kgaOJxB11HHOg8U1/yItqeA8YSFLe])
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BEW9s-0007wT-00; Fri, 16 Apr 2004 09:25:41 -0700
Received: from balrog.logic.univie.ac.at ([131.130.190.58] ident=[MPuD3N4x5rtKR3Esh57SxjCeVIOzSA9O])
	by server.logic.univie.ac.at with esmtp (Exim 4.32)
	id 1BEW9q-0004Ww-RU; Fri, 16 Apr 2004 18:25:38 +0200
Received: from ametzler by balrog.logic.univie.ac.at with local (Exim 4.31)
	id 1BEW9o-0001fo-7Z; Fri, 16 Apr 2004 18:25:36 +0200
Date: Fri, 16 Apr 2004 18:25:36 +0200
From: Andreas Metzler <ametzler@logic.univie.ac.at>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4: Should "satellite" use /etc/mailname as "visible name" and abolish dc_readhost?
Message-ID: <20040416162536.GA6429@balrog.logic.univie.ac.at>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 1.50
X-Archive: encrypt
X-Debbugs-Cc: exim4debian@logic.univie.ac.at
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Andreas Metzler <ametzler@balrog.logic.univie.ac.at>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-10.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	X_DEBBUGS_CC autolearn=ham version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 1

Package: exim4
Version: N/A; reported 2004-04-16
Severity: important

According to policy:
| If your package needs to know what hostname to use on (for example)
| outgoing news and mail messages which are generated locally, you
| should use the file /etc/mailname. It will contain the portion after
| the username and @ (at) sign for email addresses of users on the
| machine (followed by a newline).

This is not entirely clear but imho the way we use mailname is clearly
broken. - We use it as a only locally visible item, instead of "the
hostname portion of the address to be shown on outgoing news and mail
messages"

I have pondered this a little bit and I think we might be able fix it
this way:
#1 Do not use /etc/mailname as qualify_domain for sat-sys. Leave it
   unset and use the fqdn.
#2 do not make /etc/mailname a part of local_domains for sat-sys.
#3 abolish dc_readhost and rewrite *@+local_domains to $1@/etc/mailname

Could this work?
             cu andreas
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux balrog 2.4.24-1-k7 #1 Wed Feb 4 23:39:21 EST 2004 i686
Locale: LANG=de_AT, LC_CTYPE=de_AT

---------------------------------------
Received: (at 244095-done) by bugs.debian.org; 27 Feb 2005 12:53:59 +0000
>From ametzler@debian.org Sun Feb 27 04:53:59 2005
Return-path: <ametzler@debian.org>
Received: from m26s25.vlinux.de [83.151.30.59] ([Pg4RoL3OAoopvp7aNKC86n/EcPFKpEaP])
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D5Nvr-0004IN-00; Sun, 27 Feb 2005 04:53:59 -0800
Received: from 194-208-126-041.tele.net
	([194.208.126.41] helo=argenau.downhill.at.eu.org ident=[kaT19e+YvQvOx9HRzL/lkZtho75ehPxm])
	by m26s25.vlinux.de with esmtpa (Exim 4.44)
	id 1D5NvZ-0006bQ-A9; Sun, 27 Feb 2005 12:53:42 +0000
Received: from ametzler by argenau.downhill.at.eu.org with local (Exim 4.50)
	id 1D5NtP-0008Dy-BA; Sun, 27 Feb 2005 13:51:27 +0100
Date: Sun, 27 Feb 2005 13:51:27 +0100
From: Andreas Metzler <ametzler@debian.org>
To: 244095-done@bugs.debian.org, 259459-done@bugs.debian.org,
	280207-done@bugs.debian.org
Subject: Fixed in 4.44-2
Message-ID: <20050227125127.GA31598@downhill.aus.cc>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-GPG-Fingerprint: BCF7 1345 BE42 B5B8 1A57  EE09 1D33 9C65 8B8D 7663
User-Agent: Mutt/1.5.6+20040907i
X-Spam-Score: -2.6 (--)
Delivered-To: 244095-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

This bug is fixed in 4.43-3, the respective changelog says:

  * make nullmailer setup and the way we use mailname a lot more sensible,
    attacking #244095 and #280207:
    - mailname is not implicitely made a local domain, instead it is listed
      explicitely in dc_other_hostnames, where users can easily remove it
      from. (This is basically what postfix does, too.) When upgrading
      existing installations mailname is automatically added _once_ to
      dc_other_hostnames, on fresh installations mailname is the default
      value of dc_other_hostnames. We store the fact that we have added
      mailname to dc_other_hostnames in $dc_mailname_in_oh in
      update-exim4.conf.conf.
    - 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.
    - Special thanks to Christian Perrier for taking care of the
      template translation updates.

    cu andreas

-- 
"See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf,
fuhggvat qbja gur juveyvat tha.
Neal Stephenson in "Snow Crash"
                                           http://downhill.aus.cc/