Author Topic: imap is FAIL  (Read 3386 times)

Offline bluethundr

  • Newbie
  • *
  • Posts: 9
imap is FAIL
« on: January 09, 2009, 12:32:28 AM »
Hi,

 I am running the roundcube installer at http://mydomain/mail/installer/

and I am getting stuck at the imap test.

this is the error I get:

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/mail/program/lib/imap.inc on line 305

any tips for how I may address this problem?

Offline Napsty

  • Jr. Member
  • **
  • Posts: 20
imap is FAIL
« Reply #1 on: January 09, 2009, 03:07:37 AM »
Could it be, that your webserver is very slow?
You can try to set the value of max_execution_time to a higher value. You find this in your php.ini. After that and an apache restart try it again.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
imap is FAIL
« Reply #2 on: January 09, 2009, 03:21:27 AM »
can you telnet from your webserver to your imap server? perhaps there is a firewall or something in the way so RC cannot access it.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…

Offline bluethundr

  • Newbie
  • *
  • Posts: 9
imap fatal error
« Reply #3 on: January 09, 2009, 07:23:54 AM »
Thanks guys. Upping the timeout on my php.ini didn't do the trick, and my webserver isn't particularly slow.

When I reset the timeout this is what I got. I reset it to the ridiculous 240.


Fatal error: Maximum execution time of 240 seconds exceeded in /var/www/mail/program/lib/imap.inc on line 310

I am able to connect to my imap server by ssh'ing into the box and issuing telnet localhost 143

I get a response from the imap server. but when I login as:

a login username@mydomain.com mypassword

This is what I get:

* BYE Temporary problem, please try again later

If I login without the 'a' prefixing the command and simply type:

login username@mydoman.com mypassword

This is what I get:

login NO Error in IMAP command received by server.

I have to run out to work right now, but that's the basic info. I will try to pastebin some of my (sanitized) config files later on today work permitting. If not during the day, then certainly when I get home from work.

Really appreciate the help!

Offline Napsty

  • Jr. Member
  • **
  • Posts: 20
imap is FAIL
« Reply #4 on: January 09, 2009, 08:59:42 AM »
Yep, the problem is therefore not the max_execution_value.
John's guess is right, seems to be something with the Imap server.
Which IMAP Server are you using?

When I make a login by telnet I get the message
"a OK Logged in."
I'm using dovecot as IMAP server.

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,856
imap is FAIL
« Reply #5 on: January 09, 2009, 09:12:43 AM »
I use dovecot too. you telnetted from the websever to the imap server and not just localhost in the imap server or at they both on the same machine?
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and more…