69 ACCOUNT |
69 ACCOUNT |
70 ------- |
70 ------- |
71 The options in the section **account** are used to specify user account |
71 The options in the section **account** are used to specify user account |
72 related settings. |
72 related settings. |
73 |
73 |
74 ``delete_directory`` : *Boolean* |
74 ``delete_directory (default: false)`` : *Boolean* |
75 Determines the behavior of **vmm**\(1) when an account is deleted. If |
75 Determines the behavior of **vmm**\(1) when an account is deleted. If |
76 this option is set to *true* the user's home directory will be deleted |
76 this option is set to *true* the user's home directory will be deleted |
77 recursively. |
77 recursively. |
78 |
78 |
79 ``directory_mode`` : *Int* |
79 ``directory_mode (default: 448)`` : *Int* |
80 Access mode for a user's home directory and all directories inside. |
80 Access mode for a user's home directory and all directories inside. |
81 The value has to be specified in decimal (base 10) notation. |
81 The value has to be specified in decimal (base 10) notation. |
82 |
82 |
83 | For example: 'drwx------' -> octal 0700 -> decimal 448 |
83 | For example: 'drwx------' -> octal 0700 -> decimal 448 |
84 |
84 |
85 ``disk_usage`` : *Boolean* |
85 ``disk_usage (default: false)`` : *Boolean* |
86 Determines whether the disk usage of a user's Maildir always should be |
86 Determines whether the disk usage of a user's Maildir always should be |
87 summarized, using **du**\(1), and displayed with account information. |
87 summarized, using **du**\(1), and displayed with account information. |
88 |
88 |
89 This could be slow on large Maildirs. When you have enabled quotas, |
89 This could be slow on large Maildirs. When you have enabled quotas, |
90 **vmm**'s **userinfo** subcomammand will also display the current quota |
90 **vmm**'s **userinfo** subcomammand will also display the current quota |
91 usage of the account. You may also use **userinfo**'s optional argument |
91 usage of the account. You may also use **userinfo**'s optional argument |
92 **du** or **full**, in order to display the current disk usage of an |
92 **du** or **full**, in order to display the current disk usage of an |
93 account. |
93 account. |
94 |
94 |
95 ``imap`` : *Boolean* |
95 ``imap (default: true)`` : *Boolean* |
96 Determines whether a newly created user can log in via IMAP. |
96 Determines whether a newly created user can log in via IMAP. |
97 |
97 |
98 ``password_length`` : *Int* |
98 ``password_length (default: 8)`` : *Int* |
99 Determines how many characters and/or numbers should be used for random |
99 Determines how many characters and/or numbers should be used for |
100 generated passwords. Any value less than 8 will be increased to 8. |
100 randomly generated passwords. Any value less than 8 will be |
101 |
101 increased to 8. |
102 ``pop3`` : *Boolean* |
102 |
|
103 ``pop3 (default: true)`` : *Boolean* |
103 Determines whether a newly created user can log in via POP3. |
104 Determines whether a newly created user can log in via POP3. |
104 |
105 |
105 ``random_password`` : *Boolean* |
106 ``random_password (default: false)`` : *Boolean* |
106 Determines whether **vmm** should generate a random password when no |
107 Determines whether **vmm** should generate a random password when no |
107 password was given for the **useradd** subcommand. If this option is |
108 password was given for the **useradd** subcommand. If this option is |
108 set to *false* **vmm** will prompt you to enter a password for the new |
109 set to *false* **vmm** will prompt you to enter a password for the new |
109 account. |
110 account. |
110 |
111 |
111 You can specify the password length of generated passwords with the |
112 You can specify the password length of generated passwords with the |
112 **password_length** option. |
113 **password_length** option. |
113 |
114 |
114 ``sieve`` : *Boolean* |
115 ``sieve (default: true)`` : *Boolean* |
115 Determines whether a newly created user can log in via ManageSieve. |
116 Determines whether a newly created user can log in via ManageSieve. |
116 |
117 |
117 ``smtp`` : *Boolean* |
118 ``smtp (default: true)`` : *Boolean* |
118 Determines whether a newly created user can log in via SMTP (SMTP AUTH). |
119 Determines whether a newly created user can log in via SMTP (SMTP AUTH). |
119 |
120 |
120 Example:: |
121 Example:: |
121 |
122 |
122 [account] |
123 [account] |
133 BIN |
134 BIN |
134 --- |
135 --- |
135 The **bin** section is used to specify some paths to some binaries required |
136 The **bin** section is used to specify some paths to some binaries required |
136 by **vmm**\(1). |
137 by **vmm**\(1). |
137 |
138 |
138 ``dovecotpw`` : *String* |
139 ``dovecotpw (default: /usr/sbin/dovecotpw)`` : *String* |
139 The absolute path to the dovecotpw binary. This binary is used to |
140 The absolute path to the dovecotpw binary. This binary is used to |
140 generate a password hash, if **misc.password_scheme** is set to one of |
141 generate a password hash, if **misc.password_scheme** is set to one of |
141 'SMD5', 'SSHA', 'CRAM-MD5', 'HMAC-MD5', 'LANMAN', 'NTLM' or 'RPA'. |
142 'SMD5', 'SSHA', 'CRAM-MD5', 'HMAC-MD5', 'LANMAN', 'NTLM' or 'RPA'. |
142 |
143 |
143 ``du`` : *String* |
144 ``du (default: /usr/bin/du)`` : *String* |
144 The absolute path to **du**\(1). This binary is used to summarize the |
145 The absolute path to **du**\(1). This binary is used to summarize the |
145 disk usage of a user's Maildir. |
146 disk usage of a user's Maildir. |
146 |
147 |
147 ``postconf`` : *String* |
148 ``postconf (default: /usr/sbin/postconf)`` : *String* |
148 The absolute path to Postfix' **postconf**\(1). This binary is required |
149 The absolute path to Postfix' **postconf**\(1). This binary is required |
149 when **vmm**\(1) has to check for some Postfix settings, e.g. |
150 when **vmm**\(1) has to check for some Postfix settings, e.g. |
150 `virtual_alias_expansion_limit`. |
151 `virtual_alias_expansion_limit`. |
151 |
152 |
152 Example:: |
153 Example:: |
201 |
202 |
202 DOMAIN |
203 DOMAIN |
203 ------ |
204 ------ |
204 The **domain** section specifies some domain related settings. |
205 The **domain** section specifies some domain related settings. |
205 |
206 |
206 ``auto_postmaster`` : *Boolean* |
207 ``auto_postmaster (default: true)`` : *Boolean* |
207 Determines if **vmm**\(1) should create also a postmaster account when a |
208 Determines if **vmm**\(1) should create also a postmaster account when a |
208 new domain is created. |
209 new domain is created. |
209 |
210 |
210 ``delete_directory`` : *Boolean* |
211 ``delete_directory (default: false)`` : *Boolean* |
211 Specifies whether the domain directory and all user directories inside |
212 Specifies whether the domain directory and all user directories inside |
212 should be deleted when a domain is deleted. |
213 should be deleted when a domain is deleted. |
213 |
214 |
214 ``directory_mode`` : *Int* |
215 ``directory_mode (default: 504)`` : *Int* |
215 Access mode for the domain directory in decimal (base 10) notation. |
216 Access mode for the domain directory in decimal (base 10) notation. |
216 |
217 |
217 | For example: 'drwxrwx---' -> octal 0770 -> decimal 504 |
218 | For example: 'drwxrwx---' -> octal 0770 -> decimal 504 |
218 |
219 |
219 ``force_deletion`` : *Boolean* |
220 ``force_deletion (default: false)`` : *Boolean* |
220 Force deletion of accounts and aliases when a domain is deleted. |
221 Force deletion of accounts and aliases when a domain is deleted. |
221 |
222 |
222 Example:: |
223 Example:: |
223 |
224 |
224 [domain] |
225 [domain] |
230 MAILDIR |
231 MAILDIR |
231 ------- |
232 ------- |
232 The **maildir** section is used to specify some default options for new |
233 The **maildir** section is used to specify some default options for new |
233 created Maildirs and folders inside. |
234 created Maildirs and folders inside. |
234 |
235 |
235 ``folders`` : *String* |
236 ``folders (default: Drafts:Sent:Templates:Trash)`` : *String* |
236 A colon separated list of folder names, that should be created. If no |
237 A colon separated list of folder names, that should be created. If no |
237 folders should be created inside the Maildir, set the value of this |
238 folders should be created inside the Maildir, set the value of this |
238 option to a single colon ('**:**'). |
239 option to a single colon ('**:**'). |
239 |
240 |
240 If you want to create folders containing one or more subfolders, separate |
241 If you want to create folders containing one or more subfolders, separate |
241 them with a single dot ('**.**'). |
242 them with a single dot ('**.**'). |
242 |
243 |
243 ``name`` : *String* |
244 ``name (default: Maildir)`` : *String* |
244 Default name of the Maildir folder in users home directories. |
245 Default name of the Maildir folder in users home directories. |
245 |
246 |
246 Example:: |
247 Example:: |
247 |
248 |
248 [maildir] |
249 [maildir] |
251 |
252 |
252 MISC |
253 MISC |
253 ---- |
254 ---- |
254 The **misc** section is used to define miscellaneous settings. |
255 The **misc** section is used to define miscellaneous settings. |
255 |
256 |
256 ``base_directory`` : *String* |
257 ``base_directory (default: /srv/mail)`` : *String* |
257 All domain directories will be created inside this directory. |
258 All domain directories will be created inside this directory. |
258 |
259 |
259 ``password_scheme`` : *String* |
260 ``password_scheme (default: CRAM-MD5)`` : *String* |
260 Password scheme to use (see also: **dovecotpw -l**). |
261 Password scheme to use (see also: **dovecotpw -l**). |
261 |
262 |
262 ``gid_mail`` : *Int* |
263 ``gid_mail (default: 8)`` : *Int* |
263 Numeric group ID of group mail (`mail_privileged_group` from |
264 Numeric group ID of group mail (`mail_privileged_group` from |
264 *dovecot.conf*) |
265 *dovecot.conf*) |
265 |
266 |
266 ``transport`` : *String* |
267 ``transport (default: dovecot:)`` : *String* |
267 Default transport for domains and accounts. For details see |
268 Default transport for domains and accounts. For details see |
268 **transport**\(5). |
269 **transport**\(5). |
269 |
270 |
270 ``dovecot_version`` : *Int* |
271 ``dovecot_version (default: 12)`` : *Int* |
271 The concatenated major and minor version number of the currently used |
272 The concatenated major and minor version number of the currently used |
272 Dovecot version. (see: **dovecot --version**). |
273 Dovecot version. (see: **dovecot --version**). |
273 |
274 |
274 When, for example, the command **dovecot --version** prints *1.1.18*, set |
275 When, for example, the command **dovecot --version** prints *1.1.18*, set |
275 the value of this option to **11**. |
276 the value of this option to **11**. |