[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Wed, 03 Aug 2005 21:14:51 -0400 -->
- <!--x-from-r13: wo ng fbheprvyyhfgengrq.pbz (Xbua Iryyf) -->
- <!--x-message-id: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] Squirrelmail, PHP5, dovecot -->
- <li><em>date</em>: Wed, 03 Aug 2005 21:14:51 -0400</li>
- <li><em>from</em>: jb at sourceillustrated.com (John Wells)</li>
- <li><em>in-reply-to</em>: <<a href="msg00032.html">[email protected]</a>></li>
- <li><em>references</em>: <<a href="msg00029.html">[email protected]</a>> <<a href="msg00030.html">[email protected]</a>> <<a href="msg00032.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] Squirrelmail, PHP5, dovecot</li>
>Good question. And yes, dovecot is listening to all interfaces and IP
>address.
>netstat -tl | grep -i imap
>tcp 0 0 *:imaps *:* LISTEN
>tcp 0 0 *:imap *:* LISTEN
>
>
>An error message from the /var/log/httpd/error.log:
>
>PHP Warning: fsockopen() [<a
>href='function.fsockopen'>function.fsockopen</a>]: unable to connect to
>localhost:143 (Connection timed out)
>in /usr/share/squirrelmail/src/configtest.php on line 255
>
>
James,
There's a small example script at <a rel="nofollow" href="http://php.net/fsockopen">http://php.net/fsockopen</a> (along with a
description of the function). I'd recommend modifying it and running it
on the box as a further trouble shooting measure. Something like:
|<?php
$fp = fsockopen("localhost", 143, $errno, $errstr);
if (!$fp) {
echo "DAMN IT: $errstr ($errno)<br />\n";
} else {
echo "Made the connection...no problems here.";
fclose($fp);
}
?> |
Also, what version of squirrelmail are you running? My version (1.4.3)
doesn't even *have* configtest.php...
John
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00035" href="msg00035.html">[ale] Squirrelmail, PHP5, dovecot - SOLVED!</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00029" href="msg00029.html">[ale] Squirrelmail, PHP5, dovecot</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
<li><strong><a name="00030" href="msg00030.html">[ale] Squirrelmail, PHP5, dovecot</a></strong>
<ul><li><em>From:</em> jb at sourceillustrated.com (John Wells)</li></ul></li>
<li><strong><a name="00032" href="msg00032.html">[ale] Squirrelmail, PHP5, dovecot</a></strong>
<ul><li><em>From:</em> jkinney at localnetsolutions.com (James P. Kinney III)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00033.html">[ale] Running PPP over a modem</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00035.html">[ale] Squirrelmail, PHP5, dovecot - SOLVED!</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00032.html">[ale] Squirrelmail, PHP5, dovecot</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00035.html">[ale] Squirrelmail, PHP5, dovecot - SOLVED!</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00034"><strong>Date</strong></a></li>
<li><a href="threads.html#00034"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>