# HG changeset patch # User Pascal Volk # Date 1279643131 0 # Node ID ee89399346cbd1c3110aaa687684fa7634f1b89b # Parent e21ceaabe871cb1324fed63cb7f55be60858e51d VMM/Config: Added mailbox.root setting. diff -r e21ceaabe871 -r ee89399346cb VirtualMailManager/Config.py --- a/VirtualMailManager/Config.py Tue Jul 20 03:15:57 2010 +0000 +++ b/VirtualMailManager/Config.py Tue Jul 20 16:25:31 2010 +0000 @@ -341,6 +341,7 @@ 'mailbox': { 'folders': LCO(str, 'Drafts:Sent:Templates:Trash', self.get), 'format': LCO(str, 'maildir', self.get), + 'root': LCO(str, 'Maildir', self.get), }, 'misc': { 'base_directory': LCO(str, '/srv/mail', self.get, is_dir), diff -r e21ceaabe871 -r ee89399346cb update_config.py --- a/update_config.py Tue Jul 20 03:15:57 2010 +0000 +++ b/update_config.py Tue Jul 20 16:25:31 2010 +0000 @@ -104,6 +104,7 @@ ('maildir.diskusage', 'account.disk_usage'), ('maildir.delete', 'account.delete_directory'), ('maildir.folders', 'mailbox.folders'), + ('maildir.name', 'mailbox.root'), ('misc.forcedel', 'domain.force_deletion'), ('misc.passwdscheme', 'misc.password_scheme'), ('misc.dovecotvers', 'misc.dovecot_version')): diff -r e21ceaabe871 -r ee89399346cb vmm.cfg --- a/vmm.cfg Tue Jul 20 03:15:57 2010 +0000 +++ b/vmm.cfg Tue Jul 20 16:25:31 2010 +0000 @@ -20,18 +20,20 @@ # [mailbox] ; The mailbox format to be used for user's mailboxes. (String) -; Depending on the used Dovecot version there are up to four supported formats: +; Depending on the used Dovecot version there are up to 3 supported formats: ; * maildir - since Dovecot v1.0.0 -; * mbox - since Dovecot v1.0.0 -; * dbox - since Dovecot v1.2.0 -; * mdbox - comes with Dovecot v2.0.0 +; * mdbox - since Dovecot v2.0.beta1 +; * sdbox - since Dovecot v2.0.rc3 format = maildir ; A colon separated list of mailbox names, that should be created (String) -; Works currently only if the format is either 'maildir' or 'mbox' . For -; other formats use Dovecot's Autocreate plugin: -; ; e.g.: folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix folders = Drafts:Sent:Templates:Trash +; Name of the mailbox root directory in a user's home. (String) +; Usually used names (format: name): +; * maildir: Maildir +; * mdbox: mdbox +; * sdbox: sdbox +root = Maildir # # Domain settings