author | Pascal Volk <neverseen@users.sourceforge.net> |
Fri, 23 Jul 2010 00:10:53 +0000 | |
branch | v0.6.x |
changeset 307 | 217b419d6561 |
parent 304 | df0f7b22540c |
child 384 | d3a97f7fb98a |
permissions | -rw-r--r-- |
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 |
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
|
25 |
; * mdbox - since Dovecot v2.0.beta5 |
298
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 |
304
df0f7b22540c
VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
298
diff
changeset
|
37 |
; 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
|
38 |
; the subscriptions file. (Boolean) |
df0f7b22540c
VMM/Config: Added boolean option mailbox.subscribe.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
298
diff
changeset
|
39 |
subscribe = true |
166
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 |
# |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
42 |
# Domain settings |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
43 |
# |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
44 |
[domain] |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
45 |
; 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
|
46 |
; (Boolean) |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
47 |
auto_postmaster = true |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
48 |
; 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
|
49 |
delete_directory = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
50 |
; 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
|
51 |
; 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
|
52 |
directory_mode = 504 |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
53 |
; 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
|
54 |
force_deletion = false |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
55 |
|
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
56 |
# |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
57 |
# Account settings |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
58 |
# |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
59 |
[account] |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
60 |
; 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
|
61 |
delete_directory = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
62 |
; 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
|
63 |
; 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
|
64 |
directory_mode = 448 |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
65 |
; 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
|
66 |
disk_usage = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
67 |
; 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
|
68 |
; useradd subcommand? (Boolean) |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
69 |
random_password = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
70 |
; 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
|
71 |
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
|
72 |
; Allow smtp by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
73 |
smtp = true |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
74 |
; Allow pop3 by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
75 |
pop3 = true |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
76 |
; Allow imap by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
77 |
imap = true |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
78 |
; Allow managesieve by default? (Boolean) |
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
79 |
sieve = true |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
80 |
|
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
81 |
# |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
82 |
# external binaries |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
83 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
84 |
[bin] |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
85 |
; location of dovecotpw (String) |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
86 |
dovecotpw = /usr/sbin/dovecotpw |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
87 |
; location of disk usage (String) |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
88 |
du = /usr/bin/du |
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
89 |
; location of postconf (String) |
97
2de22fbab129
removed single quotes around bin.postconf
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
90 |
postconf = /usr/sbin/postconf |
0
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 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
93 |
# misc settings |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
94 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
95 |
[misc] |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
96 |
; 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
|
97 |
base_directory = /srv/mail |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
98 |
; 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
|
99 |
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
|
100 |
; default transport for domains and accounts (String) |
9
e3d3dbeb5b84
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
0
diff
changeset
|
101 |
transport = dovecot: |
264
04fea4d8b900
Use the complete Dovecot version, not only the concatenated major
Pascal Volk <neverseen@users.sourceforge.net>
parents:
229
diff
changeset
|
102 |
; 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
|
103 |
; 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
|
104 |
dovecot_version = 1.2.11 |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
105 |