Your message dated Fri, 29 Jun 2007 18:44:40 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#431088: exim4-config: Crashes on upgrade
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)

--- Begin Message ---
Package: exim4-config
Version: 4.67-5
Severity: important

In my /etc/exim4/update-exim4.conf.conf, I have this (hostnames changed
for this report):

dc_smarthost='"${if eq {LOCATION}{home}{host1.example.com}{host2.example.com}}"'

Upon trying to dpkg --configure -a, this package crashes with:

Setting up exim4-config (4.67-5) ...
/usr/sbin/update-exim4.conf: non-ascii value "${if eq 
{location}{home}{host1.example.com}{host2.example.com}}" read from 
/etc/exim4/update-exim4.conf.conf, sanitizing to ___if eq 
_location__home__host1.example.com__host2.example.com___
2007-06-29 10:41:57 Exim configuration error in line 722 of 
/var/lib/exim4/config.autogenerated.tmp:
  option "DEBCONFheaders_rewriteDEBCONF" unknown
Invalid new configfile /var/lib/exim4/config.autogenerated.tmp, not installing
/var/lib/exim4/config.autogenerated.tmp to /var/lib/exim4/config.autogenerated
dpkg: error processing exim4-config (--configure):
 subprocess post-installation script returned error exit status 1

The headers_rewrite appears to be a separate problem related to the fact that
I did not take upgrades to 30_exim4-config_remote_smtp_smarthost, which
would have broken some custom configs.

-- Package-specific info:
Exim version 4.67 #1 built 28-Jun-2007 13:09:54
Copyright (c) University of Cambridge 2006
Berkeley DB: Sleepycat Software: Berkeley DB 4.3.29: (September  6, 2005)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages
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
Size of off_t: 8
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (99, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.4-mactel (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages exim4-config depends on:
ii  adduser                       3.103      Add and remove users and groups
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy

exim4-config recommends no packages.

-- debconf information excluded


--- End Message ---
--- Begin Message ---
On Fri, Jun 29, 2007 at 10:46:56AM -0500, John Goerzen wrote:
> In my /etc/exim4/update-exim4.conf.conf, I have this (hostnames changed
> for this report):
> 
> dc_smarthost='"${if eq 
> {LOCATION}{home}{host1.example.com}{host2.example.com}}"'

This is not supported. dc_smarthost is documented as a "List of hosts".

More complex settings should be made directly inside exim
configuration by means of the macros that are used to configure exim.
In your case, this would be DCsmarthost.

> Upon trying to dpkg --configure -a, this package crashes with:
> 
> Setting up exim4-config (4.67-5) ...
> /usr/sbin/update-exim4.conf: non-ascii value "${if eq 
> {location}{home}{host1.example.com}{host2.example.com}}" read from 
> /etc/exim4/update-exim4.conf.conf, sanitizing to ___if eq 
> _location__home__host1.example.com__host2.example.com___
> 2007-06-29 10:41:57 Exim configuration error in line 722 of 
> /var/lib/exim4/config.autogenerated.tmp:
>   option "DEBCONFheaders_rewriteDEBCONF" unknown

Additionally, you did not read
/usr/share/doc/exim4-config/NEWS.Debian.gz and are trying to run a
post 4.67-2 exim with a pre 4.67-2 config.

A tiny buglet in update-exim4.conf deprived you from seeing the error
message resulting from the check for non-docs readers that was added
in 4.67-4:

     DEBCONFsomethingDEBCONF found in exim configuration. This is most
     probably caused by you upgrading to exim4 4.67-3 or later without
     accepting the suggested conffile changes. Please read
     /usr/share/doc/exim4-config/NEWS.Debian.gz for 4.67-2 and 4.67-4

> The headers_rewrite appears to be a separate problem related to the fact that
> I did not take upgrades to 30_exim4-config_remote_smtp_smarthost, which
> would have broken some custom configs.

Custom configs would be required to manually adapt to the new scheme,
as documented in NEWS.Debian.

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 3221 2323190

--- End Message ---

Reply via email to