

For example, on cPanel servers, we use the below command to check if the customer’s IP address xx.xx.xx.xx is blocked. And, if these ports are not opened in the server, customers will receive this error.įirstly, our Support Engineers ensure that the IP address of the customer isn’t blocked in the server firewall. Similarly, the default IMAP port is 143 and Secure IMAP port(SSL/TLS port) is 993. Remote server blocks connections from an IP address due to abnormal activities, too many connections, etc. We’ve seen instances where remote server blocks connection from particular IP address or IP address ranges. Moreover, we make sure that we can login to the email account via any webmail clients such as Roundcube, Horde, etc.Īnother probable reason for this error is faulty firewall configuration in the server.

dist file and fix the errors.įurther, we make sure that the dovecot service has been restarted successfully and running fine in the server. If it works fine, we compare the original file and. For that, we backup the original configuration file and replace it with /etc/courier-imap/imapd.dist. Similarly in courier-imap servers, we run the service with default configuration. Most importantly, we ensure there’s a valid backup of the configuration file before making any changes. Here, our Hosting Experts check and correct the configuration issues in the IMAP configuration file. This clearly shows there’s an invalid parameter default_mail_env in this file. This shows that due to the configuration issues in the file /etc/dovecot/nf, the dovecot service failed to start. Starting Dovecot Imap: doveconf: Fatal: Error in configuration file /etc/dovecot/nf line 68: Unknown setting: default_mail_env For example, users commonly see this error while restarting Dovecot service on the server. Typo mistakes, syntax errors, incorrect parameters in the IMAP configuration can create errors. Similarly, configuration issues in the IMAP configuration file are another main reason for this error. service dovecot restartįinally, we confirm that IMAP service is listening on the server using the netstat command. For example, on CentOS – cPanel servers, we restart the IMAP service using the below command. Similarly, if we find any dead or non-responsive processes, we’ll kill those dead processes and restart the services. Further, we identify the user abusing this resource and disable it. So, here our Support Engineers identify the reason and permanently fix it.įor example, if we there’s high load on the server, we first identify the resource that is being abused. Service downtime can occur due to traffic spikes, resource outages, spamming, DDoS attacks, disk errors, and so on. So, if the IMAP service crashes, the connection fails and result in IMAP connection refused errors. IMAP service allows users to access the emails from anywhere. Common IMAP servers are Dovecot, Courier-IMAP, etc. One of the main reasons for this error is IMAP service not running on the server. Now, let’s discuss the top 4 reasons for this error and how our Support Experts rule out each possibility. IMAP Connection refused – Causes and Fixes Here, our Support Experts check the server logs (/var/log/messages) and the email logs (/var/log/maillog or /usr/local/psa/var/log/maillog) to determine the source of the problem. Error connecting to IMAP server: localhost.

Users commonly see this error when they access their emails through any webmail clients such as Squirrelmail, Roundcube, etc.Īnd, they see the entire error message like this. IMAP connection refused error means that the IMAP server rejected the connection made by the email application. IMAP connection refused – What this means? Today, we’ll see the top 4 reasons for this error and how we fix them. Website owners usually receive this error due to IMAP configuration issues, firewall restrictions and more. That was a recent support ticket received at our Dedicated Support Services department where we help server owners resolve critical errors on their servers. It’s shows IMAP Connection refused error every time. Having a lot of trouble with my email account.
