On Mon, 16 Feb 2009, Haral Tsitsivas wrote:
However that still leaves me with the question: how do I "burp" this baby?
Burping happens automatically whenever the mailbox is opened exclusively
read-write.
An added complication may be that Blackberry polls the imap server for my
messages periodically so the file may be periodically open by other
processes.
BlackBerry keeps the mailbox opened read-only at all times, a state that
neither can be burped nor permits burping by others. The change in UW's
imap-2007e that was supposed to support BlackBerry burping does not, in
fact, solve the problem.
If you look in the archives of the imap-uw mailing list, there was a
discussion about this on January 21, and I suggested a patch. You can try
that patch. However, I don't promise that it will work, and it has known
bad effects.
I have a much better solution that is known to work, but that is for my
server and not UW IMAP.
I don't know what plans, if any, UW has for solving the BlackBerry problem
in UW IMAP. I don't think that they'll pay me for my solution... :-)
I can check with ps and when there are no "imapd" processes running for this
user (I can kill any other running imapds) I can attempt to reclaim the
space.
However, I don't see a mailutil option for burp... and I want to delete all
previously deleted mail regardless of what folder they are in.
Which mailbox format are you using?
If you are using mbx, the only way to burp it is to open the mailbox in
read-write mode, and then do an expunge while nothing else has it open.
There is no way to do this in mailutil except by a "mailutil prune" that
matches at least one visible message.
If you are using mix, then opening the mailbox in read-write mode and
closing it while nothing else has it open will do the trick. You can do
this in mailutil with a null prune command such as:
mailutil prune mailbox "deleted undeleted"
Or just open it in mtest or alpine or even imapd manually.
It should not be very difficult for some bright hacker at your
organization to add a new command to mailutil to burp in either case
and/or to take a list of mailboxes to do your multiple-mailbox burp.
-- Mark --
http://panda.com/mrc
Democracy is two wolves and a sheep deciding what to eat for lunch.
Liberty is a well-armed sheep contesting the vote.
_______________________________________________
Imap-uw mailing list
[email protected]
http://mailman2.u.washington.edu/mailman/listinfo/imap-uw