PDA

View Full Version : [HELP] POP3 on Gmail Problem


drsecret
10-14-2007, 01:03 AM
Hi,
I tried to setup POP3 scheduler with Gmail using lynx.
The settings are :
- Server: pop.gmail.com
- Port: 995
- Protocol: POP3-SSL
- User: *****@drsecretonline.com
- Pass: *******

All that settings are working on Microsoft Outlook.

The problem is, it doesn't work and always gets error :

<HTML><HEAD><TITLE></TITLE><meta http-equiv='Refresh' content='30;/cerb4/index.php/cron'></HEAD><BODY onload="setTimeout(\"window.location.replace('/cerb4/index.php/cron')\",30);">Account being parsed is GMail<br>
Time Limit: unlimited secs<br>
Memory Limit: <br>
<br />
<b>Warning</b>: imap_open() [<a href='function.imap-open'>function.imap-open</a>]: Couldn't open stream {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX in <b>/home/onetwot5/public_html/drsecret/help/cerb4/plugins/cerberusweb.core/cron.classes.php</b> on line <b>348</b><br />
Failed with error: Can't open mailbox {pop.gmail.com:995/pop3/ssl/novalidate-cert}INBOX: invalid remote specification


regards,

mike

neenach2002
10-14-2007, 01:16 AM
It looks like you have the account set to imap, not pop. Gmail doesn't support imap. :(

drsecret
10-14-2007, 01:45 AM
It looks like you have the account set to imap, not pop. Gmail doesn't support imap. :(

what do you mean? Do you mean that my server? Gmail? Cerberus? Which one should I fix?

neenach2002
10-14-2007, 03:53 AM
what do you mean? Do you mean that my server? Gmail? Cerberus? Which one should I fix?

In Cerberus, there are settings for POP/IMAP under Configuration -> Scheduler -> POP3 Mail checker.

drsecret
10-14-2007, 03:57 AM
I have setup from that page too.
And it still doesn't work.
Do you have any other suggestion?

jstanden
10-14-2007, 09:51 PM
Hey there!

So is it intermittent, or has your Gmail never connected from Cerb4?

Can you share some information on your environment?

Server OS (Windows, BSD, MacOSX, Linux distro, etc)
Webserver (IIS, Apache, etc)
PHP Version (5.1.x, 5.2.x)
IMAP Version (from /cerb4/install/phpinfo.php output, or any phpinfo() output). Will be labeled "IMAP c-Client Version"Also, in your phpinfo() output, is "SSL Support" enabled under the "IMAP" extension heading?

Thanks!

drsecret
10-15-2007, 02:24 AM
Hey there!

So is it intermittent, or has your Gmail never connected from Cerb4?

Can you share some information on your environment?

Server OS (Windows, BSD, MacOSX, Linux distro, etc)
Webserver (IIS, Apache, etc)
PHP Version (5.1.x, 5.2.x)
IMAP Version (from /cerb4/install/phpinfo.php output, or any phpinfo() output). Will be labeled "IMAP c-Client Version"Also, in your phpinfo() output, is "SSL Support" enabled under the "IMAP" extension heading?

Thanks!

Here are the list :
1. Linux Server distro CentOS 4.4
2. Webserver Apache
3. PHP version : 5.1.6
4. IMAP c-client Version : 2004
There's only one row under IMAP heading which is IMAP c-Client Version. There no any other row saying SSL Support.

Thanks

afrosheen
10-16-2007, 05:48 PM
That's odd, but Gmail is strictly POP and you have to enable POP in your gmail account to begin with.

neenach2002
10-16-2007, 08:40 PM
That is what I have been saying, but it seems I have been ignored....

drsecret
10-17-2007, 12:50 AM
That's odd, but Gmail is strictly POP and you have to enable POP in your gmail account to begin with.
Yes, I have enabled that part also. It works if I use Outlook Express but not cereberus....

neenach2002
10-17-2007, 12:51 AM
Yes, I have enabled that part also. It works if I use Outlook Express but not cereberus....

You don't understand, apparently. The GMail side is fine! It looks like you have configured Cerberus to use IMAP to download your mail.

drsecret
10-17-2007, 01:14 AM
You don't understand, apparently. The GMail side is fine! It looks like you have configured Cerberus to use IMAP to download your mail.
I've set Cerberus to POP3-SSL already.
Port : 995
Host : pop.gmail.com
Username : *****
Pasword : *****

What else ? Anything missed?

jstanden
10-17-2007, 10:00 PM
Here are the list :
...
4. IMAP c-client Version : 2004
There's only one row under IMAP heading which is IMAP c-Client Version. There no any other row saying SSL Support.


That's your problem then. ;)

Gmail requires POP3-SSL. Your PHP environment will need IMAP-SSL support enabled.

Search for 'ssl' on this page. The comments answer a lot of questions:
http://us2.php.net/imap

giz
11-01-2007, 01:58 AM
Update 11/1/2007 - FIXED
It turned out to be that imap ssl was enabled for php 4 but not php5 so those of you on servers running both, double check your phpinfo.

-------------------------------------------------------------------------------------------
I need help and I haven't heard back from support in 2 weeks so I'm going to stop lurking for a bit to ask for help. Ticket #RBW-98877-415.


Server OS - CentOS
Webserver - Apache
PHP Version - 4.4.7
IMAP Version - IMAP c-Client Version 2004
IMAP Status - SSL Support enabled


I've been getting the imap_open error since mid October. Non SSL works fine and I have a script testing the imap_open function and it's working. I tried notls, novalidate-cert, ssl and all returned errors.

My server supports IMAP-SSL and POP3-SSL. Both work fine in Mozilla Thunderbird. I was going to not worry about this until I realized I needed Gmail access.

Thank you in advance and Happy Halloween!

-----------------------------------------------
I get this error once I switch to either ssl version with the correct ports of 995/993

Warning: imap_open() [function.imap-open]: Couldn't open stream { mail.mydomain .com:993/imap/ssl/novalidate-cert}INBOX in /home/mydomain/public_html/helpdesk/plugins/cerberusweb.core/cron.classes.php on line 348
Failed with error: Can't open mailbox { mail.mydomain.com:993/imap/ssl/novalidate-cert}INBOX: invalid remote specification

Warning: imap_open() [function.imap-open]: Couldn't open stream { mail.mydomain .com:993/imap/ssl}INBOX in /home/mydomain/public_html/helpdesk/plugins/cerberusweb.core/cron.classes.php on line 348
Failed with error: Can't open mailbox { mail.mymydomain.com:993/imap/ssl}INBOX: invalid remote specification

Warning: imap_open() [function.imap-open]: Couldn't open stream {localhost:995/novalidate-cert}INBOX in /home/mydomain/public_html/helpdesk/plugins/cerberusweb.core/cron.classes.php on line 348
Failed with error: Can't open mailbox {localhost:995/novalidate-cert}INBOX: invalid remote specification


Hey there!

So is it intermittent, or has your Gmail never connected from Cerb4?

Can you share some information on your environment?

Server OS (Windows, BSD, MacOSX, Linux distro, etc)
Webserver (IIS, Apache, etc)
PHP Version (5.1.x, 5.2.x)
IMAP Version (from /cerb4/install/phpinfo.php output, or any phpinfo() output). Will be labeled "IMAP c-Client Version"Also, in your phpinfo() output, is "SSL Support" enabled under the "IMAP" extension heading?

Thanks!

Hildy
11-02-2007, 05:22 PM
Glad to hear it's working, giz!