Port 25 check cause of "Unable to open a socket to Sendmail" error?

Jamie Burchell <[email protected]>
Newsgroups gmane.comp.monitoring.monit.general
Message-ID <[email protected]>
Hi



Since configuring a check for Sendmail I’ve started seeing an error from
our CodeIgniter PHP application for the first time:



Exit status code: 75
Unable to open a socket to Sendmail

The check is:



check process sendmail with pidfile /var/spool/postfix/pid/master.pid

start program = "/bin/systemctl postfix start"

stop program = "/bin/systemctl postfix stop"

restart program = "/bin/systemctl postfix restart"

if failed port 25 protocol smtp then restart

if 3 restarts within 5 cycles then unmonitor



I’m assuming then, that the port is unavailable to other services that need
it if Monit is checking it?



TIA

Jamie

-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.