monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: correct STARTTLS syntax for email alerts?


From: address@hidden
Subject: Re: correct STARTTLS syntax for email alerts?
Date: Mon, 30 Jul 2018 19:50:06 +0200

The configuration looks fine, please can you send Monit log?

Best regards,
Martin


> On 30 Jul 2018, at 01:16, David Newman <address@hidden> wrote:
> 
> FreeBSD 11.2, monit-5.25.2 compiled from ports with SSL/TLS support
> 
> What's the correct syntax for monit to use STARTTLS when sending email
> alerts?
> 
> Currently monit logs this error:
> 
> [PDT Jul 29 16:05:21] error    : Mail: Mailserver response error -- 530
> 5.7.0 Must issue a STARTTLS command first
> 
> Using this configuration in /usr/local/etc/monitrc:
> 
> set ssl options {
>        version: auto
>        verify: enable
>        pemfile: /etc/ssl/certs/mail.example.com/everything.pem
> }
> 
> set mailserver mail.example.com
>       port 587
>        username "address@hidden"
>       password="wouldnt-you-like-to-know"
>        using ssl
> 
> check process mailman with pidfile
> /usr/local/mailman/data/master-qrunner.pid
>        group mailman
>        start program = "/usr/local/etc/rc.d/mailman start"
>        stop program = "/usr/local/etc/rc.d/mailman stop"
>        if 1 restarts within 1 cycles then alert
> 
> Thanks!
> 
> dn
> 
> 
> -- 
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

[Prev in Thread] Current Thread [Next in Thread]