I try to add alerting to haproxy 1.7.2, CentOS7 and get the following warning:
May 11 11:06:27 drft041 haproxy-systemd-wrapper[22650]: [WARNING] 130/110627 (22651) : Removing incomplete section 'mailers mymailers'.
Here is the first lines of the config that defines mailers:
# Mailers
mailers mymailers
timeout mail 20s
mailer smtp1 drft041:25
#---------------------------------------------------------------------
# Global settings
#---------------------------------------------------------------------
global
log 127.0.0.1 local2
chroot /var/lib/haproxy
pidfile /var/run/haproxy.pid
maxconn 15000 # orig: 4000
user haproxy
group haproxy
daemon
drft041 is localhost name defined in /etc/hosts:
xxxx.xxxx.xxxx.xxxx drft041
What do I do incorrectly?
Thanks.