vmm.cfg
author Pascal Volk <neverseen@users.sourceforge.net>
Wed, 02 Sep 2009 06:08:53 +0000
changeset 138 617f27715b01
parent 113 e35755191ff3
child 166 b152ad5c7071
permissions -rw-r--r--
Reorganized module import. Dropped the import of constants.VERSION, when it wasn't really needed. Centralized the import of os, re and locale in VirtualMailManager/__init__.py. Also moved w_std() and w_err() from vmm to the __init__.py.

# This is the vmm (a virtual mail manager) configuration file.
# default location: /usr/local/etc/vmm.cfg
#

#
# Database settings
#
[database]
; Hostname or IP address of the database server (String)
host = 127.0.0.1
; Database user name (String)
user = dbuser
; Database password (String)
pass = dbpassword
; database name (String)
name = mailsys

#
# Mail directories
#
[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
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

#
# Services per user
#
[services]
; allow smtp by default? (Boolean)
smtp = true
; allow pop3 by default? (Boolean)
pop3 = true
; allow imap by default? (Boolean)
imap = true
; allow managesieve by default? (Boolean)
sieve = true

#
# domain directory 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

#
# external binaries
#
[bin]
; location of dovecotpw (String)
dovecotpw = /usr/sbin/dovecotpw
; location of disk usage (String)
du = /usr/bin/du
; location of postconf (String)
postconf = /usr/sbin/postconf

#
# misc settings
#
[misc]
; 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

#
# Configuration state
#
[config]
; finally set this to true (Boolean)
done = false