Hi Rajesh,

the community version supports mailers. Here is a working section from
my configuration:

mailers mymailserver
    mailer smtp1 10.1.0.251:25

frontend frontend_CHANGEME

    bind *:443 ssl crt /opt/etc/haproxy/haproxy-t.pem force-tlsv12 no-sslv3

#################################################################
# backend configuration        
#################################################################

backend booking-backend
    compression algo gzip
    compression type text/html text/plain text/css
    server server1-t server1-t:8443 check ssl verify none maxconn 4000

backend vakanz-backend
    compression algo gzip
    compression type text/html text/plain text/css application/xml
    server server2-t server2-t:8080 check verify none force-tlsv12 backup
    server server3-t server3-t:8443 check ssl verify none no-sslv3

    email-alert mailers mymailserver
    email-alert from haprox...@mydomain.com
    email-alert to myn...@mydomain.com

I hope it helps

Regards,
Daniel

Am 24.08.17 um 14:35 schrieb Rajesh Kolli:
> Hello,
>
> I am new to HAProxy, present i am using community version of haproxy,
> and i am trying to configure alerting in my configuration, after i
> configure "mailers" section and after restart of service it is
> throwing "unknown keyword mailers" in frontend.
>
> Now, my doubt is... will HAProxy community supports mailers/alerting?
>
> Thanks in advance if you suggest something on this.
>
> Thanks and Regards
>
> Rajesh Kolli
>
>

Reply via email to