author | Pascal Volk <neverseen@users.sourceforge.net> |
Sun, 25 Apr 2010 04:51:14 +0000 | |
branch | v0.6.x |
changeset 264 | 04fea4d8b900 |
parent 229 | 0fb2f12648a7 |
child 270 | d3389645a91d |
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) |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
23 |
; Depending on the used Dovecot version there are up to four supported formats: |
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 |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
25 |
; * mbox - since Dovecot v1.0.0 |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
26 |
; * dbox - since Dovecot v1.2.0 |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
27 |
; * mdbox - comes with Dovecot v2.0.0 |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
28 |
format = maildir |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
29 |
; A colon separated list of mailbox names, that should be created (String) |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
30 |
; Works currently only if the format is either 'maildir' or 'mbox' . For |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
31 |
; other formats use Dovecot's Autocreate plugin: |
0fb2f12648a7
vmm.cfg: renamed maildir.folders to mailbox.folders. maildir.name
Pascal Volk <neverseen@users.sourceforge.net>
parents:
176
diff
changeset
|
32 |
; <http://wiki.dovecot.org/Plugins/Autocreate> |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
33 |
; 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
|
34 |
folders = Drafts:Sent:Templates:Trash |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
35 |
|
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
36 |
# |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
37 |
# Domain settings |
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] |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
40 |
; 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
|
41 |
; (Boolean) |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
42 |
auto_postmaster = true |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
43 |
; 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
|
44 |
delete_directory = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
45 |
; 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
|
46 |
; 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
|
47 |
directory_mode = 504 |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
48 |
; 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
|
49 |
force_deletion = false |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
50 |
|
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
51 |
# |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
52 |
# Account settings |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
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] |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
55 |
; 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
|
56 |
delete_directory = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
57 |
; 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
|
58 |
; 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
|
59 |
directory_mode = 448 |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
60 |
; 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
|
61 |
disk_usage = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
62 |
; 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
|
63 |
; useradd subcommand? (Boolean) |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
64 |
random_password = false |
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
65 |
; 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
|
66 |
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
|
67 |
; Allow smtp by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
68 |
smtp = true |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
69 |
; Allow pop3 by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
70 |
pop3 = 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 imap by default? (Boolean) |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
72 |
imap = 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 managesieve by default? (Boolean) |
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
74 |
sieve = true |
20
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
75 |
|
55146c78b3fb
* 'create_tables.pgsql'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
9
diff
changeset
|
76 |
# |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
77 |
# external binaries |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
78 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
79 |
[bin] |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
80 |
; location of dovecotpw (String) |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
81 |
dovecotpw = /usr/sbin/dovecotpw |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
82 |
; location of disk usage (String) |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
83 |
du = /usr/bin/du |
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
84 |
; location of postconf (String) |
97
2de22fbab129
removed single quotes around bin.postconf
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
85 |
postconf = /usr/sbin/postconf |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
86 |
|
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
87 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
88 |
# misc settings |
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] |
166
b152ad5c7071
vmm.cfg: dealt with the most overdue section/option renaming.
Pascal Volk <neverseen@users.sourceforge.net>
parents:
113
diff
changeset
|
91 |
; 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
|
92 |
base_directory = /srv/mail |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
93 |
; 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
|
94 |
password_scheme = CRAM-MD5 |
24 | 95 |
; numeric group ID of group mail (mail_privileged_group from dovecot.conf) (Int) |
0
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
96 |
gid_mail = 8 |
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 |
|
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
103 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
104 |
# Configuration state |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
105 |
# |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
106 |
[config] |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
107 |
; finally set this to true (Boolean) |
bb0aa2102206
Initial import @sf.net
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
108 |
done = false |