Mailers
It is possible to send email alerts when the state of servers changes.
If configured email alerts are sent to each mailer that is configured
in a mailers section. Email is sent to mailers using SMTP.
mailers
Creates a new mailer list with the name . It is an
independent section which is referenced by one or more proxies.
mailer :
Defines a mailer inside a mailers section.
Example:
mailers mymailers
mailer smtp1 192.168.0.1:587
mailer smtp2 192.168.0.2:587
backend mybackend
mode tcp
balance roundrobin
email-alert mailers mymailers
email-alert from [email protected]
email-alert to [email protected]
server srv1 192.168.0.30:80
server srv2 192.168.0.31:80