[Top][All Lists]

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

correct STARTTLS syntax for email alerts?

From: David Newman
Subject: correct STARTTLS syntax for email alerts?
Date: Sun, 29 Jul 2018 16:16:32 -0700
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

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

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/

set mailserver
        port 587
        username "address@hidden"
        using ssl

check process mailman with pidfile
        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



reply via email to

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