[Novalug] thinking about switching to maildir
drwho at virtadpt.net
Tue Apr 3 12:45:21 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
On 04/03/2012 12:13 AM, Mark Smith wrote:
> i've been using mbox forever. now that i pay for network, there's
> an incentive to avoid transfering entire mbox files during backups.
> i've been thinking about using maildir mail format instead to help
> with this.
That sounds like a pretty good plan to me.
> i'm using postfix for my MTA and dovecot for my imap server. i
> use mutt and apple mail for my MUA. this is all on an ubuntu
> server. do you see any gotchya's while switching?
Not really, no. You're accessing your mail spool over IMAP, so as
long as dovecot is configured to reference Maildirs rather than mbox
files you should be good to go.
> i have nearly 5GB of old mail i don't want to lose. i also use
> symlinks on my mailboxes so that different names point to the same
> mbox file. i want to continue doing this. for instance:
I have no idea how you made that work. You wrote that you use mutt as
your MUA sometimes; do you have it configured to reference the mbox
> how hard will the conversion be? i reckon something like this will
> need to happen:
> 1. turn off mail 2. copy mail to backup 3. convert all mail to
> maildir format
Check this out: http://batleth.sapienti-sat.org/projects/mb2md/
3a. Make sure that file and directory ownerships are correct.
> 4. configuration changes as necessary 5. turn on mail
> will i be happy with this move?
I think you'll find Maildirs a bit faster (because the IMAP server
won't have to sequentially page through a huge file to find messages)
and more reliable (more eggs, more baskets).
The Doctor [412/724/301/703]
PGP: 0x807B17C1 / 7960 1CDC 85C9 0B63 8D9F DD89 3BD8 FF2B 807B 17C1
"Art is the lie that tells the truth" --Pablo Picasso
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Novalug