On Tue, Feb 25, 2014 at 03:53:08PM +1100, Julien Goodwin wrote:
I've just upgraded my mail box to wheezy, and at
the same time enabled
v6 on it, however I can't figure out what magic syntax is needed for
perdition to actual listen on v6.
The package in wheezy is 1.19~rc5-1+b1 which seems like it should have
v6 support, but it doesn't by default listen on v6, and with what seems
like the obvious setting:
bind_address 0.0.0.0,::
Fails to start.
Nowhere in the docs can I see any examples with v6 addresses, so I don't
know if it's perhaps expecting [::] style or something different.
Any pointers?
Hi Julien,
the (undocumented) syntax is "[::]".
However, unfortunately it seems that in the case of
"0.0.0.0,[::]" there is a bug that prevents perdition
to binding to both addresses.
I am not sure what the bug is, but it is most likely
in the way that vanessa_socket_server_bind() (in vanessa_socket)
calls bind() in the case of "[::]".
A possible work-around for this is to bind to the specific
IPv6 addresses rather than rather than "[::]".
e.g.:
"0.0.0.0,[::1],[::2]"