[Imap-uw] mailutil copy question

Mark Crispin MRC at CAC.Washington.EDU
Sat Apr 14 10:18:37 PDT 2007


On Sat, 14 Apr 2007, Fred Seaton wrote:
> Is there a way to copy a mailbox from one format to another (i.e., mbox to 
> mix) while retaining the original UID numbers?  One downside we've seen with 
> converting a mailbox format is that clients have to download a fresh copy of 
> the mail headers, which on a large mailbox, can be time consuming.

That is what the mixcvt program does.  mailutil is a general tool and is 
less than fully satisfactory for the purpose of converting to mix format. 
mixcvt is a special purpose tool designed to make a well-formed mix 
mailbox from the source mailbox.

Besides preserving the UID regime, mixcvt also splits the message store 
into multiple ~1MB data files, whereas mailutil will make a single 
gigantic mix data file.

Last, but not least, mixcvt can take mix files as its input; this is 
useful if you want to consolidate tiny data files (as the result of 
expunging) into large 1MB data files.

ftp://ftp.cac.washington.edu/mail/mixcvt.tar.Z

-- Mark --

http://staff.washington.edu/mrc
Science does not emerge from voting, party politics, or public debate.
Si vis pacem, para bellum.


More information about the Imap-uw mailing list