exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

Bug #12014 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
exim4 (Debian)
Fix Released
Unknown
exim4 (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #291037 http://bugs.debian.org/291037

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #291037 http://bugs.debian.org/291037

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <E1Cqqga-0005ib-PS@aneto>
Date: Tue, 18 Jan 2005 11:34:08 +0100
From: Nicolas STRANSKY <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

Package: exim4
Version: 4.34-10
Severity: grave
Justification: renders package unusable

I've had to downgrade exim4 from 4.43-3 to previous 4.34-10 since 4.43-3 failed to send
any mail with the following error :

2005-01-18 11:11:42 1CqqKs-0006nZ-51 == <email address hidden> 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}@neo-lan.net}${if
match_domain{$sender_address_domain}{aneto.local.lan}{${sender_address_local_part}@neo-lan.net}fail}}":
syntax error in "if" item - "fail" expected

I made no particular changes in the configuration during or after the
dist-upgrade.

Regards,

-- Package-specific info:
Exim version 4.34 #1 built 05-Jan-2005 11:06:10
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='satellite'
dc_other_hostnames='aneto.local.lan'
dc_local_interfaces='127.0.0.1'
dc_readhost='neo-lan.net'
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost='aster.local.lan'

CFILEMODE='644'
dc_use_split_config='true'
dc_hide_mailname='true'
dc_mailname_in_oh='true'
mailname:aneto.local.lan

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.10-mm2
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-1) (ignored: LC_ALL set to fr_FR)

Versions of packages exim4 depends on:
ii exim4-base 4.34-10 EXperimental Internal Mailer -- a
ii exim4-daemon-light 4.34-10 Lightweight version of the Exim (v

-- no debconf information

Revision history for this message
In , Marc Haber (mh+debian-packages) wrote : Re: Bug#291037: exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

severity 291037 important
# this doesn't render the package completely unuseable for everyone
# since the bug only appears in nullmailer setups
merge 291037 290954 290956
# please refer to the bts before reporting new bugs. that one has
# already been reported twice
thanks

A fix is under way.

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

Revision history for this message
In , Adam D. Barratt (debian-bts-adam-barratt) wrote : Reassign and merge 291037

package exim4
reassign 291037 exim4-config
package exim4-config
merge 291037 290954
thanks

Revision history for this message
In , Marc Haber (mh+debian-packages) wrote : Re: Bug#291037: exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

reassign 291037 exim4-config
merge 291037 290954 290956
thanks

A fix is under way.

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 18 Jan 2005 12:22:43 +0100
From: Marc Haber <email address hidden>
To: Nicolas STRANSKY <email address hidden>, <email address hidden>
Subject: Re: Bug#291037: exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

severity 291037 important
# this doesn't render the package completely unuseable for everyone
# since the bug only appears in nullmailer setups
merge 291037 290954 290956
# please refer to the bts before reporting new bugs. that one has
# already been reported twice
thanks

A fix is under way.

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <0a6501c4fd53$1ce5c670$eb00010a@andromeda>
Date: Tue, 18 Jan 2005 11:44:38 -0000
From: "Adam D. Barratt" <email address hidden>
To: <email address hidden>
Subject: Reassign and merge 291037

package exim4
reassign 291037 exim4-config
package exim4-config
merge 291037 290954
thanks

Revision history for this message
In , Andreas Metzler (eximusers) wrote : Re: Bug#290954: return_path macro generates invalid syntax

tags 290956 patch pending
thanks
On 2005-01-17 "Adam D. Barratt" <email address hidden> wrote:
> As noted on exim-users (the thread starting at
> http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050117/msg00036.html), the recent changes to return_path in update-exim4.conf lead to the generated configuration file failing to parse.

> This is due to a set of missing braces around the inner if
[...]

Thanks, I'll upload a fix soon.

For the meantime safe the attached file as /tmp/fix-up-ex4.conf and run

patch /usr/sbin/update-exim4.conf < /tmp/fix-up-ex4.conf
invoke-rc.d exim4 reload

          sorry, 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/

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 18 Jan 2005 12:54:31 +0100
From: Marc Haber <email address hidden>
To: <email address hidden>
Subject: Re: Bug#291037: exim4 4.43-3 fails to send mail after upgrade from 4.34-10 (syntax error)

reassign 291037 exim4-config
merge 291037 290954 290956
thanks

A fix is under way.

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

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 18 Jan 2005 13:22:20 +0100
From: Andreas Metzler <email address hidden>
To: <email address hidden>, <email address hidden>
Subject: Re: Bug#290954: return_path macro generates invalid syntax

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

tags 290956 patch pending
thanks
On 2005-01-17 "Adam D. Barratt" <email address hidden> wrote:
> As noted on exim-users (the thread starting at
> http://www.exim.org/mail-archives/exim-users/Week-of-Mon-20050117/msg00036.html), the recent changes to return_path in update-exim4.conf lead to the generated configuration file failing to parse.

> This is due to a set of missing braces around the inner if
[...]

Thanks, I'll upload a fix soon.

For the meantime safe the attached file as /tmp/fix-up-ex4.conf and run

patch /usr/sbin/update-exim4.conf < /tmp/fix-up-ex4.conf
invoke-rc.d exim4 reload

          sorry, 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/

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="fix-up-ex4.conf"

--- /tmp/update-exim4.conf 2005-01-18 12:53:39.000000000 +0100
+++ /usr/sbin/update-exim4.conf 2005-01-18 12:54:34.000000000 +0100
@@ -252,7 +252,7 @@
  satellite|smarthost)
  if [ "${dc_hide_mailname}" = "true" ] && [ -n "${dc_readhost}" ] ; then
   DEBCONFheaders_rewriteDEBCONF='headers_rewrite = *@+local_domains $1@DCreadhost frs : *@'"$mailname"' $1@DCreadhost frs'
- 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}}'
+ 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}}}'
  fi
  ;;
  local)

--M9NhX3UHpAaciwkO--

Revision history for this message
In , Andreas Metzler (ametzler) wrote : Bug#290954: fixed in exim4 4.43-4
Download full text (3.4 KiB)

Source: exim4
Source-Version: 4.43-4

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.43-4_i386.deb
  to pool/main/e/exim4/exim4-base_4.43-4_i386.deb
exim4-config_4.43-4_all.deb
  to pool/main/e/exim4/exim4-config_4.43-4_all.deb
exim4-daemon-heavy_4.43-4_i386.deb
  to pool/main/e/exim4/exim4-daemon-heavy_4.43-4_i386.deb
exim4-daemon-light_4.43-4_i386.deb
  to pool/main/e/exim4/exim4-daemon-light_4.43-4_i386.deb
exim4_4.43-4.diff.gz
  to pool/main/e/exim4/exim4_4.43-4.diff.gz
exim4_4.43-4.dsc
  to pool/main/e/exim4/exim4_4.43-4.dsc
exim4_4.43-4_all.deb
  to pool/main/e/exim4/exim4_4.43-4_all.deb
eximon4_4.43-4_i386.deb
  to pool/main/e/exim4/eximon4_4.43-4_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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <email address hidden> (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 <email address hidden>)

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

Format: 1.7
Date: Tue, 18 Jan 2005 12:57:58 +0100
Source: exim4
Binary: eximon4 exim4-daemon-custom exim4-daemon-heavy exim4-base exim4 exim4-daemon-light exim4-config
Architecture: source i386 all
Version: 4.43-4
Distribution: unstable
Urgency: low
Maintainer: Exim4 Maintainers <email address hidden>
Changed-By: Andreas Metzler <email address hidden>
Description:
 exim4 - An MTA (Mail Transport Agent)
 exim4-base - EXperimental Internal Mailer -- a Mail Transport Agent
 exim4-config - Debian configuration for exim4
 exim4-daemon-heavy - Exim (v4) with extended features, including exiscan-acl
 exim4-daemon-light - Lightweight version of the Exim (v4) MTA
 eximon4 - X monitor for the Exim (v4) mail transport agent
Closes: 290945 290954
Changes:
 exim4 (4.43-4) unstable; urgency=low
 .
   * Change update-exim4.conf to again generate a valid return_path (instead
     of defering any mail to remote systems) if dc_hide_mailname='true'.
     (Closes: #290954)
   * Fix typo in changelog and exim4-config's NEWS.
   * Some changes (most notably changing the interfaces exim listens on)
     require restarting exim instead of just sending HUP. Change documentation
     and exim4-config.config accordingly. (Closes: #290945)
Files:
 4fb9e8d591974ef6cf2191e6a8b504ab 1073 mail important exim4_4.43-4.dsc
 49e1508150ff927a724a74795383d405 555844 mail important exim4_4.43-4.diff.gz
 e5c484e02b40ef19b64e52e4b60ebf84 770288 mail important exim4-base_4.43-4_i386.deb
 4314a9e4378c9c0251d8c23703b4b71c 360372 mail important exim4-daemon-light_4.43-4_i386.deb
 eb3f061e5993eb8844ab70ffc9101777 73146 mail optional eximon4_4.43-4_i386.deb
 1055c1b39950c43c7d9c9b5e624a1d5d 434388 mail optional exim4-daemon-heavy_4.43-4_i386.deb
 6f1c88bbd8ea7d82058fc5e5292a...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (3.6 KiB)

Message-Id: <email address hidden>
Date: Tue, 18 Jan 2005 08:02:14 -0500
From: Andreas Metzler <email address hidden>
To: <email address hidden>
Subject: Bug#290954: fixed in exim4 4.43-4

Source: exim4
Source-Version: 4.43-4

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.43-4_i386.deb
  to pool/main/e/exim4/exim4-base_4.43-4_i386.deb
exim4-config_4.43-4_all.deb
  to pool/main/e/exim4/exim4-config_4.43-4_all.deb
exim4-daemon-heavy_4.43-4_i386.deb
  to pool/main/e/exim4/exim4-daemon-heavy_4.43-4_i386.deb
exim4-daemon-light_4.43-4_i386.deb
  to pool/main/e/exim4/exim4-daemon-light_4.43-4_i386.deb
exim4_4.43-4.diff.gz
  to pool/main/e/exim4/exim4_4.43-4.diff.gz
exim4_4.43-4.dsc
  to pool/main/e/exim4/exim4_4.43-4.dsc
exim4_4.43-4_all.deb
  to pool/main/e/exim4/exim4_4.43-4_all.deb
eximon4_4.43-4_i386.deb
  to pool/main/e/exim4/eximon4_4.43-4_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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Metzler <email address hidden> (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 <email address hidden>)

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

Format: 1.7
Date: Tue, 18 Jan 2005 12:57:58 +0100
Source: exim4
Binary: eximon4 exim4-daemon-custom exim4-daemon-heavy exim4-base exim4 exim4-daemon-light exim4-config
Architecture: source i386 all
Version: 4.43-4
Distribution: unstable
Urgency: low
Maintainer: Exim4 Maintainers <email address hidden>
Changed-By: Andreas Metzler <email address hidden>
Description:
 exim4 - An MTA (Mail Transport Agent)
 exim4-base - EXperimental Internal Mailer -- a Mail Transport Agent
 exim4-config - Debian configuration for exim4
 exim4-daemon-heavy - Exim (v4) with extended features, including exiscan-acl
 exim4-daemon-light - Lightweight version of the Exim (v4) MTA
 eximon4 - X monitor for the Exim (v4) mail transport agent
Closes: 290945 290954
Changes:
 exim4 (4.43-4) unstable; urgency=low
 .
   * Change update-exim4.conf to again generate a valid return_path (instead
     of defering any mail to remote systems) if dc_hide_mailname='true'.
     (Closes: #290954)
   * Fix typo in changelog and exim4-config's NEWS.
   * Some changes (most notably changing the interfaces exim listens on)
     require restarting exim instead of just sending HUP. Change documentation
     and exim4-config.config accordingly. (Closes: #290945)
Files:
 4fb9e8d591974ef6cf2191e6a8b504ab 1073 mail important exim4_4.43-4.dsc
 49e1508150ff927a724a74795383d405 555844 mail important exim4_4.43-4.diff.gz
 e5c484e02b40ef19b64e52e4b60ebf84 770288 mail important exim4-base_4.43-4_i386.deb
 4314a9e4378c9c0251d8c23703b4b71c 360372 mail important exim4-daemon-light_4.4...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

Affected version didn't enter Ubuntu

Changed in exim4:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.