author | Pascal Volk <neverseen@users.sourceforge.net> |
Tue, 07 Oct 2008 02:18:45 +0000 | |
changeset 91 | 0e5b2835414d |
parent 86 | e43e4e7e9ec0 |
child 94 | 0d303d15549e |
permissions | -rw-r--r-- |
24 | 1 |
.\" $Id$ |
86
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
2 |
.TH vmm.cfg 5 "15 Sep 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 |
|
86
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
164 |
\fBpostconf\fP (\fIString\fP) |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
165 |
The absolute path to Postfix' \fBpostconf\fR(1). |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
166 |
.br |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
167 |
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
|
168 |
e.g. virtual_alias_expansion_limit. |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
169 |
.TP |
24 | 170 |
\fBExample\fP: |
171 |
[bin] |
|
172 |
.br |
|
173 |
dovecotpw = /usr/sbin/dovecotpw |
|
174 |
.br |
|
175 |
du = /usr/bin/du |
|
86
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
176 |
.br |
e43e4e7e9ec0
* 'VirtualMailManager/ext/Postconf.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
68
diff
changeset
|
177 |
postconf = /usr/sbin/postconf |
24 | 178 |
.\" ----- |
179 |
.SH MISC SECTION |
|
26 | 180 |
The \fBmisc\fP section is used to define miscellaneous settings. |
24 | 181 |
.TP |
182 |
\fBpasswdscheme\fP (\fIString\fP) |
|
183 |
Password scheme to use (see also: dovecotpw -l) |
|
184 |
.TP |
|
185 |
\fBgid_mail\fP (\fIInt\fP) |
|
186 |
Numeric group ID of group mail (mail_privileged_group from dovecot.conf) |
|
187 |
.TP |
|
188 |
\fBforcedel\fP (\fIBoolean\fP) |
|
189 |
Force deletion of accounts and aliases when a domain is deleted. |
|
190 |
.TP |
|
191 |
\fBtransport\fP (\fIString\fP) |
|
192 |
Default transport for domains and accounts. |
|
193 |
.TP |
|
194 |
\fBExample\fP: |
|
195 |
[misc] |
|
196 |
.br |
|
197 |
passwdscheme = CRAM-MD5 |
|
198 |
.br |
|
199 |
gid_mail = 8 |
|
200 |
.br |
|
201 |
forcedel = false |
|
202 |
.br |
|
203 |
transport = dovecot: |
|
204 |
.\" ----- |
|
205 |
.SH CONFIG SECTION |
|
26 | 206 |
The \fBconfig\fP section is a internal used control section. |
24 | 207 |
.TP |
208 |
\fBdone\fP (\fIBoolean\fP) |
|
209 |
This option is set to \fIfalse\fP when \fBvmm\fP is installed for the first |
|
210 |
time. When you edit \fIvmm.cfg\fP, set this option to \fItrue\fP. This option is |
|
211 |
also set to \fItrue\fP when you configure vmm with the command \fBvmm |
|
212 |
configure\fP. |
|
213 |
.br |
|
214 |
If this option is set to \fIfalse\fP, \fBvmm\fP will start in the interactive |
|
215 |
configurations mode. |
|
216 |
.TP |
|
217 |
\fBExample\fP: |
|
218 |
[config] |
|
219 |
.br |
|
220 |
done = true |
|
25 | 221 |
.\" ----- |
222 |
.SH FILES |
|
223 |
/usr/local/etc/vmm.cfg |
|
224 |
.SH SEE ALSO |
|
26 | 225 |
vmm(1), command line tool to manage email domains/accounts/aliases |
25 | 226 |
.SH AUTHOR |
227 |
\fBvmm\fP and its man pages were written by Pascal Volk |
|
228 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |