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.

arc.conf 2.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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 = true;
  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 = false;
  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, inbound messages are not selected for signing
  37. sign_inbound = true;
  38. # If false, messages from local networks are not selected for signing
  39. sign_local = false;
  40. # Symbol to add when message is signed
  41. symbol_sign = "ARC_SIGNED";
  42. # Whether to fallback to global config
  43. try_fallback = true;
  44. # Domain to use for DKIM signing: can be "header", "envelope" or "recipient"
  45. use_domain = "recipient";
  46. # Whether to normalise domains to eSLD
  47. use_esld = true;
  48. # Whether to get keys from Redis
  49. use_redis = false;
  50. # Hash for ARC keys in Redis
  51. key_prefix = "ARC_KEYS";
  52. # Domain specific settings
  53. #domain {
  54. # example.com {
  55. # # Private key path
  56. # path = "${DBDIR}/arc/example.key";
  57. # # Selector
  58. # selector = "ds";
  59. # }
  60. #}
  61. .include(try=true,priority=5) "${DBDIR}/dynamic/arc.conf"
  62. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/arc.conf"
  63. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/arc.conf"
  64. }