- P: and O: sendmail-devel in libmilter-devel subpackage
[packages/sendmail.git] / sendmail.monitrc
CommitLineData
2dc6091b
PG
1check process sendmail with pidfile /var/run/sendmail.pid
2 group mail
3 start program = "/etc/init.d/sendmail start"
4 stop program = "/etc/init.d/sendmail stop"
5 if failed port 25 protocol smtp then restart
6 if 5 restarts within 5 cycles then timeout
7# alert foo@bar
8# alert 123456@sms on { timeout }
9 depends on sendmail_bin
10 depends on sendmail_rc
11
12check file sendmail_bin with path /usr/lib/sendmail
13 group mail
14 if failed checksum then unmonitor
15 if failed permission 2755 then unmonitor
16 if failed uid root then unmonitor
17 if failed gid smmsp then unmonitor
18# alert foo@bar
19
20check file sendmail_rc with path /etc/init.d/sendmail
21 group mail
22 if failed checksum then unmonitor
23 if failed permission 754 then unmonitor
24 if failed uid root then unmonitor
25 if failed gid root then unmonitor
26# alert foo@bar
27
28
This page took 0.053243 seconds and 4 git commands to generate.