[Dovecot] How can I archive maildir?
Does anyone have a suggestion how to archive old maildir format mail?
On Saturday 14 January 2006 8:41 pm, Jakob Hirsch wrote:
Neal Becker wrote:
Does anyone have a suggestion how to archive old maildir format mail?
You mean, something like this?
find cur/ -mtime +14 -exec mv {} .archive/new \;
There is a small chance of file name collisions, though...
So, is it safe? Dovecot won't be upset when indexes are stale or something?
Neal Becker wrote:
There is a small chance of file name collisions, though... So, is it safe?
As I wrote, there's a chance that older message files get overwritten, as the names are not meant to be unique for the whole system, but I'd say they usually are.
Dovecot won't be upset when indexes are stale or something?
No. That's what LDAs do all the time.
participants (2)
-
Jakob Hirsch
-
Neal Becker