Quantcast
Channel: Serverphorums.com - HAProxy
Viewing all articles
Browse latest Browse all 5112

Mailer does not work (4 replies)

$
0
0
We compiled from source haproxy-1.6-dev2.tar.gz. New Mailers mechanism does not seems to work, we configured as on manual:

mailers apsmailer1
mailer smtp1 <mailserver ip>:10025

....
....

backend somebackend_https
mode http
balance roundrobin
...
email-alert mailers apsmailer1
email-alert from <from mail>
email-alert to <to mail>
email-alert level info
...

We see in haproxy.log server status change:
Jul 15 09:42:00 localhost.localdomain haproxy[3342]: Server .../<server1> is UP, reason: Layer4 check passed, check duration: 0ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.
Jul 15 09:42:00 localhost.localdomain haproxy[3342]: Server .../<server1> is UP, reason: Layer6 check passed, check duration: 1ms. 2 active and 0 backup servers online. 0 sessions requeued, 0 total in queue.

But no mail alerts are sent, no error or warning logged about sending mail.

haproxy -f /etc/haproxy/haproxy.cfg -c
does not return any error. All seems to be right, but mail alerts are not sent.


Roberto

Viewing all articles
Browse latest Browse all 5112

Trending Articles