[Dovecot] mbox to maildir conversion on a user-by-user basis!
Tony Kay
tkay at uoregon.edu
Thu Feb 2 21:33:11 EET 2006
In the midst of evaluating Dovecot for use in solving some mbox locking issues (while also waiting for our eventual migration to maildir), I had an epiphany.
It looks like Dovecot's auto-detection of mail formats would allow us to migrate from mbox to maildir on a user-by-user basis!
I was thinking:
1. Let dovecot autodetect mail storage
2. Use some procmail trickery to detect which format to deliver into (I am researching how to do the detection on a user-by-user basis)
3. Manually convert users as you want by:
- Temporarily disable mail delivery for that user (at least make it look like the inbox is locked)
- Run conversion on mbox files -> maildir format
- Put in the procmail hack for them
- Re-enable delivery
Way cool.
I am still working out the details, but I was wondering if anyone sees a problem with this???
--
Anthony Kay
University Computing Center
(541) 346-1719
GPG Fingerprint: B0DB D46A 60AF FAE7 A94A 5075 0CB4 4D88 9F4F 7F09
Sanity is a cozy lie.
Susan Sontag
More information about the dovecot
mailing list