您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

emails.conf 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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. emails {
  16. rules {
  17. RSPAMD_EMAILBL {
  18. delimiter = ".";
  19. encoding = "base32";
  20. hashlen = 32;
  21. dnsbl = "email.rspamd.com";
  22. check_replyto = true;
  23. hash = "blake2";
  24. returncodes = {
  25. RSPAMD_EMAILBL = "127.0.0.2";
  26. }
  27. }
  28. MSBL_EBL {
  29. dnsbl = "ebl.msbl.org";
  30. domain_only = false;
  31. check_replyto = true;
  32. hash = "sha1";
  33. returncodes = {
  34. MSBL_EBL = [
  35. "127.0.0.2",
  36. "127.0.0.3"
  37. ];
  38. MSBL_EBL_GREY = [
  39. "127.0.1.2",
  40. "127.0.1.3"
  41. ];
  42. }
  43. }
  44. }
  45. .include(try=true,priority=5) "${DBDIR}/dynamic/emails.conf"
  46. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/emails.conf"
  47. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/emails.conf"
  48. }