Roundcube Community Forum

 

imap is FAIL

Started by bluethundr, January 09, 2009, 12:32:28 AM

Previous topic - Next topic

bluethundr

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?

Napsty

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.

JohnDoh

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

bluethundr

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 [email protected] 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 [email protected] 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!

Napsty

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.

JohnDoh

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