22
|
1 |
.TH "VMM" "1" "22. April 2008" "Pascal Volk" "Virtual Mail Manager" |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
2 |
.SH NAME |
22
|
3 |
vmm \- commandline tool to manage email domains/accounts/aliases |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
4 |
.SH SYNOPSIS |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
5 |
.B vmm |
22
|
6 |
\fIsubcommand\fP \fIobject\fP [ \fIargs\fP ] |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
7 |
.SH DESCRIPTION |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
8 |
\fBvmm\fP (Virtual Mail Manager) is a command line tool for |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
9 |
administrators/postmasters to manage domains, accounts and aliases. It's |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
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
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
14 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
15 |
\fBconfigure\fP (\fBcf\fP) [ \fIsection\fP ] |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
16 |
Starts the interactive configuration for all configuration sections. |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
17 |
.br |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
18 |
If the optional argument »section« is given, only the configuration options |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
19 |
from the given section will be displayed and be configurable. The following |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
20 |
sections are available: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
21 |
.RS |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
22 |
.PD 0 |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
23 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
24 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
25 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
26 |
database |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
27 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
28 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
29 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
30 |
maildir |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
31 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
32 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
33 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
34 |
services |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
35 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
36 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
37 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
38 |
domdir |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
39 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
40 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
41 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
42 |
bin |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
43 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
44 |
- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
45 |
.B |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
46 |
misc |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
47 |
.PD |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
48 |
.RE |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
49 |
.LP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
50 |
.PP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
51 |
.nf |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
52 |
Example: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
53 |
|
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
54 |
\fBvmm configure services\fP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
55 |
* Config section: services |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
56 |
Enter new value for pop3 [True]: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
57 |
Enter new value for smtp [True]: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
58 |
Enter new value for imap [True]: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
59 |
Enter new value for managesieve [True]: false |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
60 |
.fi |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
61 |
.PP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
62 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
63 |
\fBgetuser\fP (\fBgu\fP) \fIuserid\fP |
22
|
64 |
If only the userid is available, for example from process list, the subcommand |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
65 |
\fBgetuser\fP will show the user's address. |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
66 |
.PP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
67 |
.nf |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
68 |
Example: |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
69 |
.PP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
70 |
\fBvmm getuser 70004\fP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
71 |
Account information |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
72 |
------------------- |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
73 |
Gid............: 70000 |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
74 |
Uid............: 70004 |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
75 |
Address........: c.user@example.com |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
76 |
.fi |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
77 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
78 |
\fBhelp\fP (\fBh\fP) |
22
|
79 |
Prints all available commands to stderr. After this \fBvmm\fP exits. |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
80 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
81 |
\fBversion\fP (\fBv\fP) |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
82 |
Prints the version information from \fBvmm\fB. |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
83 |
.\" |
22
|
84 |
.SS DOMAIN SUBCOMMANDS |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
85 |
.TP |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
86 |
\fBdomainadd\fP (\fBda\fP) \fIdomain\fP [ \fItransport\fP ] |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
87 |
Adds the new domain »domain« into the database. |
22
|
88 |
.br |
|
89 |
If the optional argument »transport« is given, it will overwrite the default |
|
90 |
transport from \fBvmm.cfg\fP (misc/transport). The specified transport will be |
|
91 |
the default transport for all new accounts in this domain. |
|
92 |
.PP |
|
93 |
.nf |
|
94 |
Examples: |
|
95 |
|
|
96 |
\fBvmm domainadd support.example.com smtp:mx1.example.com |
|
97 |
vmm domainadd sales.example.com\fP |
|
98 |
.fi |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
99 |
.TP |
22
|
100 |
\fBdomaininfo\fP (\fBdi\fP) \fIdomain\fP [ \fIdetailed\fP ] |
|
101 |
This subcommand shows some information about the given domain. |
|
102 |
.br |
|
103 |
If the optional argument detailed is specified, all available accounts and |
|
104 |
aliases will be listed. |
|
105 |
.PP |
|
106 |
.nf |
|
107 |
Example: |
|
108 |
|
|
109 |
\fBvmm domaininfo sales.example.com\fP |
|
110 |
Domain information |
|
111 |
------------------ |
|
112 |
Domainname.....: sales.example.com |
|
113 |
Domaindir......: /home/mail/5/70002 |
|
114 |
Gid............: 70002 |
|
115 |
Accounts.......: 0 |
|
116 |
Transport......: dovecot: |
|
117 |
Aliases........: 0 |
|
118 |
|
|
119 |
.fi |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
120 |
.TP |
22
|
121 |
\fBdomaintransport\fP (\fBdt\fP) \fIdomain\fP \fItransport\fP [ \fIforce\fP ] |
|
122 |
A new transport for the given domain can be set with this subcommand. |
|
123 |
.br |
|
124 |
If the optional argument \fIforce\fP is given all account specific transport |
|
125 |
settings will be overwritten. |
|
126 |
.br |
|
127 |
Otherwise this setting will affect only new created accounts. |
|
128 |
.PP |
|
129 |
.nf |
|
130 |
Example: |
|
131 |
|
|
132 |
\fBvmm domaintransport support.example.com dovecot:\fP |
|
133 |
.fi |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
134 |
.TP |
22
|
135 |
\fBdomaindelete\fP (\fBdd\fP) \fIdomain\fP [ \fIdelalias\fP | \fIdeluser\fP |\ |
|
136 |
\fIdelall\fP ] |
|
137 |
This subcommand deletes the specified domain. |
|
138 |
.br |
|
139 |
If there are accounts and/or aliases assigned to the given domain, \fBvmm\fP |
|
140 |
will abort the requested operation and show a error message. If you know, what |
|
141 |
you are doing, you can specify one of this arguments: \fIdelalias\fP, |
|
142 |
\fIdeluser\fP or \fIdelall\fP. |
|
143 |
.br |
|
144 |
If you really always know what you are doing, edit your \fBvmm.cfg\fP and set |
|
145 |
the option \fIforcedel\fP, in section \fImisc\fP, to true. |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
146 |
.\" |
22
|
147 |
.SS ACCOUNT SUBCOMMANDS |
|
148 |
.TP |
|
149 |
\fBuseradd\fP (\fBua\fP) \fIaddress\fP [ \fIpassword\fP ] |
|
150 |
.TP |
|
151 |
\fBuserinfo\fP (\fBui\fP) \fIaddress\fP [ \fIdu\fP ] |
|
152 |
.TP |
|
153 |
\fBusername\fP (\fBun\fP) \fIaddress\fP [ \fI'Users Name'\fP ] |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
154 |
.TP |
22
|
155 |
\fBuserpassword\fP (\fBup\fP) \fIaddress\fP [ \fIpassword\fP ] |
|
156 |
.TP |
|
157 |
\fBusertransport\fP (\fBut\fP) \fIaddress\fP [ \fItransport\fP ] |
|
158 |
.TP |
|
159 |
\fBuserdisable\fP (\fBu0\fP) \fIaddress\fP [ \fIsmtp\fP | \fIpop3\fP |\ |
|
160 |
\fIimap\fP | \fImanagesieve\fP | \fIall\fP ] |
|
161 |
.TP |
|
162 |
\fBuserenable\fP (\fBu1\fP) \fIaddress\fP [ \fIsmtp\fP | \fIpop3\fP |\ |
|
163 |
\fIimap\fP | \fImanagesieve\fP | \fIall\fP ] |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
164 |
.TP |
22
|
165 |
\fBuserdelete\fP (\fBud\fP) \fIaddress\fP |
|
166 |
.\" |
|
167 |
.SS ALIAS SUBCOMMANDS |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
168 |
.TP |
22
|
169 |
\fBaliasadd\fP (\fBaa\fP) \fIalias\fP \fItarget\fP |
|
170 |
.TP |
|
171 |
\fBaliasinfo\fP (\fBai\fP) \fIalias\fP |
|
172 |
.TP |
|
173 |
\fBaliasdelete\fP (\fBad\fP) \fIalias\fP [ \fItarget\fP ] |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
174 |
|
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
175 |
.SH FILES |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
176 |
/usr/local/etc/vmm.cfg |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
177 |
.SH SEE ALSO |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
178 |
vmm.cgf(5), vmm configuration parameters |
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
179 |
.SH AUTHOR |
22
|
180 |
\fBvmm\fP and its man pages were written by Pascal Volk |
|
181 |
<\fIp.volk@veb-it.de\fP> and are licensed under the terms of the BSD License. |
21
Pascal Volk <neverseen@users.sourceforge.net>
parents:
diff
changeset
|
182 |
|