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