Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

actions.conf 1.3KB

123456789101112131415161718192021222324252627282930
  1. # Actions settings
  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. actions {
  17. reject = 15; # Reject when reaching this score
  18. add_header = 6; # Add header when reaching this score
  19. greylist = 4; # Apply greylisting when reaching this score (will emit `soft reject action`)
  20. #unknown_weight = 1.0; # Enable if need to set score for all symbols implicitly
  21. # Each new symbol is added multiplied by gf^N, where N is the number of spammy symbols
  22. #grow_factor = 1.1;
  23. # Set rewrite subject to this value (%s is replaced by the original subject)
  24. #subject = "***SPAM*** %s"
  25. .include(try=true; priority=1; duplicate=merge) "$LOCAL_CONFDIR/local.d/actions.conf"
  26. .include(try=true; priority=10) "$LOCAL_CONFDIR/override.d/actions.conf"
  27. }