author | Pascal Volk <neverseen@users.sourceforge.net> |
Sun, 31 Aug 2008 04:12:38 +0000 | |
changeset 71 | 4c94ba297698 |
parent 66 | 995d538a6eb5 |
child 79 | 0ae7597eed11 |
permissions | -rw-r--r-- |
24 | 1 |
.\" $Id$ |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
2 |
.TH "VMM" "1" "25. Aug 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 |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
96 |
[-] exempli-gratia.example.com |
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 |
|
129 |
the following four 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 |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
142 |
.B full |
64 | 143 |
to list all information mentioned above |
62
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
144 |
.PD |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
145 |
.RE |
869de537a020
* 'VirtualMailManager/VirtualMailManager.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
59
diff
changeset
|
146 |
.LP |
22 | 147 |
.nf |
148 |
Example: |
|
149 |
||
150 |
\fBvmm domaininfo sales.example.com\fP |
|
151 |
Domain information |
|
152 |
------------------ |
|
153 |
Domainname.....: sales.example.com |
|
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
154 |
GID............: 70002 |
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
155 |
Transport......: dovecot: |
22 | 156 |
Domaindir......: /home/mail/5/70002 |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
157 |
Aliasdomains...: 0 |
22 | 158 |
Accounts.......: 0 |
159 |
Aliases........: 0 |
|
160 |
||
161 |
.fi |
|
21 | 162 |
.TP |
22 | 163 |
\fBdomaintransport\fP (\fBdt\fP) \fIdomain\fP \fItransport\fP [ \fIforce\fP ] |
26 | 164 |
A new transport for the indicated domain can be set with this subcommand. |
22 | 165 |
.br |
23 | 166 |
If the additional keyword '\fBforce\fP' is given all account specific transport |
22 | 167 |
settings will be overwritten. |
168 |
.br |
|
169 |
Otherwise this setting will affect only new created accounts. |
|
170 |
.PP |
|
171 |
.nf |
|
172 |
Example: |
|
173 |
||
174 |
\fBvmm domaintransport support.example.com dovecot:\fP |
|
175 |
.fi |
|
21 | 176 |
.TP |
37
89f952b0f366
* 'install.sh'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
36
diff
changeset
|
177 |
\fBdomaindelete\fP (\fBdd\fP) \fIdomain\fP [ \fIdelalias\fP | \fIdeluser\fP | \fIdelall\fP ] |
23 | 178 |
This subcommand deletes the specified \fIdomain\fP. |
22 | 179 |
.br |
180 |
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
|
181 |
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
|
182 |
you are doing, you can specify one of the following keywords: '\fBdelalias\fP', '\fBdeluser\fP' or '\fBdelall\fP'. |
22 | 183 |
.br |
23 | 184 |
|
22 | 185 |
If you really always know what you are doing, edit your \fBvmm.cfg\fP and set |
186 |
the option \fIforcedel\fP, in section \fImisc\fP, to true. |
|
21 | 187 |
.\" |
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
188 |
.SS ALIAS DOMAIN SUBCOMMANDS |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
189 |
.TP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
190 |
\fBaliasdomainaddd\fP (\fBada\fP) \fIaliasdomain\fP \fItargetdomain\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
191 |
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
|
192 |
should be aliased. |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
193 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
194 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
195 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
196 |
|
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
197 |
\fBvmm aliasdomainadd exempli-gratia.example.com example.com\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
198 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
199 |
.TP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
200 |
\fBaliasdomaininfo (\fBadi\fP) \fIaliasdomain\fP |
59
f2f784667040
* 'man/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
57
diff
changeset
|
201 |
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
|
202 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
203 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
204 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
205 |
|
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
206 |
\fBvmm aliasdomaininfo exempli-gratia.example.com\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
207 |
Alias domain information |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
208 |
------------------------ |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
209 |
The alias domain exempli-gratia.example.com belongs to: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
210 |
* example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
211 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
212 |
.TP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
213 |
\fBaliasdomaindelete\fP (\fBadd\fP) \fIaliasdomain\fP |
59
f2f784667040
* 'man/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
57
diff
changeset
|
214 |
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
|
215 |
.PP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
216 |
.nf |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
217 |
Example: |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
218 |
|
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
219 |
\fBvmm aliasdomaindelete e.g.example.com\fP |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
220 |
.fi |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
221 |
.\" |
22 | 222 |
.SS ACCOUNT SUBCOMMANDS |
223 |
.TP |
|
224 |
\fBuseradd\fP (\fBua\fP) \fIaddress\fP [ \fIpassword\fP ] |
|
23 | 225 |
Use this subcommand to create a new email account for the given \fIaddress\fP. |
226 |
.br |
|
227 |
If the \fIpassword\fP is not provided, \fBvmm\fP will prompt for it |
|
228 |
interactively. |
|
229 |
.PP |
|
230 |
.nf |
|
231 |
Examples: |
|
232 |
||
233 |
\fBvmm ua d.user@example.com 'A 5ecR3t P4s5\\/\\/0rd'\fP |
|
234 |
\fBvmm ua e.user@example.com\fP |
|
235 |
Enter new password: |
|
236 |
Retype new password: |
|
237 |
.fi |
|
22 | 238 |
.TP |
239 |
\fBuserinfo\fP (\fBui\fP) \fIaddress\fP [ \fIdu\fP ] |
|
23 | 240 |
This subcommand displays some information about the account specified by |
241 |
\fIaddress\fP. |
|
242 |
.br |
|
243 |
If the optional argument \fIdu\fP is given, the disk usage of users maildir will |
|
244 |
be summarized and displayed too. |
|
22 | 245 |
.TP |
23 | 246 |
\fBusername\fP (\fBun\fP) \fIaddress\fP \fI'Users Name'\fP |
26 | 247 |
The user's real name can be set/updated with this subcommand. |
23 | 248 |
.PP |
249 |
.nf |
|
250 |
Example: |
|
251 |
||
252 |
\fBvmm un d.user@example.com 'John Doe'\fP |
|
253 |
.fi |
|
21 | 254 |
.TP |
22 | 255 |
\fBuserpassword\fP (\fBup\fP) \fIaddress\fP [ \fIpassword\fP ] |
23 | 256 |
The \fIpassword\fP from an account can be updated with this subcommand. |
257 |
.br |
|
258 |
If the \fIpassword\fP is not provided, \fBvmm\fP will prompt for it |
|
259 |
interactively. |
|
260 |
.PP |
|
261 |
.nf |
|
262 |
Example: |
|
263 |
||
264 |
\fBvmm up d.user@example.com 'A |\\/|0r3 5ecur3 P4s5\\/\\/0rd?'\fP |
|
265 |
.fi |
|
22 | 266 |
.TP |
23 | 267 |
\fBusertransport\fP (\fBut\fP) \fIaddress\fP \fItransport\fP |
268 |
A different transport for an account can be specified with this subcommand. |
|
269 |
.PP |
|
270 |
.nf |
|
271 |
Example: |
|
272 |
||
273 |
\fBvmm ut d.user@example.com smtp:pc105.it.example.com\fP |
|
274 |
.fi |
|
22 | 275 |
.TP |
64 | 276 |
\fBuserdisable\fP (\fBu0\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 277 |
If a user shouldn't have access to one or all services you can restrict the |
278 |
access with this subcommand. |
|
279 |
.br |
|
64 | 280 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
281 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be disabled |
|
282 |
for the account with the specified \fIaddress\fP. Otherwise only the specified |
|
283 |
\fIservice\fP will be restricted. |
|
23 | 284 |
.PP |
285 |
.nf |
|
286 |
Examples: |
|
287 |
||
288 |
\fBvmm u0 b.user@example.com imap\fP |
|
289 |
\fBvmm userdisable c.user@example.com\fP |
|
290 |
.fi |
|
22 | 291 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
292 |
\fBuserenable\fP (\fBu1\fP) \fIaddress\fP [ \fIservice\fP ] |
23 | 293 |
To allow access to one or all restricted services use this subcommand. |
294 |
.br |
|
64 | 295 |
If neither a \fIservice\fP nor the keyword '\fIall\fP' is given all services |
296 |
(\fIsmtp\fP, \fIpop3\fP, \fIimap\fP, and \fImanagesieve\fP) will be enabled for |
|
297 |
the account with the specified \fIaddress\fP. Otherwise only the specified |
|
298 |
\fIservice\fP will be enabled. |
|
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
299 |
.PP |
21 | 300 |
.TP |
66
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
301 |
\fBuserdelete\fP (\fBud\fP) \fIaddress\fP [ \fIdelalias\fP ] |
23 | 302 |
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
|
303 |
.br |
995d538a6eb5
* 'VirtualMailManager/Account.py'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
64
diff
changeset
|
304 |
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
|
305 |
\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
|
306 |
prevent this, specify the optional keyword '\fIdelalias\fP'. |
22 | 307 |
.\" |
308 |
.SS ALIAS SUBCOMMANDS |
|
21 | 309 |
.TP |
22 | 310 |
\fBaliasadd\fP (\fBaa\fP) \fIalias\fP \fItarget\fP |
23 | 311 |
This subcommand is used to create a new alias. |
312 |
.PP |
|
313 |
.nf |
|
314 |
Examples: |
|
315 |
||
316 |
\fBvmm aliasadd john.doe@example.com d.user@example.com\fP |
|
317 |
\fBvmm aa support@example.com d.user@example.com\fP |
|
318 |
\fBvmm aa support@example.com e.user@example.com\fP |
|
319 |
.fi |
|
22 | 320 |
.TP |
321 |
\fBaliasinfo\fP (\fBai\fP) \fIalias\fP |
|
23 | 322 |
Information about an alias can be displayed with this subcommand. |
323 |
.PP |
|
324 |
.nf |
|
325 |
Example: |
|
326 |
||
327 |
\fBvmm aliasinfo support@example.com\fP |
|
328 |
Alias information |
|
329 |
----------------- |
|
57
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
330 |
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
|
331 |
* d.user@example.com |
38c42e09677a
* 'man/de/man1/vmm.1'
Pascal Volk <neverseen@users.sourceforge.net>
parents:
37
diff
changeset
|
332 |
* e.user@example.com |
23 | 333 |
.fi |
22 | 334 |
.TP |
335 |
\fBaliasdelete\fP (\fBad\fP) \fIalias\fP [ \fItarget\fP ] |
|
23 | 336 |
Use this subcommand to delete the \fIalias\fP. |
337 |
.br |
|
338 |
If the optional destination address \fItarget\fP is given, only this |
|
339 |
destination will be removed from the \fIalias\fP. |
|
340 |
.PP |
|
341 |
.nf |
|
342 |
Example: |
|
343 |
\fBvmm ad support@example.com d.user@example.com\fP |
|
344 |
.fi |
|
21 | 345 |
.SH FILES |
346 |
/usr/local/etc/vmm.cfg |
|
347 |
.SH SEE ALSO |
|
25 | 348 |
vmm.cfg(5), configuration file for vmm |
21 | 349 |
.SH AUTHOR |
22 | 350 |
\fBvmm\fP and its man pages were written by Pascal Volk |
351 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |