On Wed, Jul 15, 2015 at 9:48 AM, mlist <ml...@apsystems.it> wrote:
> 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
>

Hi Roberto,

Could you please take a tcpdump on port 10025 and confirm HAProxy
tries to get connected to the SMTP server?

Baptiste

Reply via email to