The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

webmail problems using Horde or Squirrel Mail

Discussion in 'E-mail Discussions' started by stargatesg1, Jan 3, 2007.

  1. stargatesg1

    stargatesg1 Active Member

    Joined:
    Nov 30, 2006
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    I can create an email account with no problem in cPanel but when I got to horde it asks me to choose my language I choose English and I get this error

    Notice: Unknown(): [CLOSED] IMAP connection broken (server response) (errflg=1) in Unknown on line 0

    Also says at the top
    Login failed because your username or password was entered incorrectly.

    Now in squirrel mail I get the following error

    ERROR: Connection dropped by IMAP server.


    Thanks for everybody that helps in advance.
     
  2. stargatesg1

    stargatesg1 Active Member

    Joined:
    Nov 30, 2006
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    Was wondering

    If anybody needs more information on this issue

    Thanks...
     
  3. pam004

    pam004 Member

    Joined:
    Oct 23, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    connection dropped by IMAP server

    :confused: As of 1-8-07, I am also unable to access my email accounts and am receiving the same error message. This is the first time its occurred. I have made no changes to my accounts and do not exceed any quotas. Suffice to say, I am clueless as to why this happened out of the blue and what the fix is. I access my mail directly via C-Panel/Squirrel Mail.
     
  4. stargatesg1

    stargatesg1 Active Member

    Joined:
    Nov 30, 2006
    Messages:
    36
    Likes Received:
    0
    Trophy Points:
    6
    what i was thinking is those email programs

    Those email programs are web based. If we install the latest version would it effect the way cpanel responds to them.
     
  5. pam004

    pam004 Member

    Joined:
    Oct 23, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    SquirrelMail IMAP Server Error Message

    I am too much of a cPanel novice to know. My problem corrected itself as fast as it broke. Its working fine today. Guess it was something wrong at the host end (I use Lunar Pages.).

    Maybe I should post here more often - Murphy's law and all :)

    Hope you find a fix soon cuz I know how frustrating it is. You may want to open a support ticket with your host provider for faster and more technical results.
     
  6. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    the same case for me .

    any idea to resolve this
     
  7. Talia

    Talia Registered

    Joined:
    Mar 6, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    We have two fresh WHM/cPanel stable installs, displaying the same behaviour. No new users can access either Horde or Squirrel Mail. I will submit a support request to cPanel and report the results here.
     
  8. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    These are often caused by the IMAP server closing the connection prematurely, for example if a timeout is exceeded. Logging into an IMAP server is a muli-step process, something like:

    1. Login
    2. Grab list of email folders
    3. Select an email folder
    4. List contents of email folder

    That all happens before you see the mail interface in Horde, or the regular interface in Squirrelmail. If a timeout value is exceeded, then the IMAP server will close the connection resulting in the posted error message.

    Sometimes these timeouts are caused by a sudden surge of traffic on the IMAP server. In those cases it may be possible to tweak the configuraiton of Courier to extend the timeout.

    Other times these problems are due to the general buginess of the IMAP client used by PHP. By IMAP client, I don't mean Horde or Squirrelmail, but rather what PHP uses internally to communicate with an IMAP server. In such cases, it doesn't matter which email client you use, how new it is, nor the version of PHP or that fact that cPanel installed it. It's simply a matter of attempting to login again.
     
  9. chrisedwards

    chrisedwards Member

    Joined:
    Jan 21, 2004
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I ran into this issue today and found that I was missing libfam.so.

    Installing gamin fixes all.

    yum install fam
    /etc/rc.d/init.d/courier-imap restart
     
  10. ee99ee

    ee99ee Well-Known Member

    Joined:
    Aug 15, 2003
    Messages:
    70
    Likes Received:
    0
    Trophy Points:
    6
    I'm not sure what fixed it, but it started working again for us... just out of nowhere, a week or so ago.
     
  11. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    yes, that's another problem on newer distributions with Courier. If I recall correctly, without the libfam it Horde login keeps returning one to the login page (the ony with the language dropdown) without an error message.
     
  12. welo

    welo Well-Known Member

    Joined:
    Nov 11, 2002
    Messages:
    71
    Likes Received:
    0
    Trophy Points:
    6
    I just tried this fix and still no love. I don't use Horde but apparently a few of my clients do. I told them to use SquirrelMail until it gets sorted out. That seems to be working. This is all after moving everything to a brand new box btw.
     
  13. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,458
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    When all else failing, enabling Horde logging and check all Courier related logs.

    To enable Horde Logging:
    Code:
    cd /usr/local/cpanel/base/horde/config 
    
    Edit conf.php Change: $conf['log']['enabled'] = false; to conf['log']['enabled'] = true; 
    
    Change: $conf['log']['priority'] = PEAR_LOG_WARN; to $conf['log']['priority'] = PEAR_LOG_DEBUG; 
    
    Save the file and login/use Horde. A log file is generated in /tmp 
    
    When done, don't forget to disable logging.
    
     
  14. vodkajoe

    vodkajoe Member

    Joined:
    Oct 19, 2006
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    This worked for me, cheers
     
  15. mjlunn

    mjlunn Registered

    Joined:
    Mar 22, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Winter Wonder Land
    Quote:
    Code:
    Originally Posted by chrisedwards  View Post
    I ran into this issue today and found that I was missing libfam.so.
    
    Installing gamin fixes all.
    
    yum install fam
    /etc/rc.d/init.d/courier-imap restart"
    Centos 4.4 64 Bit
    This fixed mine
     
  16. activa

    activa Well-Known Member

    Joined:
    May 23, 2006
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Morocco
    cPanel Access Level:
    Root Administrator
    the same issue

    the same resolution

    thanks ;)
     
  17. myusername

    myusername Well-Known Member
    PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    691
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    None of the above corrected my issue. Apparently I had webmail versions that were not supplied by cPanel installed on this system for some reason.

    /scripts/courierup --force was the fix for me. Assuming you do not run mbox I would guess this might work for someone else :)

    Hope it helps.
     
  18. Berig

    Berig Registered

    Joined:
    Jul 23, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Woo hoo, I thought I was all out of hope, but the last post of the thread fixed it for me. :) Thanks for sharing!
     
  19. BianchiDude

    BianchiDude Well-Known Member
    PartnerNOC

    Joined:
    Jul 2, 2005
    Messages:
    619
    Likes Received:
    0
    Trophy Points:
    16
    Uh, i tried all of the fixed mentioned and still get the error.
     
  20. anupar19

    anupar19 Member

    Joined:
    Aug 28, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    chown -R user:mail /home/user/mail/
    chown -R user:mail /home/user/etc/
    This fixed for me:)
     
Loading...

Share This Page