How to solve ERROR: Connection dropped by imap server Query: SELECT "INBOX" in Webmail(cpanel)




What is Webmail?


Webmail is an email system, where users can access their emails through the browser on any device, computer that is connected to the Internet. Webmail allows the users to access their emails until they have access to a browser and net connection.

Steps for logging into webmail.

1. Use example.com/webmail Be sure to replace example.com with your actual domain name.

2. Fill your username and password and then click ok. Enter your full email address all in lowercase.

3. Then enter now be logged in!

Examples of webmail software are Roundcube and SquirrelMail and Horde.

What is Roundcube?

Roundcube is a multilingual IMAP client which is web-based with an application-like user interface. Roundcube is free and open-source software where clients log in and view, send and reply to emails.

What is SquirrelMail?

SquirrelMail is an open Source webmail with a full-featured e-mail application. SquirrelMail offers Imap proxy and email application at once. Where users can use mail service to send and receive emails.

What is Horde.?

Horde is a Groupware Webmail Edition is a free, enterprise-ready. web-based communication. where users can send, read and organize email messages and share and manage the below things.

contacts

tasks

notes

files and

bookmarks with the standards compliant components from the Horde.

What's the difference between RoundCube, Horde, and SquirrelMail? 

  • RoundCube, Horde, and SquirrelMail this are three webmail available applications to everyone. Each of them has the same login page. YourDomain.com/webmail with different interface and features but they all access the same mailbox.

  • Horde may have the most features: a phone device interface; calendar and task organizer, custom filters; along with the ability to share content with others.

  • RoundCube and SquirrelMail are more streamlined with few of the features and both are easy to use. We encourage our clients to work with each application and find that one that suits their needs.


What is IMAP?

IMAP is an Internet Message Access Protocol. which is used by e-mail clients to get the messages from the mail server over a TCP/IP connection.

Exact errors and its reason-

The above error gets when the dovecot indexes are corrupted. To fix this simply purge the indexes

 

It may be that the dovecot indexes are corrupted (sometimes happens between dovecot versions), so the fix is to simply purge the indexes

The exact error message could be obtained by using below command - tail - f /var/log/maillog

 "Error: broken sync positions in index file /home/user/mail/domainname.com/user/dovecot.index" and "Warning:fscking index file /home/user/mail/domainname.com/user/dovecot.index"

Here is the Solution

1. Delete all files named "dovecot" in the path "/home/user/mail/domainname.com/user" using rm -f dovecot*

OR

2. You can simply rename the dovecot.index page as : mv dovecot.index dovecot.index_bk