########################################################################### ## Copyright (C) Wizardry and Steamworks 2017 - License: GNU GPLv3 ## ########################################################################### check process exim with pidfile /var/run/exim4/exim.pid group Debian-exim depends on exim_bin depends on exim_rc start program = "/etc/init.d/exim4 start" stop program = "/etc/init.d/exim4 stop" if failed port 25 protocol smtp then restart # if 5 restarts within 5 cycles then timeout check file exim_bin with path /usr/sbin/exim group root if failed checksum then alert if failed permission 4755 then alert if failed uid root then alert if failed gid root then alert check file exim_rc with path /etc/init.d/exim4 group root if failed checksum then alert if failed permission 755 then alert if failed uid root then alert if failed gid root then alert