Hi. I hope someone can help with this. During configtest.php:
ERROR: Error connecting to IMAP server "localhost:143".Server error: (61) Connection refused The following command succeeds: $ telnet localhost 143 /etc/inetd.conf: pop3 stream tcp nowait root /usr/local/libexec/ipop3d ipop3d imap stream tcp nowait root /usr/local/libexec/imapd imapd # lsof -i4tcp:143 -nP COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME inetd 30670 root 5u IPv4 0xd3ae35f0 0t0 TCP *:143 (LISTEN) I am running OpenBSD 3.7 with default Apache (1.3.29). I installed my IMAP server by OpenBSD package: # pkg_info | grep uw imap-uw-2004.357p0 University of Washington IMAP4rev1/POP2/POP3 mail servers By default OpenBSD puts Apache in a chroot jail but this is not the issue as I get the same error when I test in normal mode. I am using Apache/PHP fine with another web application (Drupal). I include relevant part of configtest.php: /** * Check the IMAP server */ echo "Checking IMAP service....<br />\n"; /** Can we open a connection? */ $stream = fsockopen( ($use_imap_tls?'tls://':'').$imapServerAddress, $imapPort, $errorNumber, $errorString); if(!$stream) { do_err("Error connecting to IMAP server \"$imapServerAddress:$imapPort\".". "Server error: ($errorNumber) ". htmlspecialchars($errorString)); } /** Is the first response 'OK'? */ $imapline = fgets($stream, 1024); if(substr($imapline, 0,4) != '* OK') { do_err('Error connecting to IMAP server. Server error: '. htmlspecialchars($imapline)); } __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users