Connection to mail server refused
Hi.
I encounter a problem with command ./vrms-web.pl6
. When I tip : USER=user@domain.fr PASSWORD=S3cr3t SERVER=mail.dryusdan.fr ./vrms-web.pl6
this return an error :
Could not connect socket: Connection refused
in method new at /var/www/vrms/P6-Net-IMAP/lib/Net/IMAP.pm6 (Net::IMAP) line 20
in method new at /var/www/vrms/P6-Net-IMAP/lib/Net/IMAP.pm6 (Net::IMAP) line 25
in block <unit> at ./vrms-web.pl6 line 61
I check Iptables, output is open (shhh, i know is bad
2018-09-18T21:28:03.402495+02:00 mail dovecot: imap-login: Login: user=<user@domain.fr>, method=PLAIN, rip=172.18.0.1, lip=172.18.0.6, mpid=659, TLS, session=<FLzbSSp2TJisEgAB>
2018-09-18T21:28:03.420273+02:00 mail dovecot: imap(user@domain.fr): Logged out in=89 out=935
Little particularity, I have a IPv6 mailserver and an ipv6 server (when I tip command), maybe this ?
Thank for your help