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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. # Please don't modify this file as your changes might be overwritten with
  2. # the next update.
  3. #
  4. # You can modify 'local.d/arc.conf' to add and merge
  5. # parameters defined inside this section
  6. #
  7. # You can modify 'override.d/arc.conf' to strictly override all
  8. # parameters defined inside this section
  9. #
  10. # See https://rspamd.com/doc/faq.html#what-are-the-locald-and-overrided-directories
  11. # for details
  12. #
  13. # Module documentation can be found at https://rspamd.com/doc/modules/arc.html
  14. # To configure this module, please also check the following document:
  15. # https://rspamd.com/doc/tutorials/scanning_outbound.html and
  16. # https://rspamd.com/doc/modules/arc.html
  17. # To enable this module define the following attributes:
  18. # path = "${DBDIR}/arc/$domain.$selector.key";
  19. # OR
  20. # domain { ... }, if you use per-domain conf
  21. # OR
  22. # set `use_redis=true;` and define redis servers
  23. arc {
  24. # If false, messages with empty envelope from are not signed
  25. allow_envfrom_empty = true;
  26. # If true, envelope/header domain mismatch is ignored
  27. allow_hdrfrom_mismatch = true;
  28. # If true, multiple from headers are allowed (but only first is used)
  29. allow_hdrfrom_multiple = false;
  30. # If true, username does not need to contain matching domain
  31. allow_username_mismatch = 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, messages from authenticated users are not selected for signing
  37. sign_authenticated = false;
  38. # If false, inbound messages are not selected for signing
  39. sign_inbound = true;
  40. # If false, messages from local networks are not selected for signing
  41. sign_local = false;
  42. # Symbol to add when message is signed
  43. sign_symbol = "ARC_SIGNED";
  44. # Whether to fallback to global config
  45. try_fallback = true;
  46. # Domain to use for ARC signing: can be "header", "envelope" or "recipient"
  47. use_domain = "recipient";
  48. # Whether to normalise domains to eSLD
  49. use_esld = true;
  50. # Whether to get keys from Redis
  51. use_redis = false;
  52. # Hash for ARC keys in Redis
  53. key_prefix = "ARC_KEYS";
  54. # Domain specific settings
  55. #domain {
  56. # example.com {
  57. # # Private key path
  58. # path = "${DBDIR}/arc/example.key";
  59. # # Selector
  60. # selector = "ds";
  61. # }
  62. #}
  63. .include(try=true,priority=5) "${DBDIR}/dynamic/arc.conf"
  64. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/arc.conf"
  65. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/arc.conf"
  66. }