VirtualMailManager/config.py
branchv0.7.x
changeset 719 19486a140ef5
parent 716 915c14b21db3
child 734 8167ba72235c
equal deleted inserted replaced
718:65a29a373c19 719:19486a140ef5
   304                 'disk_usage': LCO(bool_t, False, self.getboolean),
   304                 'disk_usage': LCO(bool_t, False, self.getboolean),
   305                 'password_length': LCO(int, 8, self.getint),
   305                 'password_length': LCO(int, 8, self.getint),
   306                 'random_password': LCO(bool_t, False, self.getboolean),
   306                 'random_password': LCO(bool_t, False, self.getboolean),
   307             },
   307             },
   308             'bin': {
   308             'bin': {
   309                 'dovecotpw': LCO(str, '/usr/sbin/dovecotpw', self.get,
   309                 'doveadm': LCO(str, '/usr/bin/doveadm', self.get, exec_ok),
   310                                  exec_ok),
       
   311                 'du': LCO(str, '/usr/bin/du', self.get, exec_ok),
   310                 'du': LCO(str, '/usr/bin/du', self.get, exec_ok),
   312                 'postconf': LCO(str, '/usr/sbin/postconf', self.get, exec_ok),
   311                 'postconf': LCO(str, '/usr/sbin/postconf', self.get, exec_ok),
   313             },
   312             },
   314             'database': {
   313             'database': {
   315                 'host': LCO(str, 'localhost', self.get),
   314                 'host': LCO(str, 'localhost', self.get),
   329                 'sieve': LCO(bool_t, True, self.getboolean),
   328                 'sieve': LCO(bool_t, True, self.getboolean),
   330                 'smtp': LCO(bool_t, True, self.getboolean),
   329                 'smtp': LCO(bool_t, True, self.getboolean),
   331                 'quota_bytes': LCO(str, '0', self.get_in_bytes,
   330                 'quota_bytes': LCO(str, '0', self.get_in_bytes,
   332                                    check_size_value),
   331                                    check_size_value),
   333                 'quota_messages': LCO(int, 0, self.getint),
   332                 'quota_messages': LCO(int, 0, self.getint),
   334                 'transport': LCO(str, 'dovecot:', self.get),
   333                 'transport': LCO(str, 'lmtp:unix:private/dovecot-lmtp',
       
   334                                  self.get),
   335             },
   335             },
   336             'mailbox': {
   336             'mailbox': {
   337                 'folders': LCO(str, 'Drafts:Sent:Templates:Trash',
   337                 'folders': LCO(str, 'Drafts:Sent:Templates:Trash', self.str),
   338                                self.str),
       
   339                 'format': LCO(str, 'maildir', self.get, check_mailbox_format),
   338                 'format': LCO(str, 'maildir', self.get, check_mailbox_format),
   340                 'root': LCO(str, 'Maildir', self.str),
   339                 'root': LCO(str, 'Maildir', self.str),
   341                 'subscribe': LCO(bool_t, True, self.getboolean),
   340                 'subscribe': LCO(bool_t, True, self.getboolean),
   342             },
   341             },
   343             'misc': {
   342             'misc': {