# HG changeset patch # User Pascal Volk # Date 1281380450 0 # Node ID 7fa919dab42cc8f8ae6f2ffb88c662227f45e356 # Parent 6fabb9cd212df8a6bbc38a88ac623a2e044fb64f VMM/config: Added option mailbox.format to the configuration check. diff -r 6fabb9cd212d -r 7fa919dab42c VirtualMailManager/config.py --- a/VirtualMailManager/config.py Mon Aug 09 08:25:11 2010 +0000 +++ b/VirtualMailManager/config.py Mon Aug 09 19:00:50 2010 +0000 @@ -431,6 +431,7 @@ if not VERSION_RE.match(value): self._missing['misc'] = ['version: ' +\ _(u"Not a valid Dovecot version: '%s'") % value] + # section database db_err = [] value = self.dget('database.module').lower() if value not in DB_MUDULES: @@ -443,6 +444,11 @@ _(u"Unknown pgsql SSL mode: '%s'") % value) if db_err: self._missing['database'] = db_err + # section mailbox + value = self.dget('mailbox.format') + if not known_format(value): + self._missing['mailbox'] = ['format: ' +\ + _(u"Unsupported mailbox format: '%s'") % value] def is_dir(path):