Roundcube Community Forum

 

Gmail - Connection timeot

Started by elvisthedj, December 07, 2007, 07:43:08 PM

Previous topic - Next topic

elvisthedj

Hi all,

I've read the gmail thread and no issues discussed there seem to apply to me, so I started a new one. I am not able to access ssl://imap.gmail.com:993

IMAP is enabled in gmail.

According to my site host (godaddy) they do not block port 993

I receive a "Connection timed out" message from RC.

Here is my config (please note that I have also tried leaving :993 off of the imap server address and putting 993 as the default port. Both yeild the same result.

I am skeptical that the info I received from godaddy's "support" is correct. He kept asking if 993 was blocked on my network. I explained to him that it wouldn't matter if it was (which it's not.. I can telnet into the IMAP server just fine). He didn't seem to get it. I made him ask someone else "If I were sitting in front of the computer that my site is hosted on, would I be able to connect to imap.google.com:993" . He says Yes - The port isn't blocked.

I have never accessed gmail through IMAP. Perhaps I need to to that to create some sort of initial folder structure?

I thought it could be the fact that I have 1,000's of messages and RC was trying to load them all at once or something and timing out before that completed. To test that, I entered an incorrect password (hoping to get an error from RC that the password was wrong) but I still got a timeout. So apparently it isn't even attempting a login.

Also, my gmail password contains the $ character. Would this screw up RC?

Here is my config (I'm using the Joomla version btw)

<?php 
$rcmail_config
['auto_create_user'] = TRUE
$rcmail_config['default_host'] = 'ssl://imap.gmail.com:993'
$rcmail_config['default_port'] = ''
$rcmail_config['username_domain'] = ''
$rcmail_config['mail_domain'] = ''
$rcmail_config['virtuser_file'] = ''
$rcmail_config['virtuser_query'] = ''
$rcmail_config['smtp_log'] = TRUE
$rcmail_config['smtp_server'] = 'ssl://smtp.gmail.com'
$rcmail_config['smtp_port'] = '465'
$rcmail_config['smtp_user'] = 'xxxxx@gmail.com'
$rcmail_config['smtp_pass'] = 'xxxxx'
$rcmail_config['smtp_auth_type'] = 'LOGIN'
$rcmail_config['debug_level'] = '4'
$rcmail_config['enable_caching'] = TRUE
$rcmail_config['message_cache_lifetime'] = '10d'?>





peteriron

Hi,

Did you solve this issue. I have the same ...

Regards,
Peter

BlueC

this would make more sense:

$rcmail_config['default_host'] = 'ssl://imap.gmail.com';
$rcmail_config['default_port'] = '993';

peteriron

Tried it, but still the same result ... strange because it says in the comment

// the mail host chosen to perform the log-in
// leave blank to show a textbox at login, give a list of hosts
// to display a pulldown menu or set one host as string.
// To use SSL connection, enter ssl://hostname:993
$rcmail_config['default_host'] = '';

BlueC

Apologies, I hadn't read that.

Did you check that google IMAP accepts SSL connections and that that is the correct server address and port?

bitwise

Any ideas?

I can get get to my gmail account with imap in Outlook Express.  so I know it is not gmail.