author | Pascal Volk <neverseen@users.sourceforge.net> |
Fri, 12 Sep 2008 20:57:08 +0000 | |
changeset 84 | c1363b84a24b |
parent 68 | 7ae95b9938c4 |
child 86 | e43e4e7e9ec0 |
permissions | -rw-r--r-- |
24 | 1 |
.\" $Id$ |
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
2 |
.TH vmm.cfg 5 "27. Aug 2008" "Pascal Volk" |
24 | 3 |
.SH NAME |
4 |
vmm.cfg \- configuration file for vmm |
|
5 |
.SH SYNOPSIS |
|
6 |
/usr/local/etc/vmm.cfg |
|
7 |
.SH DESCRIPTION |
|
26 | 8 |
\fBvmm\fR(1) reads configuration data from \fI/usr/local/etc/vmm.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' |
|
36 |
.\" ----- |
|
37 |
.SH DATABASE SECTION |
|
26 | 38 |
The \fBdatabase\fP section is used to specify some options required to |
39 |
connect to the database. |
|
24 | 40 |
.TP |
41 |
\fBhost\fP (\fIString\fP) |
|
42 |
Hostname or IP address of the database server. |
|
43 |
.TP |
|
44 |
\fBuser\fP (\fIString\fP) |
|
45 |
Name of the database user. |
|
46 |
.TP |
|
47 |
\fBpass\fP (\fIString\fP) |
|
48 |
Database password |
|
49 |
.TP |
|
50 |
\fBname\fP (\fIString\fP) |
|
51 |
Name of the database. |
|
52 |
.TP |
|
53 |
\fBExample\fP: |
|
54 |
[database] |
|
55 |
.br |
|
56 |
host = localhost |
|
57 |
.br |
|
58 |
user = vmm |
|
59 |
.br |
|
60 |
pass = T~_:L4OYyl]TU?) |
|
61 |
.br |
|
62 |
name = mailsys |
|
63 |
.\" ----- |
|
64 |
.SH MAILDIR SECTION |
|
26 | 65 |
The \fBmaildir\fP section is used to specify some options for the Maildirs. |
24 | 66 |
.TP |
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
67 |
\fBname\fP (\fIString\fP) |
24 | 68 |
Default name of the maildir folder in users home directory. |
69 |
.TP |
|
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
70 |
\fBfolders\fP (\fIString\fP) |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
71 |
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
|
72 |
.br |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
73 |
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
|
74 |
to a single colon (':'). |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
75 |
.TP |
24 | 76 |
\fBmode\fP (\fIInt\fP) |
77 |
Access mode for the maildir in decimal (base 10) notation. For example: |
|
78 |
\'drwx------' -> octal 0700 -> decimal 448 |
|
79 |
.TP |
|
80 |
\fBdiskusage\fP (\fIBoolean\fP) |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
81 |
Decides if the disk usage of users maildir always should be summarized and |
24 | 82 |
displayed with account information. |
83 |
.TP |
|
84 |
\fBdelete\fP (\fIBoolean\fP) |
|
85 |
Decides if the maildir should be deleted recursive when the account is deleted. |
|
86 |
.TP |
|
87 |
\fBExample\fP: |
|
88 |
[maildir] |
|
89 |
.br |
|
68
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
90 |
name = Maildir |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
91 |
.br |
7ae95b9938c4
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
92 |
folders = Drafts:Sent:Templates:Trash:INBOX.News |
24 | 93 |
.br |
94 |
mode = 448 |
|
95 |
.br |
|
96 |
diskusage = false |
|
97 |
.br |
|
98 |
delete = false |
|
99 |
.\" ----- |
|
100 |
.SH SERVICES SECTION |
|
26 | 101 |
The \fBservices\fP section is used to specify the default restrictions for |
102 |
all accounts. |
|
24 | 103 |
.TP |
104 |
\fBsmtp\fP (\fIBoolean\fP) |
|
105 |
Decides if users can login via smtp by default. |
|
106 |
.TP |
|
107 |
\fBpop3\fP (\fIBoolean\fP) |
|
108 |
Decides if users can login via pop3 by default. |
|
109 |
.TP |
|
110 |
\fBimap\fP (\fIBoolean\fP) |
|
111 |
Decides if users can login via imap by default. |
|
112 |
.TP |
|
113 |
\fBmanagesieve\fP (\fIBoolean\fP) |
|
114 |
Decides if users can login via managesieve by default. |
|
115 |
.TP |
|
116 |
\fBExample\fP: |
|
117 |
[services] |
|
118 |
.br |
|
119 |
smtp = true |
|
120 |
.br |
|
121 |
pop3 = true |
|
122 |
.br |
|
123 |
imap = false |
|
124 |
.br |
|
125 |
managesieve = false |
|
126 |
.\" ----- |
|
127 |
.SH DOMDIR SECTION |
|
26 | 128 |
The \fBdomdir\fP section is used to specify options for the directories of the |
129 |
domains. |
|
24 | 130 |
.TP |
131 |
\fBbase\fP (\fIString\fP) |
|
132 |
All domain directories will be created inside this directory. |
|
133 |
.TP |
|
134 |
\fBmode\fP (\fIInt\fP) |
|
135 |
Access mode for the domain directory in decimal (base 10) notation. For |
|
136 |
example: 'drwxrwx---' -> octal 0770 -> decimal 504 |
|
137 |
.TP |
|
138 |
\fBdelete\fP (\fIBoolean\fP) |
|
139 |
Decides if the domain directory and all user directories inside should be |
|
140 |
deleted when a domain is deleted. |
|
141 |
.TP |
|
142 |
\fBExample\fP: |
|
143 |
[domdir] |
|
144 |
.br |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
26
diff
changeset
|
145 |
base = /srv/mail |
24 | 146 |
.br |
147 |
mode = 504 |
|
148 |
.br |
|
149 |
delete = false |
|
150 |
.\" ----- |
|
151 |
.SH BIN SECTION |
|
26 | 152 |
The \fBbin\fP section is used to specify some paths to some binaries required |
153 |
by \fBvmm\fP. |
|
24 | 154 |
.TP |
155 |
\fBdovecotpw\fP (\fIString\fP) |
|
156 |
The absolute path to the dovecotpw binary. This binary is used to generate a |
|
157 |
password hash, if the \fIpasswdscheme\fP is one of 'SMD5', 'SSHA', 'CRAM-MD5', |
|
158 |
\'HMAC-MD5', 'LANMAN', 'NTLM' or 'RPA'. |
|
159 |
.TP |
|
160 |
\fBdu\fP (\fIString\fP) |
|
161 |
The absolute path to \fBdu\fR(1). This binary is used to summarize the disk |
|
162 |
usage of a maildir. |
|
163 |
.TP |
|
164 |
\fBExample\fP: |
|
165 |
[bin] |
|
166 |
.br |
|
167 |
dovecotpw = /usr/sbin/dovecotpw |
|
168 |
.br |
|
169 |
du = /usr/bin/du |
|
170 |
.\" ----- |
|
171 |
.SH MISC SECTION |
|
26 | 172 |
The \fBmisc\fP section is used to define miscellaneous settings. |
24 | 173 |
.TP |
174 |
\fBpasswdscheme\fP (\fIString\fP) |
|
175 |
Password scheme to use (see also: dovecotpw -l) |
|
176 |
.TP |
|
177 |
\fBgid_mail\fP (\fIInt\fP) |
|
178 |
Numeric group ID of group mail (mail_privileged_group from dovecot.conf) |
|
179 |
.TP |
|
180 |
\fBforcedel\fP (\fIBoolean\fP) |
|
181 |
Force deletion of accounts and aliases when a domain is deleted. |
|
182 |
.TP |
|
183 |
\fBtransport\fP (\fIString\fP) |
|
184 |
Default transport for domains and accounts. |
|
185 |
.TP |
|
186 |
\fBExample\fP: |
|
187 |
[misc] |
|
188 |
.br |
|
189 |
passwdscheme = CRAM-MD5 |
|
190 |
.br |
|
191 |
gid_mail = 8 |
|
192 |
.br |
|
193 |
forcedel = false |
|
194 |
.br |
|
195 |
transport = dovecot: |
|
196 |
.\" ----- |
|
197 |
.SH CONFIG SECTION |
|
26 | 198 |
The \fBconfig\fP section is a internal used control section. |
24 | 199 |
.TP |
200 |
\fBdone\fP (\fIBoolean\fP) |
|
201 |
This option is set to \fIfalse\fP when \fBvmm\fP is installed for the first |
|
202 |
time. When you edit \fIvmm.cfg\fP, set this option to \fItrue\fP. This option is |
|
203 |
also set to \fItrue\fP when you configure vmm with the command \fBvmm |
|
204 |
configure\fP. |
|
205 |
.br |
|
206 |
If this option is set to \fIfalse\fP, \fBvmm\fP will start in the interactive |
|
207 |
configurations mode. |
|
208 |
.TP |
|
209 |
\fBExample\fP: |
|
210 |
[config] |
|
211 |
.br |
|
212 |
done = true |
|
25 | 213 |
.\" ----- |
214 |
.SH FILES |
|
215 |
/usr/local/etc/vmm.cfg |
|
216 |
.SH SEE ALSO |
|
26 | 217 |
vmm(1), command line tool to manage email domains/accounts/aliases |
25 | 218 |
.SH AUTHOR |
219 |
\fBvmm\fP and its man pages were written by Pascal Volk |
|
220 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |