You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rspamadm.1.md 1.6KB

8 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. % RSPAMADM(1) Rspamd User Manual
  2. # NAME
  3. rspamadm - rspamd administration utility
  4. # SYNOPSIS
  5. rspamadm [*global_options*] [*command*] [*command_options*]...
  6. # DESCRIPTION
  7. `rspamadm` is a routine to manage rspamd spam filtering system. It is intended to perform
  8. such actions as merging databases, performing configuration tests, encrypting passwords,
  9. signing configurations and so on. You can get a list of available **commands** by running
  10. rspamadm -l
  11. Also for each command you can check list of available **command_options** by running
  12. rspamadm help command
  13. rspamadm command --help
  14. # OPTIONS
  15. -h, \--help
  16. : Show help message
  17. -v, \--verbose
  18. : Enable verbose output
  19. -l, \--list-commands
  20. : List available commands
  21. \--version
  22. : Show version
  23. \--var=*value*
  24. : Redefine ucl variable in format `VARIABLE=VALUE`
  25. # RETURN VALUE
  26. On exit `rspamadm` returns `0` if operation was successful and an error code otherwise.
  27. # EXAMPLES
  28. Get help for pw command:
  29. rspamadm help pw
  30. rspamadm pw --help
  31. Encrypt controller's password:
  32. rspamadm pw encrypt
  33. Merge fuzzy databases:
  34. rspamadm fuzzy_merge -s data1.sqlite -s data2.sqlite -t dest.sqlite
  35. Perform configuration test:
  36. rspamadm configtest -c rspamd.conf
  37. Test configuration strictly and redefine some ucl vars:
  38. rspamadm --var=DBDIR=/tmp configtest -c ./rspamd.conf -s
  39. Dump the processed configuration:
  40. rspamadm configdump
  41. Dump the processed configuration as JSON string:
  42. rspamadm configdump -j
  43. Generate a keypair to use for HTTPCrypt encryption:
  44. rspamadm keypair
  45. # SEE ALSO
  46. Rspamd documentation and source codes may be downloaded from
  47. <https://rspamd.com/>.