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.

headers_group.conf 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # Headers rules scores
  2. #
  3. # Please don't modify this file as your changes might be overwritten with
  4. # the next update.
  5. #
  6. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  7. # parameters defined on the top level
  8. #
  9. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  10. # parameters defined on the top level
  11. #
  12. # For specific modules or configuration you can also modify
  13. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  14. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  15. #
  16. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  17. symbols = {
  18. "FORGED_SENDER" {
  19. weight = 0.3;
  20. description = "Sender is forged (different From: header and smtp MAIL FROM: addresses)";
  21. }
  22. "R_MIXED_CHARSET" {
  23. weight = 5.0;
  24. description = "Mixed characters in a message";
  25. one_shot = true;
  26. }
  27. "R_MIXED_CHARSET_URL" {
  28. weight = 7.0;
  29. description = "Mixed characters in a URL inside message";
  30. one_shot = true;
  31. }
  32. "FORGED_RECIPIENTS" {
  33. weight = 2.0;
  34. description = "Recipients are not the same as RCPT TO: mail command";
  35. }
  36. "FORGED_RECIPIENTS_MAILLIST" {
  37. weight = 0.0;
  38. description = "Recipients are not the same as RCPT TO: mail command, but a message from a maillist";
  39. }
  40. "FORGED_SENDER_MAILLIST" {
  41. weight = 0.0;
  42. description = "Sender is not the same as MAIL FROM: envelope, but a message is from a maillist";
  43. }
  44. "ONCE_RECEIVED" {
  45. weight = 0.1;
  46. description = "One received header in a message";
  47. }
  48. "RDNS_NONE" {
  49. weight = 1.0;
  50. description = "Cannot resolve reverse DNS for sender's IP";
  51. }
  52. "RDNS_DNSFAIL" {
  53. weight = 0.0;
  54. description = "PTR verification DNS error";
  55. }
  56. "ONCE_RECEIVED_STRICT" {
  57. weight = 4.0;
  58. description = "One received header with 'bad' patterns inside";
  59. }
  60. "MAILLIST" {
  61. weight = -0.2;
  62. description = "Message seems to be from maillist";
  63. }
  64. }