]> git.proxmox.com Git - pmg-docs.git/blame - pmgsh.adoc
add SSL ceriticate generation doc
[pmg-docs.git] / pmgsh.adoc
CommitLineData
93f5feff
DM
1[[chapter_pmgsh]]
2ifdef::manvolnum[]
3pmgsh(1)
4========
5:pmg-toplevel:
6
7NAME
8----
9
10pmgsh - Proxmox Mail Gateway API Shell
11
12
13SYNOPSIS
14--------
15
16include::pmgsh.1-synopsis.adoc[]
17
18
19DESCRIPTION
20-----------
21endif::manvolnum[]
22ifndef::manvolnum[]
23API Shell
24=========
25:pmg-toplevel:
26endif::manvolnum[]
27
28Toolkit to access the Proxmox Mail Gateway API via the command line.
29
30Examples
31--------
32
33List entries:
34
35----
36# pmgsh ls /
37----
38
39Call method 'GET' on an specific API path:
40
41----
42# pmgsh get /version
43----
44
45View current mail configuration:
46
47----
48# pmgsh get /config/mail
49----
50
51Get help for a specific path:
52
53----
54# pmgsh help /config/mail -v
55----
56
57Disable option 'spf' in '/config/mail'
58
59----
60# pmgsh set /config/mail -spf 0
61----
62
e051eef8 63Delete 'spf' setting from '/config/mail'
93f5feff
DM
64
65----
66# pmgsh set /config/mail -delete spf
67----
68
69
70ifdef::manvolnum[]
71include::pmg-copyright.adoc[]
72endif::manvolnum[]
73