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.4KB

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