--On 23. März 2016 um 15:41:25 +0100 lst_hoe02--- via Info-cyrus <info-cyrus@lists.andrew.cmu.edu> wrote:

we've been using IPv6 for a few years now, but so far we haven't
used it with Cyrus. Now we want to, and I have a few questions:

Is it correct that if we use host names in the listen statement and
add a AAAA record to the DNS that Cyrus will automatically listen to
both the IPv4 and the IPv6 address?

I have manually added listen statements with literal IPv6 addresses
to cyrus.conf and HUP'ed the master, but that didn't seem to work.
What format do I have to use? Plain addresses (e.g.
2001:DB8::6f0:484c:df5:e8b1:28cd), in brackets like in a browser
(e.g. [2001:DB8::6f0:484c:df5:e8b1:28cd]), sendmail-style (e.g.
IPv6:2001:DB8::6f0:484c:df5:e8b1:28cd) or ...? Or is the problem
that for changes like that I have to restart the service?

Cheers
Sebastian

Hm, the man page say "bracket-enclosed IP address" but until now we have
only used the port as service name "imap" e.g. listen="imap" which works
fine for both IPv4 and IPv6 on a dual stack host. Do you have any special
need to use the hostname/IP address and not bind to all local addresses?

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

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

I will now try a host name with bot A and AAAA records, but I assume that will work as well.
--
   .:.Sebastian Hagedorn - Weyertal 121 (Gebäude 133), Zimmer 2.02.:.
                .:.Regionales Rechenzentrum (RRZK).:.
  .:.Universität zu Köln / Cologne University - ✆ +49-221-470-89578.:.

Attachment: pgpgFDC_Ancj7.pgp
Description: PGP signature

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
  • IPv6 Sebastian Hagedorn via Info-cyrus
    • Re: IPv6 Eric Luyten via Info-cyrus
    • Re: IPv6 lst_hoe02--- via Info-cyrus
      • Re: IPv6 Sebastian Hagedorn via Info-cyrus
        • Re: IPv6 Hajimu UMEMOTO via Info-cyrus
          • Re: IPv6 Sebastian Hagedorn via Info-cyrus
            • Re: IPv6 Hajimu UMEMOTO via Info-cyrus
              • Re: IPv6 Bron Gondwana via Info-cyrus
                • Re: IPv6 ellie timoney via Info-cyrus
                • Re: IPv6 Sebastian Hagedorn via Info-cyrus
                • Re: IPv6 ellie timoney via Info-cyrus
                • Re: IPv6 Sebastian Hagedorn via Info-cyrus
                • Re: IPv6 ellie timoney via Info-cyrus
                • Re: IPv6 Sebastian Hagedorn via Info-cyrus

Reply via email to