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.

options.inc 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Included from top-level .conf file
  2. filters = "chartable,dkim,spf,surbl,regexp,fuzzy_check";
  3. raw_mode = false;
  4. one_shot = false;
  5. cache_file = "$DBDIR/symbols.cache";
  6. # How often maps are checked (
  7. map_watch_interval = 5min;
  8. # Multiplier for watch interval for files
  9. map_file_watch_multiplier = 0.1;
  10. dynamic_conf = "$DBDIR/rspamd_dynamic";
  11. history_file = "$DBDIR/rspamd.history";
  12. check_all_filters = false;
  13. dns {
  14. timeout = 1s;
  15. sockets = 16;
  16. retransmits = 5;
  17. }
  18. tempdir = "/tmp";
  19. url_tld = "${SHAREDIR}/effective_tld_names.dat";
  20. classify_headers = [
  21. "User-Agent",
  22. "X-Mailer",
  23. "Content-Type",
  24. "X-MimeOLE",
  25. ];
  26. control_socket = "$DBDIR/rspamd.sock mode=0600";
  27. history_rows = 200;
  28. explicit_modules = ["settings", "bayes_expiry"];
  29. # Scan messages even if they are not MIME
  30. allow_raw_input = true;
  31. # Start ignore words when reaching the following limit, so the total
  32. # amount of words processed will not be *LIKELY more than the twice of that limit
  33. words_decay = 600;
  34. # Write statistics about rspamd usage to the round-robin database
  35. rrd = "${DBDIR}/rspamd.rrd";
  36. # Local networks
  37. local_addrs = [192.168.0.0/16, 10.0.0.0/8, 172.16.0.0/12, fd00::/8, 169.254.0.0/16, fe80::/10];
  38. hs_cache_dir = "${DBDIR}/";
  39. # Timeout for messages processing (must be larger than any internal timeout used)
  40. task_timeout = 8s;
  41. # Emit soft reject when timeout takes place
  42. soft_reject_on_timeout = false;