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.

rspamd.sysvinit.conf 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # System V init adopted top level configuration
  2. # Please don't modify this file as your changes might be overwritten with
  3. # the next update.
  4. #
  5. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  6. # parameters defined on the top level
  7. #
  8. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  9. # parameters defined on the top level
  10. #
  11. # For specific modules or configuration you can also modify
  12. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  13. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  14. #
  15. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  16. .include "$CONFDIR/common.conf"
  17. options {
  18. pidfile = "$RUNDIR/rspamd.pid";
  19. .include "$CONFDIR/options.inc"
  20. .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/options.inc"
  21. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/options.inc"
  22. }
  23. logging {
  24. type = "file";
  25. filename = "$LOGDIR/rspamd.log";
  26. .include "$CONFDIR/logging.inc"
  27. .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/logging.inc"
  28. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/logging.inc"
  29. }
  30. worker {
  31. bind_socket = "*:11333";
  32. .include "$CONFDIR/worker-normal.inc"
  33. .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/worker-normal.inc"
  34. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-normal.inc"
  35. }
  36. worker {
  37. bind_socket = "localhost:11334";
  38. .include "$CONFDIR/worker-controller.inc"
  39. .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/worker-controller.inc"
  40. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-controller.inc"
  41. }
  42. # Local fuzzy storage is disabled by default
  43. #worker {
  44. # bind_socket = "*:11335";
  45. # .include "$CONFDIR/worker-fuzzy.inc"
  46. # .include(try=true; priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/worker-fuzzy.inc"
  47. # .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/worker-fuzzy.inc"
  48. #}