vmm.cfg
author Pascal Volk <neverseen@users.sourceforge.net>
Tue, 19 Aug 2008 02:40:43 +0000
changeset 48 0d5f58f8b8f5
parent 33 bee57f4616a2
child 68 7ae95b9938c4
permissions -rw-r--r--
* 'VirtualMailManager/Exceptions.py' - Rewrote class VMMException and all derived VMM*Exception classes. Affected files in VirtualMailManager/: + '../vmm' + 'Account.py' + 'Alias.py' + 'Config.py' + 'Domain.py' + 'MailLocation.py' + 'Transport.py' + 'VirtualMailManager.py' * 'VirtualMailManager/Config.py' - Some code cleanups/fixes in: + VMMConfig.load() + VMMConfig.configure() * 'VirtualMailManager/DomainAlias.py' - Added to repository * 'VirtualMailManager/VirtualMailManager.py' - Some code cleanups in: + VirtualMailManager.__chkCfgFile() + VirtualMailManager.__getFileMode() removed + VirtualMailManager.configure() * 'vmm' - Rewrote: + usage() + configure() + __main__ - Implemented show_version() * 'po/de.po' * 'po/vmm.pot' - updated

# $Id$
# This is the Virtual Mail Manager (vmm) configuration file.
# 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)
folder = Maildir
; 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)
managesieve = 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

#
# 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:

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