Author Topic: Connection to IMAP Server failed.  (Read 5773 times)

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Connection to IMAP Server failed.
« on: April 14, 2008, 11:32:36 PM »
Using HostMonster - Setup RCM

Setup email account - tested email account with client - works great from Apple Mail- can send and receive email on this IMAP account-

Installed RCM in my site - can't even get past the login - I get the error message "Connection to IMAP Server failed."

I get error log message pointing to file "imap.inc on line 468"

Error log:

[14-Apr-2008 21:13:08] PHP Warning: fsockopen() [function.fsockopen]: php_network_getaddresses:

getaddrinfo failed: Name or service not known in /home/dcssatto/public_html/RCM/program/lib/imap.inc on line 468

[14-Apr-2008 21:13:08] PHP Warning: fsockopen() [function.fsockopen]: unable to connect to
mail.dcssattorneys.com localhost:143 (Unknown error) in /home/dcssatto/public_html/RCM/program/lib/imap.inc on line 468

[14-Apr-2008 21:13:08 -0600] IMAP Error: Could not connect to mail.dcssattorneys.com localhost at port 143: in on line 0

Here is line 468--------------------------->

Line 468:

$iil_error  = "Could not connect to $host at port $ICL_PORT: $errstr";
$conn->fp = fsockopen($host, $ICL_PORT, $errno, $errstr, 10);

WTF?????

 - Any help appreciated.


Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Re: Connection to IMAP Server failed.
« Reply #1 on: April 15, 2008, 09:15:50 AM »
No one???

Please, anyone??

Offline BlueC

  • Jr. Member
  • **
  • Posts: 25
Re: Connection to IMAP Server failed.
« Reply #2 on: April 15, 2008, 02:49:38 PM »
you've got it configured wrong, the clue is here:

Quote
"Could not connect to mail.dcssattorneys.com localhost at port 143"

Is it mail.dcssattorneys.com you want to connect to, or localhost?

Check the following setting in ./config/main.inc.php

Code: [Select]
$rcmail_config['default_host']
C

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Re: Connection to IMAP Server failed.
« Reply #3 on: April 15, 2008, 03:36:32 PM »
Thank you, I will check it this PM, and let you know the results. Thanks!! :)

Offline sfreemanRCM

  • Jr. Member
  • **
  • Posts: 22
Re: Connection to IMAP Server failed.
« Reply #4 on: April 15, 2008, 05:51:49 PM »
Quote from: BlueC
you've got it configured wrong, the clue is here:

Quote
"Could not connect to mail.dcssattorneys.com localhost at port 143"

Is it mail.dcssattorneys.com you want to connect to, or localhost?

Check the following setting in ./config/main.inc.php

Code: [Select]
$rcmail_config['default_host']
C
 :D
Blue C !!!!

You are THE man!!!! Couldn't wait to test, so I followed your advice, and it worked great - had a little hiccup trying to send a message - but testesd out just fine!! ;D

Thank you! :)