Op 27/03/2018 om 16:01 schreef Christopher Faulet: > Le 26/03/2018 à 16:58, Johan Hendriks a écrit : >> I just updated haproxy to 1.8.5 on my FreeBSD 11-Stable server. >> >> I just noticed we do not receive any email notifications anymore when a >> server goes down. >> We did not change the config. >> >> This is what i have in my config (relevant part) >> >> default >> # Mailer config >> mailers alert-mailers >> timeout mail 20s >> mailer smtp1 localhost:25 >> >> backend >> >> backend be_www0001 >> mode http >> option http-server-close >> option httpchk get / >> http-check expect string www0001 >> default-server inter 3s fall 3 rise 2 >> email-alert mailers alert-mailers >> email-alert from [email protected] >> email-alert to [email protected] >> >> In the maillog nothing comes in. I can send mail normally from the >> system. >> Also can connect and send with telnet from localhost on port 25. >> > > Hi Johan, > > You're right. Email alerts stopped working since the commit 2f3a56b4f > ("BUG/MINOR: tcp-check: use the server's service port as a fallback"). > > The server's port is used instead of the mailer's one. I will send a > patch to fix this issue. > > Thanks Thank you Christopher. I rechecked with 1.8.4 and then my e-mail alerts are working again.
Thanks for your time. regards Johan Hendriks

