Bug#360162: exim4-config: IPv6 localhost (::1) is not parsed properly

Marc Haber mh+debian-packages at zugschlus.de
Sat Apr 29 16:37:58 UTC 2006


tags #360162 confirmed
thanks

On Fri, Mar 31, 2006 at 02:17:08AM +0200, Adam Borowski wrote:
> The localhost address is the only typical IPv6 address that starts with a
> double colon (as old-style v4-mapped addresses are deprecated); however, it
> is impossible to parse such colon-separated lists in general.
> Thus, the only solutions I can think of are:
> a) documenting this caveat
> b) allowing a different separator (with the added bonus of having IPv6
>    addresses human-readable)

I intend to go with spec.txt 6.19 and change the separator to a
semicolon:


   Doubling colons in IPv6 addresses is an unwelcome chore, so a
   mechanism was introduced to allow the separator character to be
   changed. If a list begins with a left angle bracket, followed by
   any punctuation character, that character is used instead of colon
   as the list separator. For example, the list above can be rewritten
   to use a semicolon separator like this:

   local_interfaces = <; 127.0.0.1 ; ::1

I'll change update-exim4.conf to the following behavior: for the
values of dc_local_interfaces and dc_relay_nets, if a Semicolon is
found in the value, add "<;" to the beginning of the string.

This makes a Semicolon a valid separator, while preserving backwards
compatibility. Would this help?

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




More information about the Pkg-exim4-maintainers mailing list