VirtualMailManager/Config.py
changeset 86 e43e4e7e9ec0
parent 76 14c0a092d7d2
child 94 0d303d15549e
equal deleted inserted replaced
85:6f2fa633f1a1 86:e43e4e7e9ec0
    30 class Config(ConfigParser):
    30 class Config(ConfigParser):
    31     """This class is for configure the Virtual Mail Manager.
    31     """This class is for configure the Virtual Mail Manager.
    32 
    32 
    33     You can specify settings for the database connection
    33     You can specify settings for the database connection
    34     and maildirectories.
    34     and maildirectories.
    35 
       
    36     """
    35     """
    37 
    36 
    38     def __init__(self, filename):
    37     def __init__(self, filename):
    39         """Creates a new Config instance
    38         """Creates a new Config instance
    40 
    39 
    72                 ['mode', 504],
    71                 ['mode', 504],
    73                 ['delete', 'false']
    72                 ['delete', 'false']
    74                 ]
    73                 ]
    75         self.__binopts = [
    74         self.__binopts = [
    76                 ['dovecotpw', '/usr/sbin/dovecotpw'],
    75                 ['dovecotpw', '/usr/sbin/dovecotpw'],
    77                 ['du', '/usr/bin/du']
    76                 ['du', '/usr/bin/du'],
       
    77                 ['postconf', '/usr/sbin/postconf']
    78                 ]
    78                 ]
    79         self.__miscopts = [
    79         self.__miscopts = [
    80                 ['passwdscheme', 'PLAIN'],
    80                 ['passwdscheme', 'PLAIN'],
    81                 ['gid_mail', 8],
    81                 ['gid_mail', 8],
    82                 ['forcedel', 'false'],
    82                 ['forcedel', 'false'],