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.

composites.conf 1.2KB

1234567891011121314151617181920212223242526272829303132333435
  1. # Composites 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_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. composite {
  17. name = "FORGED_RECIPIENTS_MAILLIST";
  18. expression = "FORGED_RECIPIENTS & -MAILLIST";
  19. }
  20. composite {
  21. name = "FORGED_SENDER_MAILLIST";
  22. expression = "FORGED_SENDER & -MAILLIST";
  23. }
  24. composite {
  25. name = "FORGED_MUA_MAILLIST";
  26. expression = "g:mua and -MAILLIST";
  27. }
  28. composite {
  29. name = "RBL_SPAMHAUS_XBL_ANY";
  30. expression = "(-RBL_SPAMHAUS_XBL | -RBL_SPAMHAUS_XBL1 | -RBL_SPAMHAUS_XBL2 | -RBL_SPAMHAUS_XBL3) & RECEIVED_SPAMHAUS_XBL";
  31. }
  32. .include(try=true; priority=1) "$LOCAL_CONFDIR/local.d/composites.conf"
  33. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/composites.conf"