Bug#304838: marked as done (exim4-config: "mail sent by smarthost; no local mail" causes weird behavior wrt local delivery)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 26 May 2005 13:03:15 -0700


Your message dated Thu, 26 May 2005 15:47:20 -0400
with message-id <E1DbOK8-0006ao-00@newraff.debian.org>
and subject line Bug#304838: fixed in exim4 4.50-7
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; 15 Apr 2005 20:28:48 +0000
>From andrew@pimlott.net Fri Apr 15 13:28:48 2005
Return-path: <andrew@pimlott.net>
Received: from smtp809.mail.sc5.yahoo.com [66.163.168.188] 
	by spohr.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1DMXQm-0008Dr-00; Fri, 15 Apr 2005 13:28:48 -0700
Received: from unknown (HELO madstop.pimlott.net) (andrew.pimlott@sbcglobal.net@63.200.127.30 with login)
  by smtp809.mail.sc5.yahoo.com with SMTP; 15 Apr 2005 20:18:43 -0000
Received: from andrew by madstop.pimlott.net with local (Exim 3.35 #1 (Debian))
	id 1DMehX-0005l1-00; Fri, 15 Apr 2005 21:14:35 -0700
Date: Fri, 15 Apr 2005 21:14:35 -0700
From: Andrew Pimlott <andrew@pimlott.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4-config: "mail sent by smarthost; no local mail" causes weird behavior wrt local delivery
Message-ID: <20050416041435.GA8680@pimlott.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Reportbug-Version: 3.9
User-Agent: Mutt/1.5.9i
Delivered-To: submit@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=-6.0 required=4.0 tests=BAYES_00,DATE_IN_FUTURE_06_12,
	HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: exim4-config
Version: 4.50-5
Severity: normal

I have just installed a Debian unstable machine and configured exim4 for
"mail sent by smarthost; no local mail".  This has two weird effects
(which I don't think are the same as bug 297841):  (Throughout this
message, I have replaced my domain with example.com.)

1.  Mail to real-andrew is not delivered locally; instead, exim tries to
    deliver to real-andrew@example.com.  Since root is aliased to
    real-andrew, this means that system messages are not delivered.  The
    debconf questions imply that real- mail should be delivered locally
    even with "mail sent by smarthost; no local mail".

2.  Mail to andrew@localhost fails with "451 Temporary local problem".
    The log message looks bizarre:

        2005-04-15 13:12:40 H=localhost [127.0.0.1]:33800 I=[127.0.0.1]:25 U=andrew F=<w@whitehouse.gov> temporarily rejected RCPT <andrew@localhost>: error in redirect data: domain missing or malformed in "andrew@"

    I don't know where "andrew@" came from.  I think that @localhost
    mail should be delivered locally even with "mail sent by smarthost;
    no local mail", especially since that's what fetchmail uses.
    However, even if you want to reject such mail, the error status and
    log message should probably made more clear.

Andrew

-- Package-specific info:
Exim version 4.50 #1 built 03-Apr-2005 07:22:57
Copyright (c) University of Cambridge 2004
Berkeley DB: Sleepycat Software: Berkeley DB 4.2.52: (December  3, 2003)
Support for: iconv() IPv6 GnuTLS
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dsearch nis 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
Configuration file is /var/lib/exim4/config.autogenerated
# /etc/exim4/update-exim4.conf.conf
#
# Edit this file and /etc/mailname by hand and execute update-exim4.conf
# yourself or use 'dpkg-reconfigure exim4-config'
#
# This is a Debian specific file

dc_eximconfig_configtype='satellite'
dc_other_hostnames=''
dc_local_interfaces='127.0.0.1'
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='mail.example.com'
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='false'
dc_mailname_in_oh='true'
mailname:example.com

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-2-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages exim4-config depends on:
ii  adduser                 3.63             Add and remove users and groups
ii  debconf [debconf-2.0]   1.4.48           Debian configuration management sy
ii  passwd                  1:4.0.3-31sarge2 change and administer password and

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: mail.example.com
  exim4/dc_relay_domains:
  exim4/dc_relay_nets:
* exim4/mailname: example.com
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: false
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames:
* exim4/dc_eximconfig_configtype: mail sent by smarthost; no local mail
  exim4/no_config: true
* exim4/hide_mailname: false
* exim4/dc_postmaster: real-andrew
* exim4/dc_readhost:
* exim4/use_split_config: false
  exim4/exim4-config-title:


---------------------------------------
Received: (at 304838-close) by bugs.debian.org; 26 May 2005 19:51:34 +0000
>From katie@ftp-master.debian.org Thu May 26 12:51:34 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DbOOD-0001HF-00; Thu, 26 May 2005 12:51:33 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DbOK8-0006ao-00; Thu, 26 May 2005 15:47:20 -0400
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: 304838-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#304838: fixed in exim4 4.50-7
Message-Id: <E1DbOK8-0006ao-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Thu, 26 May 2005 15:47:20 -0400
Delivered-To: 304838-close@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=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 2

Source: exim4
Source-Version: 4.50-7

We believe that the bug you reported is fixed in the latest version of
exim4, which is due to be installed in the Debian FTP archive:

exim4-base_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-base_4.50-7_i386.deb
exim4-config_4.50-7_all.deb
  to pool/main/e/exim4/exim4-config_4.50-7_all.deb
exim4-daemon-heavy_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-daemon-heavy_4.50-7_i386.deb
exim4-daemon-light_4.50-7_i386.deb
  to pool/main/e/exim4/exim4-daemon-light_4.50-7_i386.deb
exim4_4.50-7.diff.gz
  to pool/main/e/exim4/exim4_4.50-7.diff.gz
exim4_4.50-7.dsc
  to pool/main/e/exim4/exim4_4.50-7.dsc
exim4_4.50-7_all.deb
  to pool/main/e/exim4/exim4_4.50-7_all.deb
eximon4_4.50-7_i386.deb
  to pool/main/e/exim4/eximon4_4.50-7_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 304838@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Marc Haber <mh+debian-packages@zugschlus.de> (supplier of updated exim4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Thu, 26 May 2005 17:47:24 +0000
Source: exim4
Binary: eximon4 exim4-daemon-custom exim4-daemon-heavy exim4-base exim4 exim4-daemon-light exim4-config
Architecture: source i386 all
Version: 4.50-7
Distribution: unstable
Urgency: low
Maintainer: Exim4 Maintainers <pkg-exim4-maintainers@lists.alioth.debian.org>
Changed-By: Marc Haber <mh+debian-packages@zugschlus.de>
Description: 
 exim4      - metapackage to ease exim MTA (v4) installation
 exim4-base - support files for all exim MTA (v4) packages
 exim4-config - configuration for the exim MTA (v4)
 exim4-daemon-heavy - exim MTA (v4) daemon with extended features, including exiscan-ac
 exim4-daemon-light - lightweight exim MTA (v4) daemon
 eximon4    - monitor application for the exim MTA (v4) (X11 interface)
Closes: 299743 304838 305443 305957 306094 306349 306613 306970 307370 309174 310057 310118 310703
Changes: 
 exim4 (4.50-7) unstable; urgency=low
 .
   * Documentation Only Fixes
     - Fix grammar error in README.system_aliases. Thanks to Andreas
       Barth on IRC. (mh)
     - Optimize unencrypted authentication docs. Thanks to Drew Parsons.
       (mh) Closes: #305443
     - Clarify dc_smarthost host list processing in update-exim4.conf.8.
       (mh) Closes: #307370
     - Clarify split-config description in README.Debian.
       Thanks to Luc Saffre. (mh)
     - Fix a typo in README.Debian-accountname, thanks to Brett Parker. (mh)
     - Fix an issue in the exim manpage creating the illusion that
       whitespace is allowed between -d and its options.
       Thanks to Greg Kochanski. (mh) Closes: #309174
     - Start re-work of README.Debian FAQ.
     - Add "should -config depend on -base" question to README.Debian FAQ.
     - Link README.Debian to -daemon-light and -daemon-heavy, include a
       copy of README.Debian in -config.
       Thanks to Daniel Maier. (mh) #Closes: 310118
   * Translations
     - Update: cy (Welsh) by Dafydd Harries. (mh) Closes: #306349
     - New: vi (Vietnamese) by Clytie Siddall. (mh) Closes: #306613
     - Fix typos in pt.po (Thanks, Miguel Figueire) (am) Closes: #310057
   * Configuration Clarification
     - move the regexps in the local part checks to macros, adapt docs.
       Thanks to Adam M. Costello. (mh) Closes: #306094
   * Bug Fixes
     - preserve escape sequences like '\\N' in
       /etc/exim4/update-exim4.conf.conf:
       - use awk instead of sed in exim4-config.postinst (Thanks, Barry Kitson).
       - use printf '%s\n' "$foo" instead of echo "$foo". (echo in dash would
         swallow the second backslash)
       - actually making this work requires changes in debconf, too,
         see #306134.
       - (Closes: #305957) (am)
     - apply upstream patch from
       http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050425/msg00035.html
       in some circumstances, exim writes parts of /etc/passwd and/or
       /etc/group to the reject log. This scares people. (mh)
     - apply upstream patch from
       http://www.exim.org/mail-archives/exim-dev/2005-April/msg00012.html to
       only try SASL mechanisms that are actually specified in the
       configurations. Thanks to Juergen Kreileder. (mh) Closes: #299743
     - Build against libmysqlclient12-dev instead of libmysqlclient10-dev.
       (am) Closes: #306970
     - As "mail sent by smarthost; no local mail" aka satellite requires setting
       dc_readhost always ask this question. (am) Closes: #304838
     - Make nonsplit-config read /etc/exim4/exim4.conf.localmacros before
       /etc/exim4/exim4.conf.template to allow macros her as well. (mh)
     - Make it clear that "broken debconf" warning is issued by
       exim4-config.postinst
     - Make sure that "generated, do not touch" disclaimer in
       /var/lib/exim4/config.autogenerated always appears
     - [exim4-config] As the.config script stores answers in debconf's db and the
       postinst actually generates configurations files from these values
       restarting the daemon on dpkg-reconfigure has to be done in postinst. (am)
       Closes: #310703
Files: 
 21545fc2bc82cbbb44cca570a4849341 1057 mail important exim4_4.50-7.dsc
 b70f4d20da79d1f3305a6a905bd42497 466152 mail important exim4_4.50-7.diff.gz
 a32694022f7785397763eefe025d292d 814790 mail important exim4-base_4.50-7_i386.deb
 196b47b16047fb1c5e58073bb3dde4b5 369196 mail important exim4-daemon-light_4.50-7_i386.deb
 48d92050fa301c6e405b5a5247936dc2 78398 mail optional eximon4_4.50-7_i386.deb
 74d0ed9273d1feb59b795a8c48020be3 419712 mail optional exim4-daemon-heavy_4.50-7_i386.deb
 7d1c46976708ed315f69b23fbc294668 240896 mail important exim4-config_4.50-7_all.deb
 664c762a52bbc793e5ee6a901fd95891 1824 mail important exim4_4.50-7_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iEYEARECAAYFAkKWFgwACgkQgZalRGu6PIT4HwCfYQ8vZbEO2ooc1Oc44GBs5Nmq
8dYAn03c1Ph6HknQq7kyWIvxxAVFVN1s
=7MVa
-----END PGP SIGNATURE-----