This problem has been affecting me since I installed roundcube, I can't get Gmail's IMAP settings to work with it.
The SMTP settings work fine:
Server: ssl://smtp.gmail.com
Port: 465
User: ****
Password: ****
Trying to send email...
SMTP send: OK
But when I try to use Gmail's IMAP settings, I get the following error:
Connecting to ssl://imap.gmail.com...
IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to ssl://imap.gmail.com:993: Connection timed out)
I've tried multiple things, including contacting my server to see if the port was blocked (it wasn't), but nothing is working.
I can't figure out the problem and there are no posts on the forum with a solution.
DO NOT WRITE YOU WHOLE MESSAGE IN THE SUBJECT AND USE A MEANINGFUL SUBJECT
Am 06.05.2012 05:08, schrieb Charles Carver:
This problem has been affecting me since I installed roundcube, I can't get Gmail's IMAP settings to work with it.
The SMTP settings work fine:
Server: ssl://smtp.gmail.com Port: 465 User: **** Password: **** Trying to send email... SMTP send: OK
But when I try to use Gmail's IMAP settings, I get the following error:
Connecting to ssl://imap.gmail.com... IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to ssl://imap.gmail.com:993:
Connection timed out)
I've tried multiple things, including contacting my server to see if the port was blocked (it wasn't), but nothing is working.
I can't figure out the problem and there are no posts on the forum with a solution.
looks not like a roundcube-problem connection timeout
however, you should post you configuration if you need help!
what says "telnet imap.gmail.com 993" from your roundcube-server? have you tried "tls" instead "ssl"?
Den 2012-05-06 05:08, Charles Carver skrev:
not connect to ssl://imap.gmail.com:993: Connection timed out)
is your imap account open ?, this have to be enabled in gmail before it works remotely, i cant remember if ssl:// works or tls:// is needed
Using tis:// has the same problem:
Connecting to tsl://imap.gmail.com... IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to imap.gmail.com:993: Connection timed out)
Also, I do have IMAP enabled for this account, as iMail and Sparrow can both retrieve the emails from the account, as well as various other ones.
On May 6, 2012, at 6:01 AM, Benny Pedersen me@junc.org wrote:
Den 2012-05-06 05:08, Charles Carver skrev:
not connect to ssl://imap.gmail.com:993: Connection timed out)
is your imap account open ?, this have to be enabled in gmail before it works remotely, i cant remember if ssl:// works or tls:// is needed
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
On 05/06/2012 02:40 PM, Charles Carver wrote:
Using tis:// has the same problem:
Connecting to tsl://imap.gmail.com... IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to imap.gmail.com:993: Connection timed out)
For TLS you should probably change port to 143.
Wouldn't that not use the SSL port though? I feel like Gmail's IMAP is only open on that port. I'll try it regardless, but is there anyway to check if 993 is open?
On May 6, 2012, at 8:55 AM, A.L.E.C alec@alec.pl wrote:
On 05/06/2012 02:40 PM, Charles Carver wrote:
Using tis:// has the same problem:
Connecting to tsl://imap.gmail.com... IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to imap.gmail.com:993: Connection timed out)
For TLS you should probably change port to 143.
-- Aleksander 'A.L.E.C' Machniak LAN Management System Developer [http://lms.org.pl] Roundcube Webmail Developer [http://roundcube.net]
PGP: 19359DC1 @@ GG: 2275252 @@ WWW: http://alec.pl _______________________________________________ Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Den 2012-05-06 14:40, Charles Carver skrev:
Also, I do have IMAP enabled for this account, as iMail and Sparrow can both retrieve the emails from the account, as well as various other ones.
so is pear packages outdated ?
is php supporting ok ?
Here's what the first step looks like when setting this up:
Checking PHP version
Version: OK(PHP 5.2.17 detected) Checking PHP extensions
The following modules/extensions are required to run Roundcube:
PCRE: OK DOM: OK Session: OK XML: OK JSON: OK The next couple of extensions are optional and recommended to get the best performance:
FileInfo: NOT AVAILABLE(See http://www.php.net/manual/en/book.fileinfo.php) Libiconv: OK Multibyte: OK OpenSSL: OK Mcrypt: OK Intl: NOT AVAILABLE(See http://www.php.net/manual/en/book.intl.php) Checking available databases
Check which of the supported extensions are installed. At least one of them is required.
MySQL: OK MySQLi: OK PostgreSQL: NOT AVAILABLE(Not installed) SQLite (v2): OK Check for required 3rd party libs
This also checks if the include path is set correctly.
PEAR: OK MDB2: OK Net_SMTP: OK Net_IDNA2: OK Mail_mime: OK Checking php.ini/.htaccess settings
The following settings are required to run Roundcube:
file_uploads: OK session.auto_start: OK zend.ze1_compatibility_mode: OK mbstring.func_overload: OK suhosin.session.encrypt: OK The following settings are optional and recommended:
date.timezone: NOT OK(Could be set)
As for using port 143:
Connecting to tls://imap.gmail.com... IMAP connect: NOT OK(Login failed for **** from 74.110.63.15. Could not connect to imap.gmail.com:143: Connection timed out)
On May 6, 2012, at 8:58 AM, Benny Pedersen me@junc.org wrote:
Den 2012-05-06 14:40, Charles Carver skrev:
Also, I do have IMAP enabled for this account, as iMail and Sparrow can both retrieve the emails from the account, as well as various other ones.
so is pear packages outdated ?
is php supporting ok ?
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Den 2012-05-06 14:55, A.L.E.C skrev:
On 05/06/2012 02:40 PM, Charles Carver wrote: For TLS you should probably change port to 143.
TLS olso works on ssl port, but imap server have to being enabled with it, but maybe gmail does not support it
hello,
On 2012/05/06 2:57 PM, Charles Carver wrote:
Wouldn't that not use the SSL port though? I feel like Gmail's IMAP is only open on that port. I'll try it regardless, but is there anyway to check if 993 is open?
from a shell of the server where roundcube is installed on: telnet imap.gmail.com 993
PS did you enable imap on the google account (afaik the default is imap disabled): http://support.google.com/mail/bin/answer.py?hl=en&answer=77695
Den 2012-05-06 15:03, Charles Carver skrev:
The next couple of extensions are _optional_
optional ?
and recommended to get the best performance: FileInfo: NOT AVAILABLE(See http://www.php.net/manual/en/book.fileinfo.php [2]) Intl: NOT AVAILABLE(See http://www.php.net/manual/en/book.intl.php [3])
The following settings are _optional_ and recommended: date.timezone: NOT OK(Could be set)
this is a roundcube bug in .htaccess
Links:
[1] mailto:users@lists.roundcube.net [2] http://www.php.net/manual/en/book.fileinfo.php [3] http://www.php.net/manual/en/book.intl.php [4] http://cube.junc.org/tls://imap.gmail.com [5] http://imap.gmail.com
is there a way to not have mailto: links here ?
What do you mean? Should I google how to test for this?
Den 2012-05-06 15:17, emilio brambilla skrev:
from a shell of the server where roundcube is installed on: telnet imap.gmail.com 993
telnet support ssl ? :=)
try openssl client
Roundcube Users mailing list users@lists.roundcube.net http://lists.roundcube.net/mailman/listinfo/users
Den 2012-05-06 15:31, Charles Carver skrev:
What do you mean? Should I google how to test for this?
nope its just that telnet is not able to use ssl / tls
so it will always fail
http://lmgtfy.com/?q=s_client unable to get local issuer certificate
links shows how to use s_client
Am 06.05.2012 14:57, schrieb Charles Carver:
Wouldn't that not use the SSL port though? I feel like Gmail's IMAP is only open on that port. I'll try it regardless, but is there anyway to check if 993 is open?
as i said in my first reply
"telnet server port" from the machine where roundcube is running - if you got no connect this way you have an network layer problem what has nothing to do with roundcube and "timed out" is a good sign for it
Am 06.05.2012 15:24, schrieb Benny Pedersen:
Den 2012-05-06 15:17, emilio brambilla skrev:
from a shell of the server where roundcube is installed on: telnet imap.gmail.com 993
telnet support ssl ? :=)
try openssl client
this i COMPLETLY irrelevnat telnet makes a tcp connection
[harry@srv-rhsoft:~]$ telnet mail.thelounge.net 993 Trying 10.0.0.15... Connected to mail.thelounge.net. Escape character is '^]'.
what do you need more at the begin of debug? if you get "timeout" or connection refused your server/firewalls/ISP is blocking the outgoing connection
you need no ssl enabled client for this!
Okay, from my computer I get the following:
telnet imap.gmail.com 993
Trying 173.194.76.108...
Connected to gmail-imap.l.google.com.
Escape character is '^]'.
'^]'.
Connection closed by foreign host.
new-host-10:~ charlescarver$
From my server:
openssh
s_client -connect imap.gmail.com:993
CONNECTED(00000003)
...
So it looks like that it's connecting in both cases, from my server and computer to imap.gmail.com.
On May 6, 2012, at 1:18 PM, Reindl Harald wrote:
as i said in my first reply
"telnet server port" from the machine where roundcube is running - if you got no connect this way you have an network layer problem what has nothing to do with roundcube and "timed out" is a good sign for it