Skip to content

Instantly share code, notes, and snippets.

View theozaurus's full-sized avatar

Theo Cushion theozaurus

  • Black Tree Gaming
  • UK
View GitHub Profile
## Set list of mailservers for alert delivery. Multiple servers may be
## specified using comma separator. By default monit uses port 25 - it is
## possible to override it with the PORT option.
#
# set mailserver mail.bar.baz, # primary mailserver
# backup.bar.baz port 10025, # backup mailserver on port 10025
# localhost # fallback relay
#
#
set mailserver <%= @monit[:mailserver][:host] %> port <%= @monit[:mailserver][:port] %>