Re: PHP 4.0 Bug #8424: imap_status
| From: | Anil Madhavapeddy | Date: | Tue, 26 Dec 2000 16:59:44 +0000 |
| Subject: | Re: PHP 4.0 Bug #8424: imap_status | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42276@lists.php.net to get a copy of this message | ||
On Tue, Dec 26, 2000 at 04:40:21PM -0000, katz@advanced.org wrote:
> From: katz@advanced.org
> Operating system: Linux
> PHP version: 4.0.4
> PHP Bug Type: IMAP related
> Bug description: imap_status
>
> The 'imap_status' function seems to not be working anymore. An strace of a run using
> imap commands shows imap_open properly opening the connection and logging in.. other imap commands
> running fine, but when imap_status runs it tries to log into the mailbox with incorrect parameters,
> using {\d}, (ie, {4}, {5}, etc...) in place of things like the mailbox name, userid, password,
> etc... The result is multiple "login incorrect" messages as it tries a few times to log
> in.. The command worked fine in 4.0.3 (all code with the command stopped working in 4.0.4)..
>
Max Kalika [cced] and I spent a fair amount of time tracking down
a problem like this we encountered while hacking on IMP.
Look at this thread for a bit more information:
http://marc.theaimsgroup.com/?l=imp&m=97681331109677&w=2
It seems to be tied in to whether or not you connect via
a CNAME. For example, putting in 'localhost' fails for me
if localhost is not in /etc/hosts (since it then defaults to
the localhost.domainname CNAME in most dns entries).
Max, have you had a chance to look at this at all? It's come and
gone for me for over six months. Also, I have not been able to
reproduce it in a non-Linux system (I copied Max's CVS tree
of IMP verbatim to my OpenBSD machine, and it worked fine
without this problem using my c-client/PHP setup, which were
exactly the same versions as Max's).
--
Anil Madhavapeddy, <avsm@horde.org>