Debian Codegraph @

doc/rspamadm.1

raw
1 .\" Automatically generated by Pandoc 3.1.11.1
2 .\"
3 .TH "RSPAMADM" "1" "" "Rspamd User Manual" ""
4 .SH NAME
5 rspamadm \- rspamd administration utility
6 .SH SYNOPSIS
7 rspamadm [\f[I]global_options\f[R]] [\f[I]command\f[R]]
8 [\f[I]command_options\f[R]]\&...
9 .SH DESCRIPTION
10 \f[CR]rspamadm\f[R] is a routine to manage rspamd spam filtering system.
11 It is intended to perform such actions as merging databases, performing
12 configuration tests, encrypting passwords, signing configurations and so
13 on.
14 You can get a list of available \f[B]commands\f[R] by running
15 .IP
16 .EX
17 rspamadm \-l
18 .EE
19 .PP
20 Also for each command you can check list of available
21 \f[B]command_options\f[R] by running
22 .IP
23 .EX
24 rspamadm help command
25 rspamadm command \-\-help
26 .EE
27 .SH OPTIONS
28 .TP
29 \-h, \-\-help
30 Show help message
31 .TP
32 \-v, \-\-verbose
33 Enable verbose output
34 .TP
35 \-l, \-\-list\-commands
36 List available commands
37 .TP
38 \-\-version
39 Show version
40 .TP
41 \-\-var=\f[I]value\f[R]
42 Redefine ucl variable in format \f[CR]VARIABLE=VALUE\f[R]
43 .SH RETURN VALUE
44 On exit \f[CR]rspamadm\f[R] returns \f[CR]0\f[R] if operation was
45 successful and an error code otherwise.
46 .SH EXAMPLES
47 Get help for pw command:
48 .IP
49 .EX
50 rspamadm help pw
51 rspamadm pw \-\-help
52 .EE
53 .PP
54 Encrypt controller\[cq]s password:
55 .IP
56 .EX
57 rspamadm pw encrypt
58 .EE
59 .PP
60 Merge fuzzy databases:
61 .IP
62 .EX
63 rspamadm fuzzy_merge \-s data1.sqlite \-s data2.sqlite \-t dest.sqlite
64 .EE
65 .PP
66 Perform configuration test:
67 .IP
68 .EX
69 rspamadm configtest \-c rspamd.conf
70 .EE
71 .PP
72 Test configuration strictly and redefine some ucl vars:
73 .IP
74 .EX
75 rspamadm \-\-var=DBDIR=/tmp configtest \-c ./rspamd.conf \-s
76 .EE
77 .PP
78 Dump the processed configuration:
79 .IP
80 .EX
81 rspamadm configdump
82 .EE
83 .PP
84 Dump the processed configuration as JSON string:
85 .IP
86 .EX
87 rspamadm configdump \-j
88 .EE
89 .PP
90 Generate a keypair to use for HTTPCrypt encryption:
91 .IP
92 .EX
93 rspamadm keypair
94 .EE
95 .SH SEE ALSO
96 Rspamd documentation and source codes may be downloaded from \c
97 .UR https://rspamd.com/
98 .UE \c
99 \&.