- edited description
Monit alert not working using smtp
Hello Team,
I have configured SMTP in monitrc.
Below is my configuration
set mailserver mail.callsoft.be port 465
username "softswich@domain.be" password "fdlld123#"
using TLSV1 with timeout 30 seconds
Getting below error on monit.log
[UTC Mar 27 11:40:46] error : Sendmail: Error receiving data from the mailserver 'mail.domain.be' -- Resource temporarily unavailable
[UTC Mar 27 11:40:46] error : Sendmail: Error receiving data from the mailserver 'mail.domain.be' -- Resource temporarily unavailable
# monit -V
This is Monit version 5.9
Comments (6)
-
repo owner -
repo owner Hello,
the error seems to be because of timeout. Please try to upgrade monit ... i'm not able to reproduce the error with the current version (getting authentication error => connection works), excerpt from debug mode (-v option):
Trying to send mail via mail.callsoft.be:465 Mail: Mailserver response error -- 535 5.7.8 Error: authentication failed: authentication failure
-
Hello,
I have installed monit on debian 8 (jessie) using apt-get install monit and its installed monit version 5.9
monit -V
This is Monit version 5.9 Copyright (C) 2001-2014 Tildeslash Ltd. All Rights Reserved.
Can you please tell me which version you want me to install on server ?
-
repo owner Hello,
we're sorry we don't provide packages for linux distributions, you can get pre-build binaries (tar.gz archive which runs on all distributions) or compile monit from source code: https://mmonit.com/monit/#download
We recommend monit 5.25.1
-
Ketan, I am just a monit user.
On our servers I monit smtp in this way, using a little python script:
#! check program sendmail with path "/usr/local/bin/sendmail.py --server smtp.xyz.local --to-addr=massimo.sala@xyz.it --subject test --dry-run" every "* 07-23 * * *" if status != 0 then alert
If you want to try, I can send you the python script in source code. It is small, easy to read and understand.
Write to massimo.sala.71 at gmail.com
Note: I am not offering consulting, but only a little help between we users (and to alleviate the monit support team).
-
repo owner - changed status to closed
- Log in to comment