Bug#629117: exim4-config: Malformed IP address ":1" in local_interfaces

Paul van Genderen debian at xs4all.nl
Fri Jun 3 16:56:55 UTC 2011

Package: exim4-config
Version: 4.72-6+squeeze2
Severity: normal
Tags: ipv6

When configuring exim4, the IPv6 localhost cannot be used as the
local_interfaces setting because it removes colons. Furthermore,
if one would expand the address like so: 0000:0000::1, only the
first segment is kept. The standard method of explicitly denoting
an IPv6 addresses in brackets is not accepted either.

Some examples:

Answer          Result
::1             Malformed IP address ":1" in local_interfaces

[::1]           Malformed IP address ":1" in local_interfaces

0000::1         Malformed IP address "0000:1" in local_interfaces

[0000::1]       Malformed IP address "0000:1" in local_interfaces

0000:0000::1    Malformed IP address "0000" in local_interfaces

[0000:0000::1]  Malformed IP address "[0000" in local_interfaces

The workaround is to append a semicolon to the address. Kill any running
exim4 process, remove /var/log/exim4/paniclog if it exists and configure
"::1;" as the IP address to listen on.

-- Package-specific info:
Exim version 4.72 #1 built 12-May-2011 18:50:41
Copyright (c) University of Cambridge, 1995 - 2007
Berkeley DB: Berkeley DB 4.8.30: (April  9, 2010)
Support for: crypteq iconv() IPv6 GnuTLS move_frozen_messages DKIM
Lookups: lsearch wildlsearch nwildlsearch iplsearch cdb dbm dbmnz dnsdb 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
GnuTLS compile-time version: 2.8.6
GnuTLS runtime version: 2.8.6
Configuration file is /var/lib/exim4/config.autogenerated

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=nl_NL.UTF-8, LC_CTYPE=nl_NL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages exim4-config depends on:
ii  adduser                       3.112+nmu2 add and remove users and groups
ii  debconf [debconf-2.0]   Debian configuration management sy

exim4-config recommends no packages.

exim4-config suggests no packages.

-- Configuration Files:
/etc/exim4/passwd.client [Errno 13] Toegang geweigerd: u'/etc/exim4/passwd.client'

-- debconf information:
* exim4/mailname: debian
* exim4/dc_localdelivery: mbox format in /var/mail/
* exim4/dc_local_interfaces: ::1
* exim4/dc_minimaldns: false
* exim4/dc_other_hostnames: debian
* exim4/dc_eximconfig_configtype: local delivery only; not on a network
  exim4/no_config: true
* exim4/use_split_config: false

More information about the Pkg-exim4-maintainers mailing list