fsockopen failer in squirrel mail, Help !!

vincenzobar

Verified User
Joined
Aug 15, 2004
Messages
89
I am getting these 2 errors

Warning: fsockopen(): unable to connect to localhost:143 in /var/www/html/squirrelmail-1.4.2/functions/imap_general.php on line 454


Error connecting to IMAP server: localhost.
111 : Connection refused

I have APF and i allowed 111 and 143 and still no go. What am i missing about this error.
 
You don't say if you're using Linux or FreeBSD.

If linux, make sure that xinetd has imap configured.

Jeff
 
vincenzobar said:
CentOS Linux

how do i do that?
Should be the same as for RH versions.
So you should need to enable /etc/xinetd.d/imap.
If it doesn't exist you should take a look if you've actually have imap stuff on the server with locate imapd.
It should be mentioned it has to exist somewhere, on my servers it's at the common location: /usr/sbin/imapd.

If it doesn't exist, you should check if you've ran the install script for the service correctly :).
 
Back
Top