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.

mx_check.conf 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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/mx_check.conf' to add and merge
  5. # parameters defined inside this section
  6. #
  7. # You can modify 'override.d/mx_check.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/mx_check.html
  14. # This module is *DISABLED* by default
  15. # If you need to enable it, then define the following line in
  16. # local.d/mx_check.conf:
  17. #
  18. # enabled = true;
  19. #
  20. # You also need to define redis servers for this module
  21. mx_check {
  22. # connection timeout in seconds
  23. timeout = 1.0;
  24. # symbol yielded if no MX is connectable
  25. symbol_bad_mx = "MX_INVALID";
  26. # symbol yielded if no MX is found
  27. symbol_no_mx = "MX_MISSING";
  28. # symbol yielded if MX is connectable
  29. symbol_good_mx = "MX_GOOD";
  30. # lifetime of redis cache - 1 day by default
  31. expire = 86400;
  32. # prefix used for redis key
  33. key_prefix = "rmx";
  34. # !!! Disabled by default !!!
  35. enabled = false;
  36. .include(try=true,priority=5) "${DBDIR}/dynamic/mx_check.conf"
  37. .include(try=true,priority=1,duplicate=merge) "$LOCAL_CONFDIR/local.d/mx_check.conf"
  38. .include(try=true,priority=10) "$LOCAL_CONFDIR/override.d/mx_check.conf"
  39. }