Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 15 of 15
  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    1

    Default Roundcube - Possible mailbox corruption.

    Afternoon everyone,

    I've recently taken over our cPanel server as the employee that had been primarily administering it has since moved on to another company. I'm still fairly green in regards to most of the inner workings of the server.

    My dilemma:
    I have a customer on the cPanel server that is set up as a normal account, not a reseller or anything special. They are using the webmail rather than pulling e-mail down and prefer Roundcube. I have the most recent version of Roundcube installed and my cPanel version is cPanel 11.25.0-C40255 - WHM 11.25.0 - X 3.9.

    Recently, these two users began receiving "Unexpected condition from IMAP server, closed or corrupt connection to IMAP. Possible mailbox corruption." whenever they login to Roundcube. The issue does not occur with Squirrelmail. Any ideas or suggestions by chance?

  2. #2
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Are you using Courier or Dovecot for your POP3/IMAP server?

    If using Dovecot, this should already be fixed; for the combination of Dovecot and RoundCube, there is a related internal case ID, #33678.

    The following command (via root SSH access) may be used to show your current POP3/IMAP server software:
    Code:
    # /scripts/setupmailserver --current
    Is this only affecting two e-mail account users; are there more e-mail account users not affected?

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Arrow Friendly Moderator Note

    I have moved this thread to the Mail forum.

  4. #4
    Member
    Join Date
    Jul 2003
    Posts
    64

    Default Courier?

    Is there any progress on this for Courier users?

  5. #5
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by aegis View Post
    Is there any progress on this for Courier users?
    The internal case referenced earlier indicated the issue was reproducible only while using Dovecot, and when checking the third-party vendor ticket from the Roundcube Trac web site it was reportedly not reproducible using Courier.

    It will help to know additional details for the system where the issue is being experienced.

    Via root SSH access, please provide output from the following commands:
    Code:
    # grep '' /usr/local/cpanel/version
    # grep '' /var/cpanel/roundcube/version
    # grep roundcube_db /var/cpanel/cpanel.config
    # /scripts/setupmailserver --current
    For reference, here is the Roundcube Trac ticket about the issue; and at the time of writing the case is still open in their system:
    #1486190 (imap.inc does not respond to unexpected IMAP connection close) – Roundcube Webmail Trac

  6. #6
    Registered User
    Join Date
    Jan 2010
    Posts
    2

    Default

    Just want to let you know that I am having the same issue using Roundcube (no issue with SquirrelMail) with courier and here is the required dumps:

    Code:
    # grep '' /usr/local/cpanel/version
    11.25.0-RELEASE_42401
    
    # grep '' /var/cpanel/roundcube/version
    0.3-stable.cp4
    
    # grep roundcube_db /var/cpanel/cpanel.config
    roundcube_db=mysql
    
    # /scripts/setupmailserver --current
    Current mailserver type: courier
    Current storage format: maildir
    is there any fix for it ?

    Thank you

  7. #7
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by wpstudios View Post
    Just want to let you know that I am having the same issue using Roundcube (no issue with SquirrelMail) with courier and here is the required dumps:

    Code:
    # grep '' /usr/local/cpanel/version
    11.25.0-RELEASE_42401
    
    # grep '' /var/cpanel/roundcube/version
    0.3-stable.cp4
    
    # grep roundcube_db /var/cpanel/cpanel.config
    roundcube_db=mysql
    
    # /scripts/setupmailserver --current
    Current mailserver type: courier
    Current storage format: maildir
    is there any fix for it ?

    Thank you
    Thank you for the information. Please submit a support request so that we may examine the server directly; this will help greatly so that we can properly diagnose and fully investigate the reported symptoms. When available, please send me your ticket ID number (e.g., via a PM) so I may follow-up internally. The following page may be used to initiate a ticket submission (Additional Support Options); alternatively, WHM may also be used via the following menu path: WHM: Main >> Support >> Support Center >> Contact cPanel.

  8. #8
    Registered User
    Join Date
    Jan 2010
    Posts
    2

    Default

    Quote Originally Posted by cPanelDon View Post
    Please submit a support request so that we may examine the server directly;
    I just opened a ticket and sent a PM to you, I hope it will really help fixing this issue.

    Thank you.
    Last edited by wpstudios; 01-15-2010 at 01:21 AM.

  9. #9
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Posts
    24

    Default

    I'm having the same issue, so would appreciate if you could update this topic when there's any more information.

    Some additional info which may be useful: after refreshing a couple of times, it works fine again, and then usually the next day it happens again. This has been going on for a while already.

  10. #10
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by Apoc View Post
    I'm having the same issue, so would appreciate if you could update this topic when there's any more information.

    Some additional info which may be useful: after refreshing a couple of times, it works fine again, and then usually the next day it happens again. This has been going on for a while already.
    There may be multiple factors involved and for this reason it is difficult to say what a single solution may be that would work for everyone; additional factors may include server load and MySQL usage, resource usage limitations or insufficient resources available. Intermittent resource usage issues may be why it is sometimes difficult to reproduce reliably (where it sometimes works and sometimes doesn't).

    While researching reports of the issue I noted that some users found that switching from Courier to Dovecot helped to alleviate the issue; using Dovecot should also reduce memory and CPU resource usage in comparison to Courier; in a different case it was found that the issue stemmed from MySQL database errors and in that instance it helped to run "mysqlcheck" on databases to look for corruption and attempt repair.

    In cPanel 11.25 there is an option to have Roundcube use SQLite instead of MySQL for database storage. Please note that conversion is one-way and is an elective (optional) process, with no support for returning Roundcube to using MySQL for the database. If the system Roundcube configuration is still using MySQL I would consider converting it to use SQLite as detailed in the cPanel 11.25 Release Notes (available for download in PDF format): cPanel Release Notes - Version 11.25

    For reference, the release notes PDF has the applicable Roundcube and SQLite information detailed in section 1.21 (per the table of contents), within document pages 13 to 15. Please ensure to read the Pre-conversion Considerations in section 1.21.1, on page 14, of the release notes.

  11. #11
    Member handsonhosting's Avatar
    Join Date
    Feb 2002
    Location
    Omaha, NE
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    was also getting the same issue on one of our servers, but upgrading to Dovecot resolved the connection.

  12. #12
    Member Data 1's Avatar
    Join Date
    May 2008
    Posts
    104

    Default

    Quote Originally Posted by handsonhosting View Post
    was also getting the same issue on one of our servers, but upgrading to Dovecot resolved the connection.
    Ditto on that, upgraded to Dovecot and problem went away. It was easy and fast. service configuration/mailserver selection

    Took about 5 minutes but depending on how many accounts it has to convert I bet that could go way up.

  13. #13
    Member
    Join Date
    Nov 2006
    Posts
    340

    Exclamation

    Having same problem here.

    Using courier + Roundcube

    Code:
    root@server5 [~]# grep '' /usr/local/cpanel/version
    11.25.0-RELEASE_42404
    
    root@server5 [~]# grep '' /var/cpanel/roundcube/version
    0.3-stable.cp4
    
    root@server5 [~]# grep roundcube_db /var/cpanel/cpanel.config
    roundcube_db=mysql
    
    root@server5 [~]# /scripts/setupmailserver --current
    Current mailserver type: courier
    Current storage format: maildir

  14. #14
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2003
    Location
    Portugal
    Posts
    57
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Same problem here, roundcube + courier.

    Any ETA on this?

  15. #15
    Registered User
    Join Date
    Nov 2008
    Posts
    3

    Default

    I'm using Dovecot and still get the same issues.

    It could be MySQL but we have plenty of resource overhead on our server it may just be Round Cube has a poor IMAP interface or times out to quick?

    Cheers,
    Chris

Similar Threads & Tags
Similar threads

  1. How to reset the RoundCube's mailbox?
    By Ricardo Machado in forum New User Questions
    Replies: 1
    Last Post: 10-21-2009, 07:05 PM
  2. Roundcube - Possible mailbox corruption.
    By deftrance in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-19-2009, 04:56 PM
  3. mailbox corruption
    By scotch33 in forum E-mail Discussions
    Replies: 3
    Last Post: 03-20-2009, 01:23 PM
  4. mailbox over quota warning - mailbox is empty...
    By Devil Inside in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-02-2004, 02:10 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube