[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
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
- correct STARTTLS syntax for email alerts?,
David Newman <=