[Dovecot] Spliting Folders for Efficiency

Timo Sirainen tss at iki.fi
Sun Jun 28 00:20:58 EEST 2009


On Thu, 2009-06-25 at 11:17 +0100, Daniel Watts wrote:
> Digging up this thread from 2007. Just had another conversation in my 
> company about how to spread old non-accessed files to cheaper slower 
> storage.
> 
> Is this now feasible? I noticed dbox is now v2.0 but see no reference to 
> virtual folders or auto-archiving etc.

Multi-dbox is in v2.0, but single-dbox is already in v1.1! You can
configure it to use two directories, e.g.:

mail_location = dbox:~/dbox:ALTPATH=/cheapstorage/%h

v2.0 implements dbox somewhat better, but v1.1's version should work
well enough too. v1.1 just creates a pretty useless dbox.index file and
also writes (for backup) flag changes to dbox files once in a while.

Moving old messages can be done using expire plugin:
http://wiki.dovecot.org/Plugins/Expire#Alternative_dbox_directory_expiration or you can do it manually with mv command as well.

With the above configuration there's no need to use virtual mailboxes.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090627/0b25b2c2/attachment.bin 


More information about the dovecot mailing list