Opened 5 years ago
Closed 5 years ago
#1485058 closed Bugs (worksforme)
Problems with imap connection
| Reported by: | thiago | Owned by: | |
|---|---|---|---|
| Priority: | 10 - Lowest | Milestone: | later |
| Component: | IMAP connection | Version: | git-master |
| Severity: | critical | Keywords: | imap connection |
| Cc: |
Description (last modified by thomasb)
I try make connection with imap.gmail.com using
$rcmail_config['default_host'] = 'ssl://imap.gmail.com:993'; $rcmail_config['default_port'] = '';
[12-May-2008 10:05:19] PHP Warning: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to ssl://imap.gmail.com:993 (Permission denied) in /var/www/html/sociamail/program/lib/imap.inc on line 468 [12-May-2008 10:05:19 -0500] IMAP Error: Could not connect to ssl://imap.gmail.com at port 993: Permission denied in on line 0
i make test in port 993 using telnet and receive...
[root@pegasus config]# telnet telnet> open imap.gmail.com 993 Trying 74.125.45.111... Connected to imap.gmail.com (74.125.45.111). Escape character is '^]'.
not have firewall block in ports of my dedicated server
Chain INPUT (policy ACCEPT)
Chain FORWARD (policy ACCEPT)
Chain OUTPUT (policy ACCEPT)
in my php.ini have
default_socket_timeout = 300
My system is:
CentOS 5 (with all updates)
PHP 5.2.6
MySQL 5.1.24-rc
Apache 2.2
OpenSSL 0.97b
Cyrus-IMAPD
I received ok in ALL options of installer... (magic_quotes, mcrypt, and others)...
i need help for this question, no have other alternatives for resolve my problem!...
Change History (1)
comment:1 Changed 5 years ago by thomasb
- Description modified (diff)
- Resolution set to worksforme
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.

Sounds like a PHP restriction to connect to foreign hosts. Check your php.ini or google for php fsockopen "Permission denied"