Kopano Gateway IMAP(s) and POP3(s) not listening on IPv4
-
Hi,
i installed kopano 8.7.0-3 on debian 10 from the official repo nearly like huerter.me, added amavisd with clamav + spamassassin and added letsencrypt. It looks everything is working perfect. Now i want to use imap(s) and pop3(s) but after activating all in gateway.cfg the service kopano-gateway is not listening at ipv4 but only ipv6.
pop3_listen = *:110
pop3s_listen = *:995
imap_listen = *:143
imaps_listen = *:993
ssl_private_key_file = /etc/kopano/gateway/privkey.pem
ssl_certificate_file = /etc/kopano/gateway/cert.pemEven after activating logging with debug level 6 the log is nearly empty and no problem is shown.
Did i miss something?
thank you
-
Found it, service has to listen on 0.0.0.0:[port]
pop3_listen = 0.0.0.0:110
pop3s_listen = 0.0.0.0:995
imap_listen = 0.0.0.0:143
imaps_listen = 0.0.0.0:993 -
@bongo hmm… I have not tested this recently, bit afair *:port should listen on both ipv4 and ipv6. Of you cannot reproduce the issue with our packages I would recommend to open an issue on the Debian bugtracker.
-
In versions before 8.7.82.115,
*
is resolved to just one socket (IPv6, which is multiprotocol by default). If you have thenet.ipv6.bindv6only
sysctl set to1
however, that would be an IPv6-only socket. In that case,ss -lnpt
will also show[::]:143
instead of*:143
to reflect just that.