TableOfContents

Cyrus imap IPv6 configuration guide

Which version of Cyrus imap supports IPv6?

[http://cyrusimap.web.cmu.edu/imapd/ Cyrus IMAPD] began IPv6 support in version 2.

How can I limit IPv6 connection in cyrus imap?

You can use TCP wrapper to restrict access to your Cyrus IMAPD. If you want to allow imaps and pop3s access from outside network and deny unencrypted imap and pop3 access outside from internal service segment of your network. To achieve this include the following in somewhere in the beginning of /etc/hosts.allow. Be sure that you deny at the end.

You need to be careful about one thing: usually, you specify the name of daemon as the first item (daemon_list) for each line, but in Cyrus, you need to specify the service name used in cyrus.conf SERVICES section.

imap : [2001:db8:400:100::] /64 : allow
pop3 : [2001:db8:400:100::] /64 : allow
imap : ALL : deny
pop3 : ALL : deny
imaps : ALL : allow
pop3s : ALL : allow