vmm.cfg
author Pascal Volk <neverseen@users.sourceforge.net>
Tue, 20 Jul 2010 16:25:31 +0000
branchv0.6.x
changeset 298 ee89399346cb
parent 270 d3389645a91d
child 304 df0f7b22540c
permissions -rw-r--r--
VMM/Config: Added mailbox.root setting.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
113
e35755191ff3 Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
     1
# This is the vmm (a virtual mail manager) configuration file.
e35755191ff3 Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
     2
# default location: /usr/local/etc/vmm.cfg
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     3
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     4
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     5
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     6
# Database settings
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     7
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     8
[database]
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
     9
; Hostname or IP address of the database server (String)
176
cc0d79842fdf man: Added used default values to manual.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 168
diff changeset
    10
host = localhost
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    11
; Database user name (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    12
user = dbuser
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    13
; Database password (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    14
pass = dbpassword
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    15
; Database name (String)
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    16
name = mailsys
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    17
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    18
#
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    19
# mailbox settings
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    20
#
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    21
[mailbox]
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    22
; The mailbox format to be used for user's mailboxes. (String)
298
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    23
; Depending on the used Dovecot version there are up to 3 supported formats:
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    24
;    * maildir - since Dovecot v1.0.0
298
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    25
;    * mdbox   - since Dovecot v2.0.beta1
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    26
;    * sdbox   - since Dovecot v2.0.rc3
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    27
format = maildir
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    28
; A colon separated list of mailbox names, that should be created (String)
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    29
; e.g.: folders = Drafts:Sent:Templates:Trash:Lists.Dovecot:Lists.Postfix
68
7ae95b9938c4 * 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 33
diff changeset
    30
folders = Drafts:Sent:Templates:Trash
298
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    31
; Name of the mailbox root directory in a user's home. (String)
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    32
; Usually used names (format: name):
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    33
;    * maildir: Maildir
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    34
;    * mdbox:   mdbox
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    35
;    * sdbox:   sdbox
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    36
root = Maildir
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    37
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    38
#
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    39
# Domain settings
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    40
#
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    41
[domain]
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    42
; Should vmm create the postmaster account when a new domain is created?
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    43
; (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    44
auto_postmaster = true
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    45
; Delete domain directory recursive when deleting a domain? (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    46
delete_directory = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    47
; Permissions for domain directories (Int)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    48
; octal 0770 -> decimal 504
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    49
directory_mode = 504
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    50
; Force deletion of accounts and aliases when deleting a domain (Boolean)
168
fd496561acc6 vmm.cfg: a few re-renamed configuration options.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 166
diff changeset
    51
force_deletion = false
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    52
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    53
#
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    54
# Account settings
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    55
#
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    56
[account]
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    57
; Delete the user's home directory recursive when deleting an account? (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    58
delete_directory = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    59
; Permissions for the user's home directory and mail directories (Int)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    60
; octal 0700 -> decimal 448
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    61
directory_mode = 448
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    62
; Display disk usage in account info by default? (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    63
disk_usage = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    64
; Should vmm generate a random password when no password was given for the
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    65
; useradd subcommand? (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    66
random_password = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    67
; How many characters to include in the generated passwords? (Int)
168
fd496561acc6 vmm.cfg: a few re-renamed configuration options.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 166
diff changeset
    68
password_length = 8
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    69
; Allow smtp by default? (Boolean)
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    70
smtp = true
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    71
; Allow pop3 by default? (Boolean)
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    72
pop3 = true
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    73
; Allow imap by default? (Boolean)
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    74
imap = true
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    75
; Allow managesieve by default? (Boolean)
113
e35755191ff3 Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    76
sieve = true
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    77
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
    78
#
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    79
# external binaries
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    80
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    81
[bin]
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    82
; location of dovecotpw (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    83
dovecotpw = /usr/sbin/dovecotpw
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    84
; location of disk usage (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    85
du = /usr/bin/du
113
e35755191ff3 Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
    86
; location of postconf (String)
97
2de22fbab129 removed single quotes around bin.postconf
Pascal Volk <neverseen@users.sourceforge.net>
parents: 86
diff changeset
    87
postconf = /usr/sbin/postconf
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    88
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    89
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    90
# misc settings
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    91
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    92
[misc]
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    93
; The base directory for all domains/accounts (String)
168
fd496561acc6 vmm.cfg: a few re-renamed configuration options.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 166
diff changeset
    94
base_directory = /srv/mail
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    95
; Password scheme to use (see also: dovecotpw -l) (String)
176
cc0d79842fdf man: Added used default values to manual.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 168
diff changeset
    96
password_scheme = CRAM-MD5
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    97
; default transport for domains and accounts (String)
9
e3d3dbeb5b84 * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 0
diff changeset
    98
transport = dovecot:
264
04fea4d8b900 Use the complete Dovecot version, not only the concatenated major
Pascal Volk <neverseen@users.sourceforge.net>
parents: 229
diff changeset
    99
; the version number from `dovecot --version` (String)
04fea4d8b900 Use the complete Dovecot version, not only the concatenated major
Pascal Volk <neverseen@users.sourceforge.net>
parents: 229
diff changeset
   100
; e.g. 1.1.18; 1.2.11; 2.0.beta4
04fea4d8b900 Use the complete Dovecot version, not only the concatenated major
Pascal Volk <neverseen@users.sourceforge.net>
parents: 229
diff changeset
   101
dovecot_version = 1.2.11
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   102