On Mon, 17 Nov 2008, James H. McCullars wrote:
1.) Run mixcvt on everyone's (or a selected subset) INBOX
2.) Run mailutil create -u username ~username/INBOX (I have recompiled
imap-2007d with CREATEPROTO=mix) and let the users snarf up the messages next
time they check mail
Either way will work. #1 is a little bit better because the #2 method
will put all the converted mail into a single mix data file (which loses
much of the benefit of mix). However, over time this becomes less of a
concern, since all post-conversion messages will be in multiple data
files.
As for lockout, you can either have a script that disables the user for
the few minutes of the conversion, or simply give the task to The 3AM
Hacker who works when no sane person is on... ;-)
As to folders, I was thinking of something like:
go to a user's home directory
read the .mailboxlist file
foreach line, call mixcvt to write to a temp mailstore
delete the old foldername
rename the new mailstore to the old folder name
Do not use the .mailboxlist file for such a purpose. Only broken clients
require that file, which means that there is no guarantee that the file
even exists, much less is populated.
Presumably, this is a standalone server without shell access for normal
users. Thus, there should not be much in the way of non-mailbox files in
the users' directories.
-- 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