author | Pascal Volk <neverseen@users.sourceforge.net> |
Tue, 18 Aug 2009 02:29:15 +0000 | |
changeset 114 | e671210b04b8 |
parent 113 | e35755191ff3 |
child 162 | 0ac9ef587769 |
permissions | -rw-r--r-- |
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
1 |
.TH vmm.cfg 5 "17 Aug 2009" "Pascal Volk" |
24 | 2 |
.SH NAME |
3 |
vmm.cfg \- configuration file for vmm |
|
4 |
.SH SYNOPSIS |
|
94
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
5 |
vmm.cfg |
24 | 6 |
.SH DESCRIPTION |
94
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
7 |
\fBvmm\fR(1) reads configuration data from \fIvmm.cfg\fP. |
24 | 8 |
.br |
26 | 9 |
The configuration file is split in multiple sections. A section starts with the |
24 | 10 |
section name, enclosed in square brackets '[' and ']' (e.g. \fB[database]\fP), |
11 |
followed by \'option=value' pairs (e.g. \fBhost = 127.0.0.1\fP). |
|
12 |
.br |
|
13 |
Whitespace around the '=' and at the end of a value is ignored. |
|
14 |
.PP |
|
15 |
Empty lines and lines starting with '#' or ';' will be ignored. |
|
16 |
.PP |
|
17 |
Each value uses one of the following data types: |
|
18 |
.IP \(bu |
|
19 |
.I Boolean |
|
20 |
to indicate if something is enabled/activated (true) or disabled/deactivated |
|
26 | 21 |
(false). |
22 |
.br |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
23 |
Accepted values for \fBtrue\fP are: \fB1\fP, \fByes\fP, \fBtrue\fP and \fBon\fP. |
24 | 24 |
.br |
25 |
Accepted values for \fBfalse\fP are: \fB0\fP, \fBno\fP, \fBfalse\fP and |
|
26 |
\fBoff\fP. |
|
27 |
.IP \(bu |
|
28 |
.I Int |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
29 |
an integer number, written without a fractional or decimal component. For |
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
30 |
example \fB1\fP, \fB50\fP or \fB321\fP are integers. |
24 | 31 |
.IP \(bu |
32 |
.I String |
|
33 |
a sequence of characters and numbers. For example '\fBword\fP', '\fBhello |
|
100
b581e747e720
INSTALL, man/*: small enhancement and corrections
Pascal Volk <neverseen@users.sourceforge.net>
parents:
94
diff
changeset
|
34 |
world\fP' or '\fB/usr/bin/strings\fP' |
94
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
35 |
.SS SEARCH ORDER |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
36 |
By default vmm looks for \fIvmm.cfg\fP in the following directories in the |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
37 |
order listed: |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
38 |
.RS |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
39 |
.PD 0 |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
40 |
.TP |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
41 |
.I |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
42 |
/root |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
43 |
.TP |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
44 |
.I |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
45 |
/usr/local/etc |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
46 |
.TP |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
47 |
.I |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
48 |
/etc |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
49 |
.PD |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
50 |
.RE |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
51 |
.PP |
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
52 |
The first match it finds will be used. |
24 | 53 |
.\" ----- |
54 |
.SH DATABASE SECTION |
|
26 | 55 |
The \fBdatabase\fP section is used to specify some options required to |
56 |
connect to the database. |
|
24 | 57 |
.TP |
58 |
\fBhost\fP (\fIString\fP) |
|
59 |
Hostname or IP address of the database server. |
|
60 |
.TP |
|
61 |
\fBuser\fP (\fIString\fP) |
|
62 |
Name of the database user. |
|
63 |
.TP |
|
64 |
\fBpass\fP (\fIString\fP) |
|
65 |
Database password |
|
66 |
.TP |
|
67 |
\fBname\fP (\fIString\fP) |
|
68 |
Name of the database. |
|
69 |
.TP |
|
70 |
\fBExample\fP: |
|
71 |
[database] |
|
72 |
.br |
|
73 |
host = localhost |
|
74 |
.br |
|
75 |
user = vmm |
|
76 |
.br |
|
77 |
pass = T~_:L4OYyl]TU?) |
|
78 |
.br |
|
79 |
name = mailsys |
|
80 |
.\" ----- |
|
81 |
.SH MAILDIR SECTION |
|
26 | 82 |
The \fBmaildir\fP section is used to specify some options for the Maildirs. |
24 | 83 |
.TP |
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
84 |
\fBname\fP (\fIString\fP) |
24 | 85 |
Default name of the maildir folder in users home directory. |
86 |
.TP |
|
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
87 |
\fBfolders\fP (\fIString\fP) |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
88 |
A colon separated list of folder names, that should be created. |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
89 |
.br |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
90 |
If no folders should be created inside the Maildir, set the value of this option |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
91 |
to a single colon (':'). |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
92 |
.TP |
24 | 93 |
\fBmode\fP (\fIInt\fP) |
94 |
Access mode for the maildir in decimal (base 10) notation. For example: |
|
95 |
\'drwx------' -> octal 0700 -> decimal 448 |
|
96 |
.TP |
|
97 |
\fBdiskusage\fP (\fIBoolean\fP) |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
98 |
Decides if the disk usage of users maildir always should be summarized and |
24 | 99 |
displayed with account information. |
100 |
.TP |
|
101 |
\fBdelete\fP (\fIBoolean\fP) |
|
102 |
Decides if the maildir should be deleted recursive when the account is deleted. |
|
103 |
.TP |
|
104 |
\fBExample\fP: |
|
105 |
[maildir] |
|
106 |
.br |
|
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
107 |
name = Maildir |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
108 |
.br |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
109 |
folders = Drafts:Sent:Templates:Trash:INBOX.News |
24 | 110 |
.br |
111 |
mode = 448 |
|
112 |
.br |
|
113 |
diskusage = false |
|
114 |
.br |
|
115 |
delete = false |
|
116 |
.\" ----- |
|
117 |
.SH SERVICES SECTION |
|
26 | 118 |
The \fBservices\fP section is used to specify the default restrictions for |
119 |
all accounts. |
|
24 | 120 |
.TP |
121 |
\fBsmtp\fP (\fIBoolean\fP) |
|
122 |
Decides if users can login via smtp by default. |
|
123 |
.TP |
|
124 |
\fBpop3\fP (\fIBoolean\fP) |
|
125 |
Decides if users can login via pop3 by default. |
|
126 |
.TP |
|
127 |
\fBimap\fP (\fIBoolean\fP) |
|
128 |
Decides if users can login via imap by default. |
|
129 |
.TP |
|
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
130 |
\fBsieve\fP (\fIBoolean\fP) |
24 | 131 |
Decides if users can login via managesieve by default. |
132 |
.TP |
|
133 |
\fBExample\fP: |
|
134 |
[services] |
|
135 |
.br |
|
136 |
smtp = true |
|
137 |
.br |
|
138 |
pop3 = true |
|
139 |
.br |
|
140 |
imap = false |
|
141 |
.br |
|
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
142 |
sieve = false |
24 | 143 |
.\" ----- |
144 |
.SH DOMDIR SECTION |
|
26 | 145 |
The \fBdomdir\fP section is used to specify options for the directories of the |
146 |
domains. |
|
24 | 147 |
.TP |
148 |
\fBbase\fP (\fIString\fP) |
|
149 |
All domain directories will be created inside this directory. |
|
150 |
.TP |
|
151 |
\fBmode\fP (\fIInt\fP) |
|
152 |
Access mode for the domain directory in decimal (base 10) notation. For |
|
153 |
example: 'drwxrwx---' -> octal 0770 -> decimal 504 |
|
154 |
.TP |
|
155 |
\fBdelete\fP (\fIBoolean\fP) |
|
156 |
Decides if the domain directory and all user directories inside should be |
|
157 |
deleted when a domain is deleted. |
|
158 |
.TP |
|
159 |
\fBExample\fP: |
|
160 |
[domdir] |
|
161 |
.br |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
162 |
base = /srv/mail |
24 | 163 |
.br |
164 |
mode = 504 |
|
165 |
.br |
|
166 |
delete = false |
|
167 |
.\" ----- |
|
168 |
.SH BIN SECTION |
|
26 | 169 |
The \fBbin\fP section is used to specify some paths to some binaries required |
170 |
by \fBvmm\fP. |
|
24 | 171 |
.TP |
172 |
\fBdovecotpw\fP (\fIString\fP) |
|
173 |
The absolute path to the dovecotpw binary. This binary is used to generate a |
|
174 |
password hash, if the \fIpasswdscheme\fP is one of 'SMD5', 'SSHA', 'CRAM-MD5', |
|
175 |
\'HMAC-MD5', 'LANMAN', 'NTLM' or 'RPA'. |
|
176 |
.TP |
|
177 |
\fBdu\fP (\fIString\fP) |
|
178 |
The absolute path to \fBdu\fR(1). This binary is used to summarize the disk |
|
179 |
usage of a maildir. |
|
180 |
.TP |
|
86
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
181 |
\fBpostconf\fP (\fIString\fP) |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
182 |
The absolute path to Postfix' \fBpostconf\fR(1). |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
183 |
.br |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
184 |
This binary is required if \fBvmm\fR(1) has to check for some Postfix settings, |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
185 |
e.g. virtual_alias_expansion_limit. |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
186 |
.TP |
24 | 187 |
\fBExample\fP: |
188 |
[bin] |
|
189 |
.br |
|
190 |
dovecotpw = /usr/sbin/dovecotpw |
|
191 |
.br |
|
192 |
du = /usr/bin/du |
|
86
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
193 |
.br |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
194 |
postconf = /usr/sbin/postconf |
24 | 195 |
.\" ----- |
196 |
.SH MISC SECTION |
|
26 | 197 |
The \fBmisc\fP section is used to define miscellaneous settings. |
24 | 198 |
.TP |
199 |
\fBpasswdscheme\fP (\fIString\fP) |
|
200 |
Password scheme to use (see also: dovecotpw -l) |
|
201 |
.TP |
|
202 |
\fBgid_mail\fP (\fIInt\fP) |
|
203 |
Numeric group ID of group mail (mail_privileged_group from dovecot.conf) |
|
204 |
.TP |
|
205 |
\fBforcedel\fP (\fIBoolean\fP) |
|
206 |
Force deletion of accounts and aliases when a domain is deleted. |
|
207 |
.TP |
|
208 |
\fBtransport\fP (\fIString\fP) |
|
209 |
Default transport for domains and accounts. |
|
210 |
.TP |
|
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
211 |
\fBdovecotvers\fP (\fIInt\fP) |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
212 |
The concatenated major and minor version number of the currently used Dovecot |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
213 |
version. (see: dovecot --version). |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
214 |
.br |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
215 |
This option affects various database operations. There are some differences |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
216 |
between Dovecot v1.1.x and v1.2.x. For example, when the command \fBdovecot |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
217 |
--version\fP shows \fB1.1\fP.18, set the value of this option to \fB11\fP. |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
218 |
.TP |
24 | 219 |
\fBExample\fP: |
220 |
[misc] |
|
221 |
.br |
|
222 |
passwdscheme = CRAM-MD5 |
|
223 |
.br |
|
224 |
gid_mail = 8 |
|
225 |
.br |
|
226 |
forcedel = false |
|
227 |
.br |
|
228 |
transport = dovecot: |
|
113
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
229 |
.br |
e35755191ff3
Config: renamed services.managesieve to services.sieve,
Pascal Volk <neverseen@users.sourceforge.net>
parents:
102
diff
changeset
|
230 |
dovecotvers = 11 |
24 | 231 |
.\" ----- |
232 |
.SH CONFIG SECTION |
|
26 | 233 |
The \fBconfig\fP section is a internal used control section. |
24 | 234 |
.TP |
235 |
\fBdone\fP (\fIBoolean\fP) |
|
236 |
This option is set to \fIfalse\fP when \fBvmm\fP is installed for the first |
|
237 |
time. When you edit \fIvmm.cfg\fP, set this option to \fItrue\fP. This option is |
|
238 |
also set to \fItrue\fP when you configure vmm with the command \fBvmm |
|
239 |
configure\fP. |
|
240 |
.br |
|
241 |
If this option is set to \fIfalse\fP, \fBvmm\fP will start in the interactive |
|
242 |
configurations mode. |
|
243 |
.TP |
|
244 |
\fBExample\fP: |
|
245 |
[config] |
|
246 |
.br |
|
247 |
done = true |
|
25 | 248 |
.\" ----- |
249 |
.SH FILES |
|
94
0d303d15549e
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
86
diff
changeset
|
250 |
vmm.cfg |
25 | 251 |
.SH SEE ALSO |
26 | 252 |
vmm(1), command line tool to manage email domains/accounts/aliases |
25 | 253 |
.SH AUTHOR |
254 |
\fBvmm\fP and its man pages were written by Pascal Volk |
|
255 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |