#1 (permalink)  
Old 10-15-2008, 12:34 PM
Registered User
 
Join Date: May 2008
Location: Athens Greece
Posts: 1
psarema.gr is on a distinguished road
Exclamation "Connection to IMAP server failed"

Hello,

Since today I (and my clients) get this message when I try to connect to my webmail account

"Connection to IMAP server failed" with both Horde and Roundcube

I restarted cpanel but same problem again.
I tried to follow some sollutions (not exactly for the same problem but similar) with no luck, like the one posted in

WebMail problems...

Can you please advise me what to do?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-16-2008, 09:41 AM
Registered User
 
Join Date: Feb 2004
Posts: 52
Scott Greczkows
I have also been having this problem since yesterday.

I am running the latest current version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-16-2008, 09:45 AM
Registered User
 
Join Date: Oct 2008
Location: india
Posts: 18
anilg is on a distinguished road
logs

Hey guy's
both can you pelase send a logs regarding your issues ?

let em check after this....
__________________
Anil Gosai
T.S.E
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-16-2008, 09:56 AM
Registered User
 
Join Date: Feb 2004
Posts: 52
Scott Greczkows
I am not sure what logs to send nor where to send them.

Let me know and I will happily post them.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-10-2008, 04:12 PM
Registered User
 
Join Date: Nov 2008
Posts: 3
laith3 is on a distinguished road
Webmail Broken

Quote:
Originally Posted by Scott Greczkows View Post
I am not sure what logs to send nor where to send them.

Let me know and I will happily post them.
Imap logs should be located in /var/log/maillog/

I'm having the same issue with not being able to connect to Imap server. All webmail (Horde, SqirrelMail, and RoundCube) seems to be broken.

Horde shows "Login failed because your username or password was entered incorrectly.",

SquirrelMail shows "Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (Connection refused) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129"

RoundCube shows "Connection to Imap server failed".

When webmail was working a few days ago, Imap logs were showing in /var/log/maillog/, but now Imap does not seem to be logging anymore.

I was able to fix webmail initially by updating CPanel - /scripts/upcp –force
But it seemed to break again shortly after that. I've noticed a lot of discussion here about this problem, but no solution, so I don't expect a reply. Just wanted to share my experience with webmail. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 11-10-2008, 05:57 PM
Registered User
 
Join Date: Jul 2008
Posts: 121
sirotex is an unknown quantity at this point
Hello,

I ran into this problem a few days ago.

You can easily fix it by going to WHM > Service Configuration > IMAP Configuration. And enabling IMAP.

It is because IMAP has been upgraded within the whm update.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-10-2008, 07:57 PM
Registered User
 
Join Date: Nov 2008
Posts: 3
laith3 is on a distinguished road
Quote:
Originally Posted by sirotex View Post
Hello,

I ran into this problem a few days ago.

You can easily fix it by going to WHM > Service Configuration > IMAP Configuration. And enabling IMAP.

It is because IMAP has been upgraded within the whm update.
Hmm... that setting doesn't exist on my system. Maybe there's something else I need to enable. This is a fresh install of CPanel on a VPS running CentOS 5.2. WHM shows version information (top right) as:
cPanel 11.24.0-C30898 - WHM 11.24.0 - X 3.9
CENTOS 5.2 i686 on virtuozzo

I do see the setting you're referring to on one of our old servers (not VPS) at
Main >> Service Configuration >> IMAP Configuration.

I've tried enabling either mail server with name results.
Main >> Service Configuration >> Mailserver Selection (Courier and Dovecot).

----

For some reason, webmail started working again today. Hmm... maybe WHM/CPanel did an auto-update overnight. I'll have to check to logs. Well, everything is working perfectly on my new WHM/CPanel installation, so I'm a happy camper

Last edited by laith3; 11-11-2008 at 11:39 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-12-2008, 04:27 PM
Registered User
 
Join Date: Nov 2008
Posts: 3
laith3 is on a distinguished road
Quote:
Originally Posted by laith3 View Post
Hmm... that setting doesn't exist on my system. Maybe there's something else I need to enable. This is a fresh install of CPanel on a VPS running CentOS 5.2. WHM shows version information (top right) as:
cPanel 11.24.0-C30898 - WHM 11.24.0 - X 3.9
CENTOS 5.2 i686 on virtuozzo

I do see the setting you're referring to on one of our old servers (not VPS) at
Main >> Service Configuration >> IMAP Configuration.

I've tried enabling either mail server with name results.
Main >> Service Configuration >> Mailserver Selection (Courier and Dovecot).

----

For some reason, webmail started working again today. Hmm... maybe WHM/CPanel did an auto-update overnight. I'll have to check to logs. Well, everything is working perfectly on my new WHM/CPanel installation, so I'm a happy camper
Hmm... the webmail problem started all over again. No updates have been made.

Horde shows "Login failed because your username or password was entered incorrectly.",

SquirrelMail shows "Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:143 (Connection refused) in /usr/local/cpanel/base/3rdparty/squirrelmail/plugins/login_auth/functions.php on line 129"

RoundCube shows "Connection to Imap server failed".

I have noticed that occasionally CPanel and WHM will say in the header "VPS Optimized 2", and sometimes just "VPS Optimized", indicating different versions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-14-2008, 09:22 AM
Registered User
 
Join Date: Jan 2005
Location: /dev/null
Posts: 769
nickp666 is on a distinguished road
If you are seeing from squirrel:

Quote:
getaddrinfo failed: Name or service not known
check in /etc/hosts to see if there is a line:
Code:
127.0.0.1 localhost
if its not there, add it and webmail will magically work again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-14-2008, 10:20 AM
Registered User
 
Join Date: Jul 2008
Posts: 121
sirotex is an unknown quantity at this point
Hello,

That is nothing to do with it... The problem is IMAP isnt Enabled, you will have to go and fish around in WHM for IMAP configuration editor

Which in the 11.24 cPanel version is now named 'Mailserver Configuration'

Last edited by sirotex; 11-14-2008 at 11:50 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12-18-2008, 12:52 PM
duranduran's Avatar
Registered User
 
Join Date: Apr 2004
Posts: 163
duranduran
Same problem here (and i have the 127.0.0.1 localhost in my /etc/hosts as well).

ERROR: Connection dropped by IMAP server.

Any fix ?
__________________
CEO - Alexandre C. Duran
Meganick IDC :: Megahost :: DigitalSSL - Hospedagem de Sites com Qualidade, Servidores Dedicados e Gerenciamento Total
Ab inimicis possum mihi ipsi cavere, ab amicis vero non.

REVENDA - REVENDA DE HOSPEDAGEM - HOSPEDAGEM DE SITES - SERVIDORES DEDICADOS - CERTIFICADOS SSL
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 05-20-2009, 10:29 AM
Registered User
 
Join Date: Nov 2002
Posts: 60
rmackay
Did this ever get fixed for you? I am seeing this problem now as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 05-21-2009, 12:41 AM
Registered User
 
Join Date: Aug 2006
Posts: 187
WireNine is on a distinguished road
This issue seems to be randomly spreading across servers.
__________________
Ali Khan – Founder and CEO, WireNine.com
WireNine / Shared and Reseller cPanel Linux Web Hosting
● Site Builder ● Website migration ● RvSkin/Fantastico
● No Contracts or Hidden Fees and 60 day money back guarantee!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 05-22-2009, 02:16 PM
cPanelDavidG's Avatar
cPanel Technical Sales
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,117
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by WireNine View Post
This issue seems to be randomly spreading across servers.
This issue only affects Horde and Roundcube? What about Squirrelmail? Are you able to telnet to port 143? What about use IMAP using an IMAP client on your workstation?
__________________
Need technical assistance? You can find your best avenue for support at: http://support.cPanel.net
-- cPanel David G., Lead Forum Administrator & cPanel Technical Sales Representative
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 02-24-2010, 05:55 PM
cPanel Partner NOC
cPanel Partner NOC Badge
 
Join Date: Apr 2002
Posts: 656
Snowman30
we have the same problem that everyone else is reporting

telnet to 143 says connection refused

ive tried almost everythign i can think of to correct this
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:30 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc