vmm.cfg
branchv0.6.x
changeset 166 b152ad5c7071
parent 113 e35755191ff3
child 168 fd496561acc6
equal deleted inserted replaced
165:7e50e4c49ed7 166:b152ad5c7071
    10 host = 127.0.0.1
    10 host = 127.0.0.1
    11 ; Database user name (String)
    11 ; Database user name (String)
    12 user = dbuser
    12 user = dbuser
    13 ; Database password (String)
    13 ; Database password (String)
    14 pass = dbpassword
    14 pass = dbpassword
    15 ; database name (String)
    15 ; Database name (String)
    16 name = mailsys
    16 name = mailsys
    17 
    17 
    18 #
    18 #
    19 # Mail directories
    19 # Maildir folder
    20 #
    20 #
    21 [maildir]
    21 [maildir]
    22 ; Default name of the Maildir folder (String)
    22 ; Default name of the Maildir folder (String)
    23 name = Maildir
    23 name = Maildir
    24 ; A colon separated list of folder names, that should be created (String)
    24 ; A colon separated list of folder names, that should be created (String)
    25 ; e.g.: folders = Drafts:Sent:Templates:Trash
    25 ; e.g.: folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix
    26 folders = Drafts:Sent:Templates:Trash
    26 folders = Drafts:Sent:Templates:Trash
    27 ; Permissions for maildirs (Int)
       
    28 ; octal 0700 -> decimal 448
       
    29 mode = 448
       
    30 ; Display disk usage in account info by default? (Boolean)
       
    31 diskusage = false
       
    32 ; Delete maildir recursive when deleting an account? (Boolean)
       
    33 delete = false
       
    34 
    27 
    35 #
    28 #
    36 # Services per user
    29 # Domain settings
    37 #
    30 #
    38 [services]
    31 [domain]
    39 ; allow smtp by default? (Boolean)
    32 ; Should vmm create the postmaster account when a new domain is created?
    40 smtp = true
    33 ; (Boolean)
    41 ; allow pop3 by default? (Boolean)
    34 auto_postmaster = true
    42 pop3 = true
    35 ; Delete domain directory recursive when deleting a domain? (Boolean)
    43 ; allow imap by default? (Boolean)
    36 delete_directory = false
    44 imap = true
    37 ; Permissions for domain directories (Int)
    45 ; allow managesieve by default? (Boolean)
    38 ; octal 0770 -> decimal 504
    46 sieve = true
    39 directory_mode = 504
       
    40 ; Force deletion of accounts and aliases when deleting a domain (Boolean)
       
    41 force_del = false
    47 
    42 
    48 #
    43 #
    49 # domain directory settings
    44 # Account settings
    50 #
    45 #
    51 [domdir]
    46 [account]
    52 ; The base directory for all domains/accounts (String)
    47 ; Delete the user's home directory recursive when deleting an account? (Boolean)
    53 base = /srv/mail
    48 delete_directory = false
    54 ; Permissions for domain directories (Int)
    49 ; Permissions for the user's home directory and mail directories (Int)
    55 ; octal 0770 -> decimal 504
    50 ; octal 0700 -> decimal 448
    56 mode = 504
    51 directory_mode = 448
    57 ; Delete domain directory recursive when deleting a domain? (Boolean)
    52 ; Display disk usage in account info by default? (Boolean)
    58 delete = false
    53 disk_usage = false
       
    54 ; Should vmm generate a random password when no password was given for the
       
    55 ; useradd subcommand? (Boolean)
       
    56 random_password = false
       
    57 ; How many characters to include in the generated passwords? (Int)
       
    58 password_len = 8
       
    59 ; Allow smtp by default? (Boolean)
       
    60 smtp = true
       
    61 ; Allow pop3 by default? (Boolean)
       
    62 pop3 = true
       
    63 ; Allow imap by default? (Boolean)
       
    64 imap = true
       
    65 ; Allow managesieve by default? (Boolean)
       
    66 sieve = true
    59 
    67 
    60 #
    68 #
    61 # external binaries
    69 # external binaries
    62 #
    70 #
    63 [bin]
    71 [bin]
    70 
    78 
    71 #
    79 #
    72 # misc settings
    80 # misc settings
    73 #
    81 #
    74 [misc]
    82 [misc]
       
    83 ; The base directory for all domains/accounts (String)
       
    84 base_dir = /srv/mail
    75 ; Password scheme to use (see also: dovecotpw -l) (String)
    85 ; Password scheme to use (see also: dovecotpw -l) (String)
    76 passwdscheme = PLAIN
    86 password_scheme = PLAIN
    77 ; numeric group ID of group mail (mail_privileged_group from dovecot.conf) (Int)
    87 ; numeric group ID of group mail (mail_privileged_group from dovecot.conf) (Int)
    78 gid_mail = 8
    88 gid_mail = 8
    79 ; force deletion of accounts and aliases (Boolean)
    89 ; default transport for domains and accounts (String)
    80 forcedel = false
       
    81 ; default transport for domains and accounts
       
    82 transport = dovecot:
    90 transport = dovecot:
    83 ; the concatenated major and minor version number from `dovecot --version` (Int)
    91 ; the concatenated major and minor version number from `dovecot --version` (Int)
    84 ; e.g. 1.0.15 -> 10; 1.1.18 -> 11; 1.2.3 -> 12
    92 ; e.g. 1.0.15 -> 10; 1.1.18 -> 11; 1.2.3 -> 12
    85 dovecotvers = 11
    93 dovecot_vers = 11
    86 
    94 
    87 #
    95 #
    88 # Configuration state
    96 # Configuration state
    89 #
    97 #
    90 [config]
    98 [config]