Hello,
I have set up some domains on my server and I have enabled Mail for domain for all domains.
But when I try to connect to IMAP and POP3 server I’m getting this error : ConnectException: Connection refused
I can’t find any error report in log files, also I’m not sure about whicg log file to check.
What must be the next step for me? Can you please help me on fixing this error.
Thanks
Operating system Ubuntu Linux 12.04.1
Webmin version 1.610
Virtualmin version 3.97.gpl GPL
Theme version 8.5
Kernel and CPU Linux 3.2.0-34-generic on x86_64
From where exactly are you trying to connect to where? Regular or SSL port? Any routers or firewalls involved? Can you ping the server? Are you using IPs or hostnames? Does the hostname resolve?
You might want to check if Dovecot running on your server and listening on all IPs: netstat -tpln | grep 143 should turn up results for Dovecot.
Check if a local firewall is blocking ports: iptables -L -n
Otherwise check with your hoster if ports need to be opened.
Uuhm, according to your pastebin, when connecting from the remote site, you connected to port 443? That’s HTTPS, why do you connect to that when you want to test IMAP?
I guess it’s expected behavior that the HTTPS daemon waits for a few seconds for the client to initiate the SSL setup, and closes the connection when nothing happens. HTTPS does not have any “greeting line” from the server.