[Dovecot] Thunderbird Archive to slower storage - sort of alternate storage

Timo Sirainen tss at iki.fi
Wed Mar 14 14:19:31 EET 2012


On Wed, 2012-03-14 at 08:51 -0300, Marcio Merlone wrote:
> Em 13-03-2012 15:58, Marcio Merlone escreveu:
> > Em 13-03-2012 13:49, Timo Sirainen escreveu:
> >> A perfectly working solution would be to (upgrade to v2.x and) switch 
> >> to sdbox or mdbox format with alt storage enabled, then you could 
> >> simply do: doveadm altmove -A mailbox 'Archives*' all 
> Should this command be run every time a new folder (.Archives.2012 for 
> example) is created or can this be automated, something like instructing 
> deliver to do this to any Archives* is created? In other words, to cron 
> or not to cron?

It's not deliver that creates it, it's the IMAP client. And it would
have to be done when IMAP client copies mails there. But there's
currently no easy way to automate that, so you'd need to do it in cron.

Another possibility could be to add a new feature (plugin) that always
immediately saves mails in Archives* mailboxes to alt storage.





More information about the dovecot mailing list