選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

arc.conf 2.4KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local.override' to redefine
  2. # parameters defined on the top level
  3. #
  4. # You can modify '$LOCAL_CONFDIR/rspamd.conf.local' to add
  5. # parameters defined on the top level
  6. #
  7. # For specific modules or configuration you can also modify
  8. # '$LOCAL_CONFDIR/local.d/file.conf' - to add your options or rewrite defaults
  9. # '$LOCAL_CONFDIR/override.d/file.conf' - to override the defaults
  10. #
  11. # See https://rspamd.com/doc/tutorials/writing_rules.html for details
  12. # To configure this module, please also check the following document:
  13. # https://rspamd.com/doc/tutorials/scanning_outbound.html and
  14. # https://rspamd.com/doc/modules/arc.html
  15. # To enable this module define the following attributes:
  16. # path = "${DBDIR}/arc/$domain.$selector.key";
  17. # OR
  18. # domain { ... }, if you use per-domain conf
  19. # OR
  20. # set `use_redis=true;` and define redis servers
  21. arc {
  22. # If false, messages with empty envelope from are not signed
  23. allow_envfrom_empty = true;
  24. # If true, envelope/header domain mismatch is ignored
  25. allow_hdrfrom_mismatch = false;
  26. # If true, multiple from headers are allowed (but only first is used)
  27. allow_hdrfrom_multiple = false;
  28. # If true, username does not need to contain matching domain
  29. allow_username_mismatch = false;
  30. # If false, messages from authenticated users are not selected for signing
  31. auth_only = true;
  32. # Default path to key, can include '$domain' and '$selector' variables
  33. #path = "${DBDIR}/arc/$domain.$selector.key";
  34. # Default selector to use
  35. selector = "arc";
  36. # If false, messages from local networks are not selected for signing
  37. sign_local = true;
  38. # Symbol to add when message is signed
  39. symbol_sign = "ARC_SIGNED";
  40. # Whether to fallback to global config
  41. try_fallback = true;
  42. # Domain to use for DKIM signing: can be "header" or "envelope"
  43. use_domain = "header";
  44. # Whether to normalise domains to eSLD
  45. use_esld = true;
  46. # Whether to get keys from Redis
  47. use_redis = false;
  48. # Hash for ARC keys in Redis
  49. key_prefix = "ARC_KEYS";
  50. # Domain specific settings
  51. #domain {
  52. # example.com {
  53. # # Private key path
  54. # path = "${DBDIR}/arc/example.key";
  55. # # Selector
  56. # selector = "ds";
  57. # }
  58. #}
  59. .include(try=true,priority=5) "${DBDIR}/dynamic/arc.conf"
  60. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/arc.conf"
  61. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/arc.conf"
  62. }