IPv6

Hajimu UMEMOTO ume at mahoroba.org
Wed Mar 23 12:32:57 EDT 2016


Hi,

>>>>> On Wed, 23 Mar 2016 16:03:10 +0100
>>>>> Sebastian Hagedorn via Info-cyrus <info-cyrus at lists.andrew.cmu.edu> said:

info-cyrus> Yes, I do (multi-homed system), and I have just tried it on a test
info-cyrus> system. Using literal IPv6 adresses without brackets works fine, even
info-cyrus> though it looks strange:

info-cyrus>  imapv6        cmd="imapd" listen="2001:DB8:0:6f0:21c:42ff:fe5e:202e:imap"

Though it is not mentioned in the manpage, the address:port notation
without bracket is also accepted.
You can find the following comment for parse_inet_listen() in
master/master.c:

 * Parse the "listen" parameter as one of the forms:
 *
 * hostname
 * hostname ':' port
 * ipv4-address
 * ipv4-address ':' port
 * '[' ipv4-address ']'
 * '[' ipv4-address ']' ':' port
 * '[' ipv6-address ']'
 * '[' ipv6-address ']' ':' port

info-cyrus> I will now try a host name with bot A and AAAA records, but I assume
info-cyrus> that will work as well.

Yes, it should work.

Sincerely,

--
Hajimu UMEMOTO
ume at mahoroba.org  ume at FreeBSD.org
http://www.mahoroba.org/~ume/


More information about the Info-cyrus mailing list