Bernard Blackham <b-dovecot <at> blackham.com.au>
2003-10-04 01:27:00 GMT
On Fri, Oct 03, 2003 at 12:27:13PM +0800, Grahame Bowland wrote:
> > Any other patches thatI ought to add. Or better yet, will there be a
> > 0.99.11 soon?
> The only other patch we're running is the one by Bernard Blackham
> (it's in the list archives) so that "Deleted" and "Draft" messages
> are handled properly in mbox files. It's a fairly important patch,
> and it'd be really great if it was in the Debian package.
Timo clarified that the patch was only necessary for mboxes, not
maildirs so part of it wasn't applied. Attached is the correct patch
for mboxes only. Without it, users will get very confused very
quickly so it'd be good to see it in the Debian package. :)
For new installations, it's fine, but if you upgrade to a version
with this patch, users will discover all their Draft messages as
Deleted and all their Deleted messages as Draft. I have a small
utility to reverse these flags in an mbox if anybody is interested.
bernard at blackham dot com dot au
diff -ruN dovecot-0.99.10/src/lib-index/mbox/mbox-index.c dovecot-0.99.10.brb/src/lib-index/mbox/mbox-index.c
--- dovecot-0.99.10/src/lib-index/mbox/mbox-index.c Mon May 19 15:26:46 2003