I'm in the process of installing SquirrelMail as part of a package per the instructions of QmailRocks.org. (http://freebsd.qmailrocks.org/webmail.htm)This installation is on a FreeBSD 5.1 running Apache 1.3.27, courier IMAP 2.20, and Squirrelmail 1.4.2 (with no plug-ins). Mod_php4 has been installed via the ports collection.
When I open http://www.mydomain.com/webmail I get the login screen. When I enter a valid account and password I receive the following php errors:
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /usr/local/www/data-dist/webmail/functions/imap_general.php on line 454
Warning: fsockopen() [function.fsockopen]: unable to connect to locahost:143 in /usr/local/www/data-dist/webmail/functions/imap_general.php on line 454
Line 454 of this file is:
$imap_stream = fsockopen ( $imap_server_address, $imap_port, $error_number, $error_string, 15);
and the following generic error in the "ERROR" box that appears at the bottom of the screen:
Error connecting to IMAP server: locahost. 22 : Invalid argument
My SM conf file appears to be correctly setup. My settings are as follows:
Server Settings
General ------- 1. Domain : mydomain.com 2. Invert Time : false 3. Sendmail or SMTP : SMTP
A. Update IMAP Settings : locahost:143 (other) B. Update SMTP Settings : localhost:25
IMAP Settings -------------- 4. IMAP Server : locahost 5. IMAP Port : 143 6. Authentication type : login 7. Secure IMAP (TLS) : false 8. Server software : other 9. Delimiter : detect
SMTP Settings ------------- 4. SMTP Server : localhost 5. SMTP Port : 25 6. POP before SMTP : false 7. SMTP Authentication : none 8. Secure SMTP (TLS) : false
and running NMAP shows the proper ports are listening:
Starting nmap 3.27 ( www.insecure.org/nmap/ ) at 2004-01-02 16:10 CST Interesting ports on localhost.mydomain.com (127.0.0.1): (The 1617 ports scanned but not shown below are in state: closed) Port State Service 22/tcp open ssh 25/tcp open smtp 80/tcp open http 110/tcp open pop-3 143/tcp open imap2 993/tcp open imaps
I've googled and search the archives and found nothing to that seems to directly apply to my errors. I'll admit up front that i don't have any php experience, and that my brain is pudding after having been at this for the last five hours non-stop. Any guidance is greatly appreciated.
Thanks,
Mark
------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click -- squirrelmail-users mailing list List Address: [EMAIL PROTECTED] List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
