Hi Sylvain and Tommy,
Le 30/11/2015 10:34, Sylvain Faivre a écrit :
On 11/01/2015 06:34 PM, Tommy Atkinson wrote:
I want to enable email alerts for all my backends so I added the
"email-alert" options to the defaults section and a mailers section at
the top level. The documentation indicates this is supported but it
doesn't seem to work. HAProxy connects to the mail server but doesn't
actually send anything. Copy/pasting the options to a backend works.
1.6.1 on Linux
Hi,
This seems to be a bug, I had the same problem.
Copying & pasting the "email-alert" settings in all the backend sections
did the trick.
When email-alert options are set only in the defaults section, just like
Tommy said, HAproxy connects to the mail server but doesn't send anything.
Confirmed, a patch is almost ready. I'll send some patches shortly which
will fix several issues in the email alert area.
--
Cyril Bonté