Bug#291072: exim4-config: update-exim4.conf contains bad syntax for smarthost return_path variable
Nik A. Melchior
"Nik A. Melchior" <nam1@cec.wustl.edu>, 291072@bugs.debian.org
Mon, 17 Jan 2005 09:18:41 -0500
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: