[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

php4-imap on Debian unstalble broken?



Just hoping someone else has run into it, too. 
(Strangely though, no traces of it anywhere, so 
might just be me, having another case of "missing 
one line in all the tons of docs I've digged 
through".)

BTW, uw-imapd, c-client, php4, php4-imap & apache
has just been apt-ed up -- and likely that's the 
very reason of the failure... What else I missed
to upgrade, maybe? (I'm reluctant to dist-uprgade 
this server. This is unstable, so I bought trouble 
for myself, I know. I still think it's a good deal, 
though, but that's another story.)

TIA,
Sab

----- Original Message ----- 
From: "NEURONET" <sz@neuronet.hu>
To: <chuck@horde.org>
Sent: Saturday, January 11, 2003 4:33 PM
Subject: php4-imap on Debian unstalble broken?


> Hi maestro,
> 
> (I just found your name in 
> /usr/share/doc/php4-imap/EXTENSIONS.)
> 
> I'm having serious bad times for not being able 
> to connect to localhost:143 using imap_open. 
> Namely, IMP broke on my webmail site after 
> upgrading uw-imapd (and c-client2002, with 
> plain text passwords). 
> 
> Squirrelmail (which appears to use its own low-
> level IMAP stuff), telnet 143 and Outlook all 
> work fine.
> 
> You can test it and see imap_open failing (but 
> for POP3, still working) at:
> 
> http://www.tesztek.hu/secret/imap.php
> 
> imap.php:
> <?
>         $imap = imap_open("{localhost:143/imap}", "test", "kaka");
> 
>         echo "<p><h1>IMAP Mailboxes</h1>\n";
>         $folders = imap_listmailbox ($imap, "{localhost:143/imap}", "*");
> 
>         if ($folders == false) {
>                 echo "Folders could not be get<br>\n";
>         } else {
>                 while (list ($key, $val) = each ($folders)) {
>                         echo $val."<br>\n";
>                 }
>         }
>         echo "<p><h1>Headers in INBOX via IMAP</h1>\n";
>         $headers = imap_headers ($imap);
>         if ($headers == false) {
>                 echo "Call failed<br>\n";
>         } else {
>                 while (list ($key,$val) = each ($headers)) {
>                         echo $val."<br>\n";
>                 }
>         }
>         imap_close($imap);
> 
>         $pop  = imap_open("{localhost:110/pop3}", "test", "kaka");
>         echo "<p><h1>Headers in INBOX via POP3</h1>\n";
>         $headers = imap_headers ($pop);
>         if ($headers == false) {
>                 echo "Call failed<br>\n";
>         } else {
>                 while (list ($key,$val) = each ($headers)) {
>                         echo $val."<br>\n";
>                 }
>         }
> 
>         imap_close($pop);
> ?>
> 
> Please let me know what to do to bring it back up,
> or most importantly, direct me to the proper docs.
> (I'm digging Google, IMP, PHP & UW docs for more 
> than 2 days now...)
> 
> Thanks,
> Sab



Reply to: