Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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