webmail problems using Horde or Squirrel Mail

stargatesg1

Active Member
Nov 30, 2006
36
0
156
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.
 

pam004

Member
Oct 23, 2006
5
0
151
connection dropped by IMAP server

Now in squirrel mail I get the following error
ERROR: 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.
 

stargatesg1

Active Member
Nov 30, 2006
36
0
156
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.
 

pam004

Member
Oct 23, 2006
5
0
151
SquirrelMail IMAP Server Error Message

Those email programs are web based. If we install the latest version would it effect the way cpanel responds to them.
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.
 

Talia

Registered
Mar 6, 2007
2
0
151
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
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.
 

chrisedwards

Member
Jan 21, 2004
6
0
151
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
 

ee99ee

Well-Known Member
Aug 15, 2003
70
0
156
I'm not sure what fixed it, but it started working again for us... just out of nowhere, a week or so ago.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
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
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.
 

welo

Well-Known Member
Nov 11, 2002
71
0
156
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
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.
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.
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
80
458
cPanel Access Level
Root Administrator
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.
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.
 

mjlunn

Registered
Mar 22, 2003
3
0
151
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
 

activa

Well-Known Member
May 23, 2006
213
1
168
Morocco
cPanel Access Level
Root Administrator
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
the same issue

the same resolution

thanks ;)
 

myusername

Well-Known Member
PartnerNOC
Mar 6, 2003
693
1
168
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.
 

Berig

Registered
Jul 23, 2007
1
0
51
Woo hoo, I thought I was all out of hope, but the last post of the thread fixed it for me. :) Thanks for sharing!