[imp] c-client (IMAP 2001 Final) and IMP
Vicki Brown
vlb@gene.COM
Fri, 30 Aug 2002 15:31:37 -0700
I'm getting unfortunate and weird results from IMP's test.php
(run from horde/test.php).
I re-built IMAP 2001-Final c-client (library and headers).
I ran mtest; it gave me exactly the results I expected:
Enter INBOX, mailbox name, or IMAP mailbox as {host}mailbox
Mailbox ('?' for help): {kansas-mail.gene.com}INBOX
[Trying IP address [128.137.56.50]]
* OK [CAPABILITY IMAP4 IMAP4REV1 ...
{kansas.gene.com/imap} username: vlbrown
Password:
...
00000001 SELECT INBOX
* 7 EXISTS
...
* 0 RECENT
...00000001 OK [READ-WRITE] SELECT completed
Fri, 30 Aug 2002 10:11:08 -0700 (PDT)
imap mailbox: {kansas.gene.com:143/imap/user="vlbrown"}INBOX, 7
messages, 0 recent
I rebuilt PHP 4.2.2 --with-imap=<path-to-c-client-prefix> and
reinstalled PHP.
I run http:///.../horde/test.php and click the link to test IMP.
Under PHP IMAP Support test I get
server="kansas-mail.gene.com" user="vlbrown"
mailbox="{kansas-mail.gene.com:143}INBOX"
INBOX has 0 messages (0 new 1030392911 recent)
I thought maybe the problem was the format; IMP's test.php used
mailbox="{kansas-mail.gene.com:143}INBOX"
where mtest used
mailbox: {kansas.gene.com:143/imap/user="vlbrown"}INBOX
so I modified test.php accordingly; now I get
server="kansas-mail.gene.com" user="vlbrown"
mailbox="{kansas-mail.gene.com:143/imap/user="vlbrown"}INBOX"
INBOX has 0 messages (0 new 1030392911 recent)
(I broke the first line across two email lines).
so, the mailbox "looks" right but the results are still wrong.
Using my regular mail app I have 2 messages in my INBOX (and
have NEVR had that many recent messages :/
Suggestions?
Please Cc: me directly; I subscribe to the digest.
- Vicki