I’m new to Virtualmin hosting control panel and I got this error message when login to webmail via https://domain.com:20000
An error occurred listing mail in this folder : Failed to connect to localhost:143 : Connection refused
This problem happens when Dovecot IMAP and POP3 service is not started. So I start the service and problem solved.
# /etc/init.d/dovecot start
- listing mail