On Tue, May 25, 2004 11:01 am, Matthew Walker said:
> I've just put up a Bugzilla to help me track known bugs in BayesSpam,
since email is simply /not/ functioning. Bugs get lost or ignored too
often. If anyone has outstanding problems, please post them into the
database with the output of the 'Bug Report' plugin in the comments so
that I can see what versions of SquirrelMail and IMAP you're running.
>
> Also include anything you believe might be relevant.
>
> And finally, the Bugzilla URL is:
> http://www.kydance.net/bugzilla/
>
> ==
> Matthew Walker
> Kydance Hosting & Consulting
> http://www.kydance.net
>
I haven't tried your latest version since I use the custom one that Brad
made (a while back) but just a heads up incase you want to use either on
the latest 1.5 CVS, you might have some problems unless you search for and
change these
-- bayesspam_functions.php
$headers[0]['FLAG_SEEN']
to this
$headers[$passed_id]['FLAGS']['\seen']
-- bayesspam_filter.php
$hdr['FLAG_SEEN']
to this
$hdr['FLAGS']['\seen']
Some changes where made in CVS the other day that changed how the flags
where accessed (which is perfectly fine with me, it is Devel after all and
actually is more organized this way) but it caused it to mark every
message that it checked as New (when using Bayes), took me a bit to figure
out what was actually happening and thought I might as well pass it on.
You might also want to make 3.2 compat with 1.5 by changing
if ($version_array[0] == 1 && $version_array[1] <= 2) {
sqimap_messages_remove_flag($imap_stream, $passed_id, $passed_id, 'Seen');
} else {
sqimap_messages_remove_flag($imap_stream, $passed_id, $passed_id,
'Seen', FALSE);
}
to this
if ($version_array[0] == 1 && $version_array[1] <= 2) {
sqimap_messages_remove_flag($imap_stream, $passed_id, $passed_id, 'Seen');
} else if ($version_array[0] == 1 && $version_array[1] == 5) {
sqimap_toggle_flag($imap_stream, $passed_id, '\\Seen', FALSE, TRUE);
} else {
sqimap_messages_remove_flag($imap_stream, $passed_id, $passed_id,
'Seen', FALSE);
}
Ya, I should have submitted this to the bug tracker, but the list has
archiving capabilities :)
Jimmy
|