Page 1 of 2 12 LastLast
Results 1 to 15 of 19

Thread: "Connection to IMAP server failed"

  1. #1
    Registered User
    Join Date
    May 2008
    Location
    Athens Greece
    Posts
    1

    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

    http://forums.cpanel.net/showthread....l+login+failed

    Can you please advise me what to do?

  2. #2
    Registered Member
    Join Date
    Feb 2004
    Posts
    56

    Default

    I have also been having this problem since yesterday.

    I am running the latest current version.

  3. #3
    Registered Member
    Join Date
    Oct 2008
    Location
    india
    Posts
    18

    Default logs

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

    let em check after this....
    Anil Gosai
    T.S.E

  4. #4
    Registered Member
    Join Date
    Feb 2004
    Posts
    56

    Default

    I am not sure what logs to send nor where to send them.

    Let me know and I will happily post them.

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

    Default 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.

  6. #6
    Registered Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    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.

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

    Default

    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.

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

    Default

    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.

  9. #9
    Registered Member
    Join Date
    Jan 2005
    Location
    /dev/null
    Posts
    770

    Default

    If you are seeing from squirrel:

    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

  10. #10
    Registered Member
    Join Date
    Jul 2008
    Posts
    121

    Default

    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.

  11. #11
    Registered Member duranduran's Avatar
    Join Date
    Apr 2004
    Posts
    198

    Default

    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 ?

  12. #12
    Registered Member
    Join Date
    Nov 2002
    Posts
    75

    Default

    Did this ever get fixed for you? I am seeing this problem now as well.

  13. #13
    Registered Member
    Join Date
    Aug 2006
    Posts
    206
    cPanel/WHM Access Level

    Root Administrator

    Default

    This issue seems to be randomly spreading across servers.
    WireNine.com ● In business since 2004.
    Web Hosting, Reseller Hosting & VPS Hosting ● 24/7 Support & Sales

  14. #14
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,289
    cPanel/WHM Access Level

    Root Administrator

    Default

    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?

  15. #15
    Registered Member cPanel Partner NOC Badge
    Join Date
    Apr 2002
    Posts
    686
    cPanel/WHM Access Level

    DataCenter Provider

    Default

    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

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 14
    Last Post: 05-11-2014, 02:44 PM
  2. Replies: 5
    Last Post: 02-24-2012, 12:35 PM
  3. Replies: 4
    Last Post: 11-30-2010, 09:15 AM
  4. imap error message: "NO LOGIN failed"
    By Travis S in forum General Discussion
    Replies: 8
    Last Post: 08-15-2005, 05:05 AM
bargain