Bug#291072: marked as done (exim4-config: update-exim4.conf contains bad syntax for smarthost return_path variable)

Debian Bug Tracking System owner@bugs.debian.org
Tue, 18 Jan 2005 07:33:17 -0800


Your message dated Tue, 18 Jan 2005 16:26:52 +0100
with message-id <20050118152652.GA4358@torres.l21.ma.zugschlus.de>
and subject line Bug#291072: exim4-config: update-exim4.conf contains bad syntax for smarthost return_path variable
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; 18 Jan 2005 15:12:15 +0000
>From nam1@cec.wustl.edu Tue Jan 18 07:12:14 2005
Return-path: <nam1@cec.wustl.edu>
Received: from pop-a065d05.pas.sa.earthlink.net [207.217.121.249] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Cqv1i-0004BB-00; Tue, 18 Jan 2005 07:12:14 -0800
Received: from h-67-101-137-236.phlapafg.dynamic.covad.net ([67.101.137.236] helo=metaverse.homeip.net)
	by pop-a065d05.pas.sa.earthlink.net with esmtp (Exim 3.33 #1)
	id 1Cqv1h-0005vD-00; Tue, 18 Jan 2005 07:12:13 -0800
Received: from [128.237.229.97] (helo=blacksun.metaverse.homeip.net)
	by metaverse.homeip.net with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16)
	(Exim 4.34)
	id 1Cqv2S-0004rB-C8; Tue, 18 Jan 2005 10:13:00 -0500
Received: from cypher by blacksun.metaverse.homeip.net with local (Exim 4.43)
	id 1CqXiL-0001US-N8; Mon, 17 Jan 2005 09:18:41 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: "Nik A. Melchior" <nam1@cec.wustl.edu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: exim4-config: update-exim4.conf contains bad syntax for smarthost
 return_path variable
X-Mailer: reportbug 3.5
Date: Mon, 17 Jan 2005 09:18:41 -0500
Message-Id: <E1CqXiL-0001US-N8@blacksun.metaverse.homeip.net>
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=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: exim4-config
Version: 4.43-3
Severity: normal


I am trying to send a message from my laptop, through my smarthost, addressed
from an account at a different domain.  The message is addressed to this email
address, <nam1@cec.wustl.edu>, which is yet a different domain.  I am
receiving the following error from exim:

2005-01-17 08:58:39 1CqJ7w-00026V-0F == nam1@cec.wustl.edu R=smarthost T=remote_smtp_smarthost defer (-1): Failed to expand return path "${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@metaverse.homeip.net}${if match_domain{$sender_address_domain}{metaverse.homeip.net}{${sender_address_local_part}@metaverse.homeip.net}fail}}": syntax error in "if" item - "fail" expected

which appears to come from line 255 in /usr/sbin/update-exim4.conf:

DEBCONFreturn_pathDEBCONF='return_path = ${if match_domain{$sender_address_domain}{+local_domains}{${sender_address_local_part}@DCreadhost}${if match_domain{$sender_address_domain}{'"$mailname"'}{${sender_address_local_part}@DCreadhost}fail}}'

I wish I could provide a patch, but I don't understand the syntax of these
files.

-- Package-specific info:
Exim version 4.43 #1 built 16-Jan-2005 19:29:43
Copyright (c) University of Cambridge 2004
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 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'

dc_eximconfig_configtype='smarthost'
dc_other_hostnames='metaverse.homeip.net'
dc_local_interfaces='127.0.0.1'
dc_readhost='metaverse.homeip.net'
dc_relay_domains=''
dc_minimaldns='true'
dc_relay_nets=''
#dc_smarthost='mail.cec.wustl.edu'
#dc_smarthost='usermail.flex.com'
dc_smarthost='metaverse.homeip.net'

CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
mailname:metaverse.homeip.net

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-swsusp2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages exim4-config depends on:
ii  adduser                     3.59         Add and remove users and groups
ii  debconf [debconf-2.0]       1.4.42       Debian configuration management sy
ii  passwd                      1:4.0.3-30.8 Change and administer password and

-- debconf information:
  exim4/dc_noalias_regenerate: false
* exim4/dc_smarthost: metaverse.homeip.net
* exim4/dc_relay_domains:
* exim4/dc_relay_nets:
* exim4/mailname: metaverse.homeip.net
* exim4/dc_local_interfaces: 127.0.0.1
* exim4/dc_minimaldns: true
  exim4/exim3_upgrade: true
* exim4/dc_other_hostnames:
* exim4/dc_eximconfig_configtype: mail sent by smarthost; received via SMTP or fetchmail
  exim4/no_config: true
* exim4/hide_mailname: true
* exim4/dc_postmaster: cypher
* exim4/dc_readhost: metaverse.homeip.net
* exim4/use_split_config: false
  exim4/exim4-config-title:

---------------------------------------
Received: (at 291072-done) by bugs.debian.org; 18 Jan 2005 15:26:58 +0000
>From mh+debian-packages@zugschlus.de Tue Jan 18 07:26:58 2005
Return-path: <mh+debian-packages@zugschlus.de>
Received: from 5301d.unt0.torres.l21.ma.zugschlus.de (torres.int.l21.ma.zugschlus.de) [217.151.83.1] (Debian-exim)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CqvFy-0007vG-00; Tue, 18 Jan 2005 07:26:58 -0800
Received: from mh by torres.int.l21.ma.zugschlus.de with local (Exim 4.43)
	id 1CqvFs-0001QY-VS; Tue, 18 Jan 2005 16:26:52 +0100
Date: Tue, 18 Jan 2005 16:26:52 +0100
From: Marc Haber <mh+debian-packages@zugschlus.de>
To: "Nik A. Melchior" <nam1@cec.wustl.edu>, 291072-done@bugs.debian.org
Subject: Re: Bug#291072: exim4-config: update-exim4.conf contains bad syntax for smarthost return_path variable
Message-ID: <20050118152652.GA4358@torres.l21.ma.zugschlus.de>
References: <E1CqXiL-0001US-N8@blacksun.metaverse.homeip.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E1CqXiL-0001US-N8@blacksun.metaverse.homeip.net>
User-Agent: Mutt/1.3.28i
Delivered-To: 291072-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=-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: 

On Mon, Jan 17, 2005 at 09:18:41AM -0500, Nik A. Melchior wrote:
> I am trying to send a message from my laptop, through my smarthost, addressed
> from an account at a different domain.  The message is addressed to this email
> address, <nam1@cec.wustl.edu>, which is yet a different domain.

This has already been reported three times, and is fixed in 4.43-4.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835