diff -r c0e1fb1b0145 -r a4aead244f75 vmm.cfg --- a/vmm.cfg Mon Nov 07 03:22:15 2011 +0000 +++ b/vmm.cfg Thu Jun 28 19:26:50 2012 +0000 @@ -6,56 +6,123 @@ # Database settings # [database] +; The Python PostgreSQL database adapter module to be used (String) +; Supported modules are: +; * psycopg2 +; * pyPgSQL +module = psycopg2 ; Hostname or IP address of the database server (String) -host = 127.0.0.1 +host = localhost +; The TCP port, on which the database server is listening for connections (Int) +port = 5432 +; SSL mode for the database connection (String) +; Possible values are: +; * disabled +; * allow +; * prefer (default) +; * require +; * verify-ca (PostgreSQL >= 8.4) +; * verify-full (PostgreSQL >= 8.4) +sslmode = prefer ; Database user name (String) user = dbuser ; Database password (String) pass = dbpassword -; database name (String) +; Database name (String) name = mailsys # -# Mail directories +# mailbox settings # -[maildir] -; Default name of the Maildir folder (String) -name = Maildir -; A colon separated list of folder names, that should be created (String) -; e.g.: folders = Drafts:Sent:Templates:Trash +[mailbox] +; The mailbox format to be used for user's mailboxes. (String) +; Depending on the used Dovecot version there are up to 3 supported formats: +; * maildir - since Dovecot v1.0.0 +; * mdbox - since Dovecot v2.0.beta5 +; * sdbox - since Dovecot v2.0.rc3 +format = maildir +; A colon separated list of mailbox names, that should be created (String) +; e.g.: folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix folders = Drafts:Sent:Templates:Trash -; Permissions for maildirs (Int) -; octal 0700 -> decimal 448 -mode = 448 -; Display disk usage in account info by default? (Boolean) -diskusage = false -; Delete maildir recursive when deleting an account? (Boolean) -delete = false +; Name of the mailbox root directory in a user's home. (String) +; Usually used names (format: name): +; * maildir: Maildir +; * 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 # -# Services per user +# Domain settings # -[services] -; allow smtp by default? (Boolean) +[domain] +; Should vmm create the postmaster account when a new domain is created? +; (Boolean) +auto_postmaster = true +; Delete domain directory recursive when deleting a domain? (Boolean) +delete_directory = false +; Permissions for domain directories (Int) +; octal 0770 -> decimal 504 +directory_mode = 504 +; Force deletion of accounts and aliases when deleting a domain (Boolean) +force_deletion = false +; +; The service settings will be evaluated and applied when a domain is +; created. The service settings of the domain will be applied when you +; create a new account. +; Use the subcommand domainservices to modify a domain's service settings. +; Or userservices in order to update the service setting of an account. +; Allow smtp by default? (Boolean) smtp = true -; allow pop3 by default? (Boolean) +; Allow pop3 by default? (Boolean) pop3 = true -; allow imap by default? (Boolean) +; Allow imap by default? (Boolean) imap = true -; allow managesieve by default? (Boolean) +; Allow managesieve by default? (Boolean) sieve = true +; +; The quota_* settings will be evaluated and applied when a domain is +; created. The domain's quota_* settings will be applied when an account +; is added to a domain. +; Use the subcommand domainquota to modify a domain's quota limits. +; Or userquota in order to update an account's quota limits. +; Quota limit in bytes. 0 means unlimited (String) +; The value can have one of the suffixes: +; * b: bytes +; * k: kilobytes +; * M: megabytes +; * G: gigabytes +; 1024 is the same as 1024b or 1k +quota_bytes = 0 +; Quota limit in number of messages. 0 means unlimited (Int) +quota_messages = 0 +; +; The transport setting will be evaluated and applied when a domain is +; created. The domain's transport setting will be applied when an account +; is added to a domain. +; Use the subcommand domaintransport to modify the transport of a domain. +; Or usertransport in order to update an account's transport setting. +; default transport for domains and accounts (String) +transport = dovecot: # -# domain directory settings +# Account settings # -[domdir] -; The base directory for all domains/accounts (String) -base = /srv/mail -; Permissions for domain directories (Int) -; octal 0770 -> decimal 504 -mode = 504 -; Delete domain directory recursive when deleting a domain? (Boolean) -delete = false +[account] +; Delete the user's home directory recursive when deleting an account? (Boolean) +delete_directory = false +; Permissions for the user's home directory and mail directories (Int) +; octal 0700 -> decimal 448 +directory_mode = 448 +; Display disk usage in account info by default? (Boolean) +disk_usage = false +; Should vmm generate a random password when no password was given for the +; useradd subcommand? (Boolean) +random_password = false +; How many characters to include in the generated passwords? (Int) +password_length = 8 # # external binaries @@ -72,21 +139,17 @@ # misc settings # [misc] +; The base directory for all domains/accounts (String) +base_directory = /srv/mail +; Number of encryption rounds for the password_scheme BLF-CRYPT (Int) +crypt_blowfish_rounds = 5 +; Number of encryption rounds for the password_scheme SHA256-CRYPT (Int) +crypt_sha256_rounds = 5000 +; Number of encryption rounds for the password_scheme SHA512-CRYPT (Int) +crypt_sha512_rounds = 5000 +; the version number from `dovecot --version` (String) +; e.g. 1.1.18; 1.2.11; 2.0.beta4 +dovecot_version = 1.2.11 ; Password scheme to use (see also: dovecotpw -l) (String) -passwdscheme = PLAIN -; numeric group ID of group mail (mail_privileged_group from dovecot.conf) (Int) -gid_mail = 8 -; force deletion of accounts and aliases (Boolean) -forcedel = false -; default transport for domains and accounts -transport = dovecot: -; the concatenated major and minor version number from `dovecot --version` (Int) -; e.g. 1.0.15 -> 10; 1.1.18 -> 11; 1.2.3 -> 12 -dovecotvers = 11 +password_scheme = CRAM-MD5 -# -# Configuration state -# -[config] -; finally set this to true (Boolean) -done = false