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.

worker-proxy.inc 1.0KB

12345678910111213141516171819202122232425262728
  1. # Proxy worker setup
  2. # Please don't modify this file as your changes might be overwritten with
  3. # the next update.
  4. #
  5. # You can modify 'local.d/worker-proxy.inc' to add and merge
  6. # parameters defined inside this section
  7. #
  8. # You can modify 'override.d/worker-proxy.inc' to strictly override all
  9. # parameters defined inside this section
  10. #
  11. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  12. # for details
  13. # Module documentation: https://rspamd.com/doc/workers/rspamd_proxy.html
  14. milter = yes; # Enable milter mode
  15. timeout = 120s; # Needed for Milter usually
  16. upstream "local" {
  17. default = yes;
  18. hosts = "localhost";
  19. }
  20. count = 1; # Do not spawn too many processes of this type
  21. max_retries = 5; # How many times master is queried in case of failure
  22. discard_on_reject = false; # Discard message instead of rejection
  23. quarantine_on_reject = false; # Tell MTA to quarantine rejected messages
  24. spam_header = "X-Spam"; # Use the specific spam header
  25. reject_message = "Spam message rejected"; # Use custom rejection message