# HG changeset patch # User Pascal Volk # Date 1279833652 0 # Node ID df0f7b22540c05e0ad0d5f014d368f6760a92f8b # Parent 8dd3a107fd929afe7f0bda30a30818508bb35ba9 VMM/Config: Added boolean option mailbox.subscribe. diff -r 8dd3a107fd92 -r df0f7b22540c VirtualMailManager/Config.py --- a/VirtualMailManager/Config.py Thu Jul 22 16:18:38 2010 +0000 +++ b/VirtualMailManager/Config.py Thu Jul 22 21:20:52 2010 +0000 @@ -332,6 +332,7 @@ self.unicode), 'format': LCO(str, 'maildir', self.get, check_mailbox_format), 'root': LCO(str, 'Maildir', self.unicode), + 'subscribe': LCO(bool_t, True, self.getboolean), }, 'misc': { 'base_directory': LCO(str, '/srv/mail', self.get, is_dir), diff -r 8dd3a107fd92 -r df0f7b22540c man/de/man5/vmm.cfg.5.rst --- a/man/de/man5/vmm.cfg.5.rst Thu Jul 22 16:18:38 2010 +0000 +++ b/man/de/man5/vmm.cfg.5.rst Thu Jul 22 21:20:52 2010 +0000 @@ -330,12 +330,22 @@ Benutzers. Übliche Namen, je nach verwendetem |mailbox.format|_, sind: **Maildir**, **mdbox** oder **sdbox**. +.. _mailbox.subscribe: + +``subscribe (Vorgabe: true)`` : *Boolean* + Wenn dieser Option der Wert **true** zugewiesen wurde, werden die, gemäß + |mailbox.folders|_, erstellen Mailboxen in der subscriptions-Datei des + Benutzers gelistet. Sollen die erstellen Mailboxen nicht nicht in der + subscriptions-Datei gelistet werden, weisen Sie dieser Option den Wert + **false** zu. + Beispiel:: [mailbox] folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix format = maildir root = Maildir + subscribe = false MISC diff -r 8dd3a107fd92 -r df0f7b22540c man/man5/vmm.cfg.5.rst --- a/man/man5/vmm.cfg.5.rst Thu Jul 22 16:18:38 2010 +0000 +++ b/man/man5/vmm.cfg.5.rst Thu Jul 22 21:20:52 2010 +0000 @@ -316,12 +316,21 @@ names, depending on the used |mailbox.format|_, are **Maildir**, **mdbox** or **sdbox**. +.. _mailbox.subscribe: + +``subscribe (default: true)`` : *Boolean* + When this option is set to **true**, the mailboxes from the + |mailbox.folders|_ option will be listed in the user's subscriptions file. + If you don't want to subscribe the created mailboxes, set this option to + **false**. + Example:: [mailbox] folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix format = maildir root = Maildir + subscribe = false MISC diff -r 8dd3a107fd92 -r df0f7b22540c man/substitute_links_5.rst --- a/man/substitute_links_5.rst Thu Jul 22 16:18:38 2010 +0000 +++ b/man/substitute_links_5.rst Thu Jul 22 21:20:52 2010 +0000 @@ -1,6 +1,7 @@ .. Substitutions in section 5 .. |account.password_length| replace:: **password_length** +.. |mailbox.folders| replace:: **folders** .. |mailbox.format| replace:: **format** .. |misc.crypt_sha256_rounds| replace:: **crypt_sha256_rounds** .. |misc.crypt_sha512_rounds| replace:: **crypt_sha512_rounds** diff -r 8dd3a107fd92 -r df0f7b22540c vmm.cfg --- a/vmm.cfg Thu Jul 22 16:18:38 2010 +0000 +++ b/vmm.cfg Thu Jul 22 21:20:52 2010 +0000 @@ -34,6 +34,9 @@ ; * mdbox: mdbox ; * sdbox: sdbox root = Maildir +; Set to true if the mailboxes from the folders option should be listed in +; the subscriptions file. (Boolean) +subscribe = true # # Domain settings