Horde POP3 Fetch Mail From Google Apps Mail

bEgUnDaL

Member
Nov 28, 2008
9
0
51
cPanel Access Level
Root Administrator
I'm trying to download my mail in google apps mail to my horde, using options;

Code:
Protocol POP3 (Auto Detect Protocols)
Username [email protected]
Password mypass
Server pop.gmail.com
Remote Mailbox Inbox
Local Mailbox Inbox
Unchecked Get only new messages? (IMAP only)
Unchecked Mark messages as seen? (IMAP only)
Checked Delete fetched messages from remote server?
Unchecked Fetch messages upon logging on?
The result was
Code:
Fetchmail: Cannot connect to the remote mail server: Can't open mailbox {pop.gmail.com:995/pop3/ssl/novalidate-cert}: invalid remote specification
Anyone knows is it possible for Horde to fetchmail from google apps mail

WHM 11.28.87 CURRENT Builds
 
Last edited:

bEgUnDaL

Member
Nov 28, 2008
9
0
51
cPanel Access Level
Root Administrator
SOLVED After Opening Support Ticket

The problem was, because Google Apps Mail / Google Mail / GMail requires SSL Support for either IMAP or POP3.
And the PHP binary that was being used with Horde doesn't have ssl support in the pop/imap plugin, it need to be rebuilt.

Rebuild instruction below was ripped from cPanel Support Personnel
First, configure EasyApache as normal, making sure that "IMAP" is one of the options checked under "Exhaustive Options" for PHP. You also need to make sure the option "Save my profile with appropriate PHP 5 options set so that it is compatible with cpphp" is checked, and then save (you don't actually have to build unless you want to.)

After that's done, these options are saved so that cPanel's PHP (cphp) which is used by horde, will be built with them. You can then rebuild the cpphp with /scripts/makecpphp There is no specific option to include SSL with imap, but as long as imap is enabled, it appears to default to building it with ssl support.
I actually never do those steps, becaused it was done by the support team.
Just to share the knowledge, would be great if someone somewhere has a similar problem could share that the above instruction cure the problem.