author | Pascal Volk <neverseen@users.sourceforge.net> |
Tue, 16 Sep 2008 05:55:54 +0000 | |
changeset 86 | e43e4e7e9ec0 |
parent 81 | 89b71a9abfcf |
child 90 | 1734eb5101c6 |
permissions | -rw-r--r-- |
24 | 1 |
.\" $Id$ |
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
2 |
.TH "VMM" "1" "10. Sep 2008" "Pascal Volk" |
21 | 3 |
.SH NAME |
26 | 4 |
vmm \- command line tool to manage email domains/accounts/aliases |
21 | 5 |
.SH SYNOPSIS |
6 |
.B vmm |
|
22 | 7 |
\fIsubcommand\fP \fIobject\fP [ \fIargs\fP ] |
21 | 8 |
.SH DESCRIPTION |
9 |
\fBvmm\fP (Virtual Mail Manager) is a command line tool for |
|
10 |
administrators/postmasters to manage domains, accounts and aliases. It's |
|
11 |
designed for Dovecot and Postfix with a PostgreSQL backend. |
|
22 | 12 |
.SH SUBCOMMANDS |
13 |
Each subcommand has both a long and a short form. Both forms are case sensitive. |
|
14 |
.SS GENERAL SUBCOMMANDS |
|
21 | 15 |
.TP |
16 |
\fBconfigure\fP (\fBcf\fP) [ \fIsection\fP ] |
|
17 |
Starts the interactive configuration for all configuration sections. |
|
18 |
.br |
|
23 | 19 |
If the optional argument \fIsection\fP is given, only the configuration options |
26 | 20 |
from the given section will be displayed and will be configurable. The following |
21 | 21 |
sections are available: |
22 |
.RS |
|
23 |
.PD 0 |
|
24 |
.TP |
|
25 |
- |
|
26 |
.B |
|
27 |
database |
|
28 |
.TP |
|
29 |
- |
|
30 |
.B |
|
31 |
maildir |
|
32 |
.TP |
|
33 |
- |
|
34 |
.B |
|
35 |
services |
|
36 |
.TP |
|
37 |
- |
|
38 |
.B |
|
39 |
domdir |
|
40 |
.TP |
|
41 |
- |
|
42 |
.B |
|
43 |
bin |
|
44 |
.TP |
|
45 |
- |
|
46 |
.B |
|
47 |
misc |
|
48 |
.PD |
|
49 |
.RE |
|
50 |
.LP |
|
51 |
.PP |
|
52 |
.nf |
|
53 |
Example: |
|
54 |
||
55 |
\fBvmm configure services\fP |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
56 |
* Config section: »services« |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
57 |
Enter new value for option pop3 [True]: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
58 |
Enter new value for option smtp [True]: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
59 |
Enter new value for option imap [True]: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
60 |
Enter new value for option managesieve [True]: false |
21 | 61 |
.fi |
62 |
.PP |
|
63 |
.TP |
|
64 |
\fBgetuser\fP (\fBgu\fP) \fIuserid\fP |
|
22 | 65 |
If only the userid is available, for example from process list, the subcommand |
21 | 66 |
\fBgetuser\fP will show the user's address. |
67 |
.PP |
|
68 |
.nf |
|
69 |
Example: |
|
23 | 70 |
|
21 | 71 |
\fBvmm getuser 70004\fP |
72 |
Account information |
|
73 |
------------------- |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
74 |
UID............: 70004 |
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
75 |
GID............: 70000 |
21 | 76 |
Address........: c.user@example.com |
77 |
.fi |
|
36 | 78 |
.\" |
79 |
.TP |
|
80 |
\fBlistdomains\fP (\fBld\fP) [ \fIpattern\fP ] |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
81 |
This subcommand lists all available domains. All domain names will be prefixed |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
82 |
either with '[+]', if the domain is a primary domain, or with '[-]', if it is |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
83 |
an alias domain name. The output can be limited with an optional \fIpattern\fP. |
36 | 84 |
.br |
85 |
To perform a wild card search, the % character can be used at the start and/or |
|
86 |
the end of the \fIpattern\fP. |
|
87 |
.PP |
|
88 |
.nf |
|
89 |
Example: |
|
90 |
||
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
91 |
\fBvmm listdomains %example%\fP |
36 | 92 |
Matching domains |
93 |
---------------- |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
94 |
[+] example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
95 |
[-] e.g.example.com |
79
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
96 |
[-] example.name |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
97 |
[+] example.net |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
98 |
[+] example.org |
36 | 99 |
.fi |
100 |
.\" |
|
21 | 101 |
.TP |
102 |
\fBhelp\fP (\fBh\fP) |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
103 |
Prints all available commands to stdout. After this \fBvmm\fP exits. |
21 | 104 |
.TP |
105 |
\fBversion\fP (\fBv\fP) |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
106 |
Prints the version information from \fBvmm\fP. |
21 | 107 |
.\" |
22 | 108 |
.SS DOMAIN SUBCOMMANDS |
21 | 109 |
.TP |
110 |
\fBdomainadd\fP (\fBda\fP) \fIdomain\fP [ \fItransport\fP ] |
|
23 | 111 |
Adds the new \fIdomain\fP into the database. |
22 | 112 |
.br |
23 | 113 |
If the optional argument \fItransport\fP is given, it will overwrite the |
114 |
default transport from \fBvmm.cfg\fP (misc/transport). The specified transport |
|
115 |
will be the default transport for all new accounts in this domain. |
|
22 | 116 |
.PP |
117 |
.nf |
|
118 |
Examples: |
|
119 |
||
120 |
\fBvmm domainadd support.example.com smtp:mx1.example.com |
|
121 |
vmm domainadd sales.example.com\fP |
|
122 |
.fi |
|
21 | 123 |
.TP |
64 | 124 |
\fBdomaininfo\fP (\fBdi\fP) \fIdomain\fP [ \fIdetails\fP ] |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
125 |
This subcommand shows some information about the given \fIdomain\fP. |
22 | 126 |
.br |
64 | 127 |
For a more detailed information about the \fIdomain\fP the optional argument |
128 |
\fIdetails\fP can be specified. A possible \fIdetails\fP value may be one of |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
129 |
the following five keywords: |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
130 |
.RS |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
131 |
.PD 0 |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
132 |
.TP |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
133 |
.B accounts |
64 | 134 |
to list all existing accounts |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
135 |
.TP |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
136 |
.B aliasdomains |
64 | 137 |
to list all assigned alias domains |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
138 |
.TP |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
139 |
.B aliases |
64 | 140 |
to list all available aliases addresses |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
141 |
.TP |
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
142 |
.B relocated |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
143 |
to list all relocated users |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
144 |
.TP |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
145 |
.B full |
64 | 146 |
to list all information mentioned above |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
147 |
.PD |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
148 |
.RE |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
149 |
.LP |
22 | 150 |
.nf |
151 |
Example: |
|
152 |
||
153 |
\fBvmm domaininfo sales.example.com\fP |
|
154 |
Domain information |
|
155 |
------------------ |
|
156 |
Domainname.....: sales.example.com |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
157 |
GID............: 70002 |
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
158 |
Transport......: dovecot: |
22 | 159 |
Domaindir......: /home/mail/5/70002 |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
160 |
Aliasdomains...: 0 |
22 | 161 |
Accounts.......: 0 |
162 |
Aliases........: 0 |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
163 |
Relocated......: 0 |
22 | 164 |
|
165 |
.fi |
|
21 | 166 |
.TP |
22 | 167 |
\fBdomaintransport\fP (\fBdt\fP) \fIdomain\fP \fItransport\fP [ \fIforce\fP ] |
26 | 168 |
A new transport for the indicated domain can be set with this subcommand. |
22 | 169 |
.br |
23 | 170 |
If the additional keyword '\fBforce\fP' is given all account specific transport |
22 | 171 |
settings will be overwritten. |
172 |
.br |
|
173 |
Otherwise this setting will affect only new created accounts. |
|
174 |
.PP |
|
175 |
.nf |
|
176 |
Example: |
|
177 |
||
178 |
\fBvmm domaintransport support.example.com dovecot:\fP |
|
179 |
.fi |
|
21 | 180 |
.TP |
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
181 |
\fBdomaindelete\fP (\fBdd\fP) \fIdomain\fP [ \fIdelalias\fP | \fIdeluser\fP | \fIdelall\fP ] |
23 | 182 |
This subcommand deletes the specified \fIdomain\fP. |
22 | 183 |
.br |
184 |
If there are accounts and/or aliases assigned to the given domain, \fBvmm\fP |
|
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
185 |
will abort the requested operation and show an error message. If you know, what |
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
186 |
you are doing, you can specify one of the following keywords: '\fBdelalias\fP', '\fBdeluser\fP' or '\fBdelall\fP'. |
22 | 187 |
.br |
23 | 188 |
|
22 | 189 |
If you really always know what you are doing, edit your \fBvmm.cfg\fP and set |
190 |
the option \fIforcedel\fP, in section \fImisc\fP, to true. |
|
21 | 191 |
.\" |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
192 |
.SS ALIAS DOMAIN SUBCOMMANDS |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
193 |
.TP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
194 |
\fBaliasdomainaddd\fP (\fBada\fP) \fIaliasdomain\fP \fItargetdomain\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
195 |
This subcommand adds the new \fIaliasdomain\fP to the \fItargetdomain\fP that |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
196 |
should be aliased. |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
197 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
198 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
199 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
200 |
|
79
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
201 |
\fBvmm aliasdomainadd example.name example.com\fP |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
202 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
203 |
.TP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
204 |
\fBaliasdomaininfo (\fBadi\fP) \fIaliasdomain\fP |
59
f2f784667040
* 'man/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
57
diff
changeset
|
205 |
This subcommand shows to which domain the \fIaliasdomain\fP is assigned to. |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
206 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
207 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
208 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
209 |
|
79
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
210 |
\fBvmm aliasdomaininfo example.name\fP |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
211 |
Alias domain information |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
212 |
------------------------ |
79
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
213 |
The alias domain example.name belongs to: |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
214 |
* example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
215 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
216 |
.TP |
79
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
217 |
\fBaliasdomainswitch\fP (\fBads\fP) \fIaliasdomain\fP \fItargetdomain\fP |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
218 |
If the target of the existing \fIaliasdomain\fP should be switched to another |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
219 |
\fItargetdomain\fP use this subcommand. |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
220 |
.PP |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
221 |
.nf |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
222 |
Example: |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
223 |
|
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
224 |
\fBvmm aliasdomainswitch example.name example.org\fP |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
225 |
.fi |
0ae7597eed11
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
66
diff
changeset
|
226 |
.TP |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
227 |
\fBaliasdomaindelete\fP (\fBadd\fP) \fIaliasdomain\fP |
59
f2f784667040
* 'man/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
57
diff
changeset
|
228 |
Use this subcommand if the alias domain \fIaliasdomain\fP should be removed. |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
229 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
230 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
231 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
232 |
|
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
233 |
\fBvmm aliasdomaindelete e.g.example.com\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
234 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
235 |
.\" |
22 | 236 |
.SS ACCOUNT SUBCOMMANDS |
237 |
.TP |
|
238 |
\fBuseradd\fP (\fBua\fP) \fIaddress\fP [ \fIpassword\fP ] |
|
23 | 239 |
Use this subcommand to create a new email account for the given \fIaddress\fP. |
240 |
.br |
|
241 |
If the \fIpassword\fP is not provided, \fBvmm\fP will prompt for it |
|
242 |
interactively. |
|
243 |
.PP |
|
244 |
.nf |
|
245 |
Examples: |
|
246 |
||
247 |
\fBvmm ua d.user@example.com 'A 5ecR3t P4s5\\/\\/0rd'\fP |
|
248 |
\fBvmm ua e.user@example.com\fP |
|
249 |
Enter new password: |
|
250 |
Retype new password: |
|
251 |
.fi |
|
22 | 252 |
.TP |
253 |
\fBuserinfo\fP (\fBui\fP) \fIaddress\fP [ \fIdu\fP ] |
|
23 | 254 |
This subcommand displays some information about the account specified by |
255 |
\fIaddress\fP. |
|
256 |
.br |
|
257 |
If the optional argument \fIdu\fP is given, the disk usage of users maildir will |
|
258 |
be summarized and displayed too. |
|
22 | 259 |
.TP |
23 | 260 |
\fBusername\fP (\fBun\fP) \fIaddress\fP \fI'Users Name'\fP |
26 | 261 |
The user's real name can be set/updated with this subcommand. |
23 | 262 |
.PP |
263 |
.nf |
|
264 |
Example: |
|
265 |
||
266 |
\fBvmm un d.user@example.com 'John Doe'\fP |
|
267 |
.fi |
|
21 | 268 |
.TP |
22 | 269 |
\fBuserpassword\fP (\fBup\fP) \fIaddress\fP [ \fIpassword\fP ] |
23 | 270 |
The \fIpassword\fP from an account can be updated with this subcommand. |
271 |
.br |
|
272 |
If the \fIpassword\fP is not provided, \fBvmm\fP will prompt for it |
|
273 |
interactively. |
|
274 |
.PP |
|
275 |
.nf |
|
276 |
Example: |
|
277 |
||
278 |
\fBvmm up d.user@example.com 'A |\\/|0r3 5ecur3 P4s5\\/\\/0rd?'\fP |
|
279 |
.fi |
|
22 | 280 |
.TP |
23 | 281 |
\fBusertransport\fP (\fBut\fP) \fIaddress\fP \fItransport\fP |
282 |
A different transport for an account can be specified with this subcommand. |
|
283 |
.PP |
|
284 |
.nf |
|
285 |
Example: |
|
286 |
||
287 |
\fBvmm ut d.user@example.com smtp:pc105.it.example.com\fP |
|
288 |
.fi |
|
22 | 289 |
.TP |
64 | 290 |
\fBuserdisable\fP (\fBu0\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 291 |
If a user shouldn't have access to one or all services you can restrict the |
292 |
access with this subcommand. |
|
293 |
.br |
|
64 | 294 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
295 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be disabled |
|
296 |
for the account with the specified \fIaddress\fP. Otherwise only the specified |
|
297 |
\fIservice\fP will be restricted. |
|
23 | 298 |
.PP |
299 |
.nf |
|
300 |
Examples: |
|
301 |
||
302 |
\fBvmm u0 b.user@example.com imap\fP |
|
303 |
\fBvmm userdisable c.user@example.com\fP |
|
304 |
.fi |
|
22 | 305 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
306 |
\fBuserenable\fP (\fBu1\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 307 |
To allow access to one or all restricted services use this subcommand. |
308 |
.br |
|
64 | 309 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
310 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be enabled for |
|
311 |
the account with the specified \fIaddress\fP. Otherwise only the specified |
|
312 |
\fIservice\fP will be enabled. |
|
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
313 |
.PP |
21 | 314 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
315 |
\fBuserdelete\fP (\fBud\fP) \fIaddress\fP [ \fIdelalias\fP ] |
23 | 316 |
Use this subcommand to delete the account with the given \fIaddress\fP. |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
317 |
.br |
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
318 |
If there are one or more aliases with an identical destination address, |
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
319 |
\fBvmm\fP will abort the requested operation and show an error message. To |
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
320 |
prevent this, specify the optional keyword '\fIdelalias\fP'. |
22 | 321 |
.\" |
322 |
.SS ALIAS SUBCOMMANDS |
|
21 | 323 |
.TP |
22 | 324 |
\fBaliasadd\fP (\fBaa\fP) \fIalias\fP \fItarget\fP |
23 | 325 |
This subcommand is used to create a new alias. |
326 |
.PP |
|
327 |
.nf |
|
328 |
Examples: |
|
329 |
||
330 |
\fBvmm aliasadd john.doe@example.com d.user@example.com\fP |
|
331 |
\fBvmm aa support@example.com d.user@example.com\fP |
|
332 |
\fBvmm aa support@example.com e.user@example.com\fP |
|
333 |
.fi |
|
22 | 334 |
.TP |
335 |
\fBaliasinfo\fP (\fBai\fP) \fIalias\fP |
|
23 | 336 |
Information about an alias can be displayed with this subcommand. |
337 |
.PP |
|
338 |
.nf |
|
339 |
Example: |
|
340 |
||
341 |
\fBvmm aliasinfo support@example.com\fP |
|
342 |
Alias information |
|
343 |
----------------- |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
344 |
Mail for support@example.com will be redirected to: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
345 |
* d.user@example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
346 |
* e.user@example.com |
23 | 347 |
.fi |
22 | 348 |
.TP |
349 |
\fBaliasdelete\fP (\fBad\fP) \fIalias\fP [ \fItarget\fP ] |
|
23 | 350 |
Use this subcommand to delete the \fIalias\fP. |
351 |
.br |
|
352 |
If the optional destination address \fItarget\fP is given, only this |
|
353 |
destination will be removed from the \fIalias\fP. |
|
354 |
.PP |
|
355 |
.nf |
|
356 |
Example: |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
357 |
|
23 | 358 |
\fBvmm ad support@example.com d.user@example.com\fP |
359 |
.fi |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
360 |
.\" |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
361 |
.SS RELOCATED SUBCOMMANDS |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
362 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
363 |
\fBrelocatedadd\fP (\fBra\fP) \fIold_address\fP \fInew_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
364 |
A new relocated user can be created with this subcommand. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
365 |
.br |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
366 |
\fIold_address\fP is the users ex-email address, for example b.user@example.com, |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
367 |
and \fInew_address\fP points to the new email address where the user can be |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
368 |
reached. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
369 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
370 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
371 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
372 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
373 |
\fBvmm relocatedadd b.user@example.com b-user@company.tld\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
374 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
375 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
376 |
\fBrelocatedinfo\fP (\fBri\fP) \fIold_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
377 |
This subcommand shows the new address of the relocated user with the |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
378 |
\fIold_address\fP. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
379 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
380 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
381 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
382 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
383 |
\fBvmm relocatedinfo b.user@example.com\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
384 |
Relocated information |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
385 |
--------------------- |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
386 |
User »b.user@example.com« has moved to »b-user@company.tld« |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
387 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
388 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
389 |
\fBrelocateddelete\fP (\fBrd\fP) \fIold_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
390 |
Use this subcommand in order to delete the relocated user with the |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
391 |
\fIold_address\fP. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
392 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
393 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
394 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
395 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
396 |
\fBvmm relocateddelete b.user@example.com\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
397 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
398 |
.\" |
21 | 399 |
.SH FILES |
400 |
/usr/local/etc/vmm.cfg |
|
401 |
.SH SEE ALSO |
|
25 | 402 |
vmm.cfg(5), configuration file for vmm |
21 | 403 |
.SH AUTHOR |
22 | 404 |
\fBvmm\fP and its man pages were written by Pascal Volk |
405 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |