monit-general
[Top][All Lists]
Advanced

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

Exim config example


From: Ian P. Christian
Subject: Exim config example
Date: Thu, 21 Jun 2007 18:33:55 +0100

Useful for archives, perhaps might be worth adding to example page?

It's pretty much the same as sendmail example, permissions on exim
binary differ, and paths obviously differ.

check process exim with pidfile /var/run/exim.pid
 group mail
 start program = "/etc/init.d/exim start"
 stop  program = "/etc/init.d/exim stop"
 if failed port 25 protocol smtp then restart
 if 5 restarts within 5 cycles then timeout
 depends on exim_bin
 depends on exim_rc

check file exim_bin with path /usr/sbin/exim
 group mail
 if failed checksum then unmonitor
 if failed permission 4755 then unmonitor
 if failed uid root then unmonitor
 if failed gid root then unmonitor

check file exim_rc with path /etc/init.d/exim
 group mail
 if failed checksum then unmonitor
 if failed permission 755 then unmonitor
 if failed uid root then unmonitor
 if failed gid root then unmonitor




reply via email to

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