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