author | Pascal Volk <neverseen@users.sourceforge.net> |
Sun, 05 Oct 2008 03:33:38 +0000 | |
changeset 90 | 1734eb5101c6 |
parent 81 | 89b71a9abfcf |
child 102 | 485d3f7d6981 |
permissions | -rw-r--r-- |
24 | 1 |
.\" $Id$ |
90
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
2 |
.TH "VMM" "1" "5 Oct 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 |
90
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
253 |
\fBuserinfo\fP (\fBui\fP) \fIaddress\fP [ \fIdetails\fP ] |
23 | 254 |
This subcommand displays some information about the account specified by |
255 |
\fIaddress\fP. |
|
256 |
.br |
|
90
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
257 |
If the optional argument \fIdetails\fP is given some more information will be |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
258 |
displayed. |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
259 |
.br |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
260 |
Possible values for \fIdetails\fP are: |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
261 |
.RS |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
262 |
.PD 0 |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
263 |
.TP |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
264 |
.B aliases |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
265 |
to list all alias addresses with the destination \fIaddress\fP |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
266 |
.TP |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
267 |
.B du |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
268 |
to display the disk usage of users maildir |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
269 |
.TP |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
270 |
.B full |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
271 |
to list all information mentioned above |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
272 |
.PD |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
273 |
.RE |
1734eb5101c6
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
81
diff
changeset
|
274 |
.LP |
22 | 275 |
.TP |
23 | 276 |
\fBusername\fP (\fBun\fP) \fIaddress\fP \fI'Users Name'\fP |
26 | 277 |
The user's real name can be set/updated with this subcommand. |
23 | 278 |
.PP |
279 |
.nf |
|
280 |
Example: |
|
281 |
||
282 |
\fBvmm un d.user@example.com 'John Doe'\fP |
|
283 |
.fi |
|
21 | 284 |
.TP |
22 | 285 |
\fBuserpassword\fP (\fBup\fP) \fIaddress\fP [ \fIpassword\fP ] |
23 | 286 |
The \fIpassword\fP from an account can be updated with this subcommand. |
287 |
.br |
|
288 |
If the \fIpassword\fP is not provided, \fBvmm\fP will prompt for it |
|
289 |
interactively. |
|
290 |
.PP |
|
291 |
.nf |
|
292 |
Example: |
|
293 |
||
294 |
\fBvmm up d.user@example.com 'A |\\/|0r3 5ecur3 P4s5\\/\\/0rd?'\fP |
|
295 |
.fi |
|
22 | 296 |
.TP |
23 | 297 |
\fBusertransport\fP (\fBut\fP) \fIaddress\fP \fItransport\fP |
298 |
A different transport for an account can be specified with this subcommand. |
|
299 |
.PP |
|
300 |
.nf |
|
301 |
Example: |
|
302 |
||
303 |
\fBvmm ut d.user@example.com smtp:pc105.it.example.com\fP |
|
304 |
.fi |
|
22 | 305 |
.TP |
64 | 306 |
\fBuserdisable\fP (\fBu0\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 307 |
If a user shouldn't have access to one or all services you can restrict the |
308 |
access with this subcommand. |
|
309 |
.br |
|
64 | 310 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
311 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be disabled |
|
312 |
for the account with the specified \fIaddress\fP. Otherwise only the specified |
|
313 |
\fIservice\fP will be restricted. |
|
23 | 314 |
.PP |
315 |
.nf |
|
316 |
Examples: |
|
317 |
||
318 |
\fBvmm u0 b.user@example.com imap\fP |
|
319 |
\fBvmm userdisable c.user@example.com\fP |
|
320 |
.fi |
|
22 | 321 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
322 |
\fBuserenable\fP (\fBu1\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 323 |
To allow access to one or all restricted services use this subcommand. |
324 |
.br |
|
64 | 325 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
326 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be enabled for |
|
327 |
the account with the specified \fIaddress\fP. Otherwise only the specified |
|
328 |
\fIservice\fP will be enabled. |
|
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
329 |
.PP |
21 | 330 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
331 |
\fBuserdelete\fP (\fBud\fP) \fIaddress\fP [ \fIdelalias\fP ] |
23 | 332 |
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
|
333 |
.br |
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
334 |
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
|
335 |
\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
|
336 |
prevent this, specify the optional keyword '\fIdelalias\fP'. |
22 | 337 |
.\" |
338 |
.SS ALIAS SUBCOMMANDS |
|
21 | 339 |
.TP |
22 | 340 |
\fBaliasadd\fP (\fBaa\fP) \fIalias\fP \fItarget\fP |
23 | 341 |
This subcommand is used to create a new alias. |
342 |
.PP |
|
343 |
.nf |
|
344 |
Examples: |
|
345 |
||
346 |
\fBvmm aliasadd john.doe@example.com d.user@example.com\fP |
|
347 |
\fBvmm aa support@example.com d.user@example.com\fP |
|
348 |
\fBvmm aa support@example.com e.user@example.com\fP |
|
349 |
.fi |
|
22 | 350 |
.TP |
351 |
\fBaliasinfo\fP (\fBai\fP) \fIalias\fP |
|
23 | 352 |
Information about an alias can be displayed with this subcommand. |
353 |
.PP |
|
354 |
.nf |
|
355 |
Example: |
|
356 |
||
357 |
\fBvmm aliasinfo support@example.com\fP |
|
358 |
Alias information |
|
359 |
----------------- |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
360 |
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
|
361 |
* d.user@example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
362 |
* e.user@example.com |
23 | 363 |
.fi |
22 | 364 |
.TP |
365 |
\fBaliasdelete\fP (\fBad\fP) \fIalias\fP [ \fItarget\fP ] |
|
23 | 366 |
Use this subcommand to delete the \fIalias\fP. |
367 |
.br |
|
368 |
If the optional destination address \fItarget\fP is given, only this |
|
369 |
destination will be removed from the \fIalias\fP. |
|
370 |
.PP |
|
371 |
.nf |
|
372 |
Example: |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
373 |
|
23 | 374 |
\fBvmm ad support@example.com d.user@example.com\fP |
375 |
.fi |
|
81
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
376 |
.\" |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
377 |
.SS RELOCATED SUBCOMMANDS |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
378 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
379 |
\fBrelocatedadd\fP (\fBra\fP) \fIold_address\fP \fInew_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
380 |
A new relocated user can be created with this subcommand. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
381 |
.br |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
382 |
\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
|
383 |
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
|
384 |
reached. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
385 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
386 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
387 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
388 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
389 |
\fBvmm relocatedadd b.user@example.com b-user@company.tld\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
390 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
391 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
392 |
\fBrelocatedinfo\fP (\fBri\fP) \fIold_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
393 |
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
|
394 |
\fIold_address\fP. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
395 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
396 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
397 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
398 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
399 |
\fBvmm relocatedinfo b.user@example.com\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
400 |
Relocated information |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
401 |
--------------------- |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
402 |
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
|
403 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
404 |
.TP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
405 |
\fBrelocateddelete\fP (\fBrd\fP) \fIold_address\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
406 |
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
|
407 |
\fIold_address\fP. |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
408 |
.PP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
409 |
.nf |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
410 |
Example: |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
411 |
|
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
412 |
\fBvmm relocateddelete b.user@example.com\fP |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
413 |
.fi |
89b71a9abfcf
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
79
diff
changeset
|
414 |
.\" |
21 | 415 |
.SH FILES |
416 |
/usr/local/etc/vmm.cfg |
|
417 |
.SH SEE ALSO |
|
25 | 418 |
vmm.cfg(5), configuration file for vmm |
21 | 419 |
.SH AUTHOR |
22 | 420 |
\fBvmm\fP and its man pages were written by Pascal Volk |
421 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |