vmm.cfg
author martin f. krafft <madduck@madduck.net>
Sun, 15 Apr 2012 13:17:21 +0200
branchv0.6.x
changeset 555 499c63f52462
parent 458 4ff0fa3ba0fa
child 584 f9a2327f57a6
permissions -rw-r--r--
Provide list{addresses,aliases,users,relocated} subcommands The patch provides the list{addresses,aliases,users,relocated} subcommands to the UI. All commands actually take the same path in the code and only one query is run with different parameters for each case. There are still two shortcomings: 1. With alias domains, the output order is not as one might want it, e.g. foo@example.org bar@example.org foo@example.com bar@example.com when it should really be foo@ twice and then bar@ twice. I have not found a way to modify the SQL accordingly. 2. The SELECT queries for Accounts, Alias and Relocated are hard-coded in common.py.
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]
384
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
     9
; The Python PostgreSQL database adapter module to be used (String)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    10
; Supported modules are:
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    11
;    * psycopg2
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    12
;    * pyPgSQL
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    13
module = psycopg2
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    14
; 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
    15
host = localhost
384
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    16
; The TCP port, on which the database server is listening for connections (Int)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    17
port = 5432
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    18
; SSL mode for the database connection (String)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    19
; Possible values are:
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    20
;    * disabled
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    21
;    * allow
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    22
;    * prefer (default)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    23
;    * require
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    24
;    * verify-ca (PostgreSQL >= 8.4)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    25
;    * verify-full (PostgreSQL >= 8.4)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
    26
sslmode = prefer
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    27
; Database user name (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    28
user = dbuser
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    29
; Database password (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    30
pass = dbpassword
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    31
; Database name (String)
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    32
name = mailsys
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    33
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    34
#
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    35
# mailbox settings
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
    36
#
229
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    37
[mailbox]
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    38
; 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
    39
; 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
    40
;    * maildir - since Dovecot v1.0.0
307
217b419d6561 VMM/maillocation: Dovecot >= 2.0.beta5 is required for `doveadm mailbox create -s …`
Pascal Volk <neverseen@users.sourceforge.net>
parents: 304
diff changeset
    41
;    * mdbox   - since Dovecot v2.0.beta5
298
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    42
;    * 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
    43
format = maildir
0fb2f12648a7 vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents: 176
diff changeset
    44
; 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
    45
; 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
    46
folders = Drafts:Sent:Templates:Trash
298
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    47
; 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
    48
; Usually used names (format: name):
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    49
;    * maildir: Maildir
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    50
;    * mdbox:   mdbox
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    51
;    * sdbox:   sdbox
ee89399346cb VMM/Config: Added mailbox.root setting.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 270
diff changeset
    52
root = Maildir
304
df0f7b22540c VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 298
diff changeset
    53
; Set to true if the mailboxes from the folders option should be listed in
df0f7b22540c VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 298
diff changeset
    54
; the subscriptions file. (Boolean)
df0f7b22540c VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 298
diff changeset
    55
subscribe = true
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    56
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    57
#
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    58
# Domain settings
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    59
#
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    60
[domain]
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    61
; 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
    62
; (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    63
auto_postmaster = true
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    64
; 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
    65
delete_directory = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    66
; 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
    67
; 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
    68
directory_mode = 504
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
    69
; 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
    70
force_deletion = false
458
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    71
;
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    72
; The service settings will be evaluated and applied when a domain is
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    73
; created. The service settings of the domain will be applied when you
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    74
; create a new account.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    75
; Use the subcommand domainservices to modify a domain's service settings.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    76
; Or userservices in order to update the service setting of an account.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    77
; Allow smtp by default? (Boolean)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    78
smtp = true
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    79
; Allow pop3 by default? (Boolean)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    80
pop3 = true
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    81
; Allow imap by default? (Boolean)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    82
imap = true
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    83
; Allow managesieve by default? (Boolean)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    84
sieve = true
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    85
;
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    86
; The quota_* settings will be evaluated and applied when a domain is
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    87
; created. The domain's quota_* settings will be applied when an account
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    88
; is added to a domain.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    89
; Use the subcommand domainquota to modify a domain's quota limits.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    90
; Or userquota in order to update an account's quota limits.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    91
; Quota limit in bytes. 0 means unlimited (String)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    92
; The value can have one of the suffixes:
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    93
;    * b: bytes
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    94
;    * k: kilobytes
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    95
;    * M: megabytes
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    96
;    * G: gigabytes
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    97
; 1024 is the same as 1024b or 1k
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    98
quota_bytes = 0
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
    99
; Quota limit in number of messages. 0 means unlimited (Int)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   100
quota_messages = 0
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   101
;
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   102
; The transport setting will be evaluated and applied when a domain is
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   103
; created. The domain's transport setting will be applied when an account
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   104
; is added to a domain.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   105
; Use the subcommand domaintransport to modify the transport of a domain.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   106
; Or usertransport in order to update an account's transport setting.
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   107
; default transport for domains and accounts (String)
4ff0fa3ba0fa VMM/config: Moved some options to section `domain':
Pascal Volk <neverseen@users.sourceforge.net>
parents: 384
diff changeset
   108
transport = dovecot:
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   109
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   110
#
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   111
# Account settings
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
   112
#
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   113
[account]
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   114
; 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
   115
delete_directory = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   116
; 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
   117
; 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
   118
directory_mode = 448
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   119
; 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
   120
disk_usage = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   121
; 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
   122
; useradd subcommand? (Boolean)
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   123
random_password = false
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   124
; 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
   125
password_length = 8
20
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
   126
55146c78b3fb * 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents: 9
diff changeset
   127
#
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   128
# external binaries
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   129
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   130
[bin]
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   131
; location of dovecotpw (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   132
dovecotpw = /usr/sbin/dovecotpw
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   133
; location of disk usage (String)
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   134
du = /usr/bin/du
113
e35755191ff3 Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents: 102
diff changeset
   135
; location of postconf (String)
97
2de22fbab129 removed single quotes around bin.postconf
Pascal Volk <neverseen@users.sourceforge.net>
parents: 86
diff changeset
   136
postconf = /usr/sbin/postconf
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   137
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   138
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   139
# misc settings
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   140
#
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   141
[misc]
166
b152ad5c7071 vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 113
diff changeset
   142
; 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
   143
base_directory = /srv/mail
384
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   144
; Number of encryption rounds for the password_scheme BLF-CRYPT (Int)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   145
crypt_blowfish_rounds = 5
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   146
; Number of encryption rounds for the password_scheme SHA256-CRYPT (Int)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   147
crypt_sha256_rounds = 5000
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   148
; Number of encryption rounds for the password_scheme SHA512-CRYPT (Int)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   149
crypt_sha512_rounds = 5000
264
04fea4d8b900 Use the complete Dovecot version, not only the concatenated major
Pascal Volk <neverseen@users.sourceforge.net>
parents: 229
diff changeset
   150
; 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
   151
; 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
   152
dovecot_version = 1.2.11
384
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   153
; Password scheme to use (see also: dovecotpw -l) (String)
d3a97f7fb98a VMM/config: Added quota_bytes and quota_messages settings.
Pascal Volk <neverseen@users.sourceforge.net>
parents: 307
diff changeset
   154
password_scheme = CRAM-MD5
0
bb0aa2102206 Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff changeset
   155