mail.conf 366 B

12345678910111213141516171819202122
  1. #
  2. # Mail related stuff (Salt managed)
  3. #
  4. #
  5. # mailq
  6. apply Service "mailq" {
  7. import "generic-service"
  8. check_command = "mailq"
  9. if (host.name != NodeName) {
  10. command_endpoint = host.name
  11. }
  12. vars.mailq_servertype = "postfix"
  13. vars.mailq_warning = 5
  14. vars.mailq_critical = 10
  15. vars.mailq_sudo = true
  16. assign where host.address && host.vars.os == "Linux"
  17. }