Vreme: 11/02/2011 07:53 PM, Phoenix, Merka piše: >>> I have a bunch of old mail spread variously across dovecot maildirs and mbox format files on several machines that are headed for the trash. Is there anything considered to be a portable archive format for mail messages, and if so are there tools to copy into it - or do I have to pick a client and copy to its local storage?<< >>> >>> -- >>> Les Mikesell >>> lesmikesell@xxxxxxxxx > > The mbox format and mail messages in the dovecot maildirs can be copied as is to another server (or directory). > The only thing that you don't need (or probably don't want) to copy would be the index files that live in the directory above the maildirs. > > The index files are in the form: dovecot-* and dovecot.index* and usually live above the actual directory where the messages are stored. Also, most of the sub-folders have a leading '.' so would be "hidden" unless you use 'ls -la' to view the directory contents. > There is simple script to convert maildir to mailbox format: http://www.linuxquestions.org/questions/linux-general-1/a-script-to-convert-maildir-to-mailbox-format-381568/ and scripts to convert mailbox to maildir: http://batleth.sapienti-sat.org/projects/mb2md/ http://perfectmaildir.home-dn.net/ There are many more, but this ones come at the top of the google search. -- Ljubomir Ljubojevic (Love is in the Air) PL Computers Serbia, Europe Google is the Mother, Google is the Father, and traceroute is your trusty Spiderman... StarOS, Mikrotik and CentOS/RHEL/Linux consultant _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos