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.

trie.conf 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  5. # parameters defined on the top level
  6. #
  7. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  8. # parameters defined on the top level
  9. #
  10. # For specific modules or configuration you can also modify
  11. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  12. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  13. #
  14. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  15. trie {
  16. # Each subsection defines a single rule with associated symbol
  17. # This config defines no tries leaving this module efficiently disabled by default
  18. # SYMBOL1 {
  19. # # Define rules in the file (it is *NOT* a map)
  20. # file = "/some/path";
  21. # # Raw rules search within the whole undecoded messages
  22. # raw = true;
  23. # # If we have multiple occurrences of strings from this rule
  24. # # then we insert a symbol multiple times
  25. # multi = true;
  26. # }
  27. # SYMBOL2 {
  28. # patterns = [
  29. # "pattern1",
  30. # "pattern2",
  31. # "pattern3"
  32. # ]
  33. # }
  34. .include(try=true,priority=5) "${DBDIR}/dynamic/trie.conf"
  35. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/trie.conf"
  36. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/trie.conf"
  37. }