[ale] Squirrelmail, PHP5, dovecot - SOLVED!
James P. Kinney III
jkinney at localnetsolutions.com
Wed Aug 3 23:11:51 EDT 2005
On Wed, 2005-08-03 at 21:14 -0400, John Wells wrote:
> >
> James,
>
> There's a small example script at http://php.net/fsockopen (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...
>
Got it working!!
What I found:
1. IPV6 uses a different calling sequence in the fsockopen(). It
requires [] around the ip address (which is lacking in all uses of
fsockopen everywhere in SM. It would require some other testing to
determine what format is being used and then build the fsockopen().
2. RH4 defaults to using IPV6 (which is now turned off in modprobe.conf
with "alias net-pf-10 off".
3. used an IP address NOT affiliated with a virtual interface. (That was
strange)
I don't know why localhost failed after 1 and 2. There is an entry
in /etc/hosts for localhost (and for some convenience naming of virtual
interface addresses).
BTW: v. 1.4.4 and now also 1.4.5 (new release not yet in fedora-updates
compiled from src.rpm). configtest.php is in 1.4.4+ .
> John
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
--
James P. Kinney III \Changing the mobile computing world/
CEO & Director of Engineering \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
http://www.localnetsolutions.com
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
More information about the Ale
mailing list