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.