bug in imp 2.3.7

Kris von Mach dev@swishmail.com
Wed, 05 Sep 2001 12:26:06 -0400


Hi,

I think I may have found a bug in imp 2.3.7.

When a user deletes (marks for deletion) first email message that is 
unseen, then clicks on 'hide deleted', logs out, and logs back in, they get 
this:

Warning: Undefined offset: 117 in 
/home/httpd/html/beta-horde/imp/mailbox.php on line 430

Warning: Cannot add header information - headers already sent by (output 
started at /home/httpd/html/beta-horde/imp/mailbox.php:430) in 
/usr/local/lib/php/HTTP/Compress.php on line 75

Warning: Cannot add header information - headers already sent by (output 
started at /home/httpd/html/beta-horde/imp/mailbox.php:430) in 
/usr/local/lib/php/HTTP/Compress.php on line 76

Warning: Cannot add header information - headers already sent by (output 
started at /home/httpd/html/beta-horde/imp/mailbox.php:430) in 
/usr/local/lib/php/HTTP/Compress.php on line 86

Warning: Cannot add header information - headers already sent by (output 
started at /home/httpd/html/beta-horde/imp/mailbox.php:430) in 
/usr/local/lib/php/HTTP/Compress.php on line 100

and a lot more compressed stuff....


This doesn't happen to all the accounts. It depends what one has in their 
email account already. So there is some other variable here that needs to 
be met in order to replicate this error. Which I can't locate.

But I can replicate this every time, by actually copying all the email 
messages from one account to another account, then following the steps I 
described, and the same thing will happen.

Has anyone else experienced this? And is anyone of the developers willing 
to look into this? I can send the whole mailbox if you need it to locate 
the problem.

I run on FreeBSD 4.2 qmail 1.03 vpopmail 4.9.8-2 courier imap 1.3.6 with 
apache 1.3.20 php4.0.6-memlimit and latest PEAR. I have also replicated 
this error on:
FreeBSD 4.3-stable qmail 1.03 vpopmail 4.9.10 courier imap 1.3.8.2 with 
apache 1.3.20 php4.0.6 and latest PEAR.

I will continue to try to isolate the problem, but if anyone has any 
suggestions, I would appreciate it.

__
Kris.