75 |
<LI><A HREF="#qpopper">Qpopper (pop3 server)</A></LI> |
<LI><A HREF="#qpopper">Qpopper (pop3 server)</A></LI> |
76 |
<LI><A HREF="#spamd">Spamassassin daemon (spam scan daemon)</A></LI> |
<LI><A HREF="#spamd">Spamassassin daemon (spam scan daemon)</A></LI> |
77 |
<LI><A HREF="#amavis">Amavis-new (mail virus scanner)</A></LI> |
<LI><A HREF="#amavis">Amavis-new (mail virus scanner)</A></LI> |
78 |
|
<LI><A HREF="#policyd">Policyd (Postfix access policy delegation daemon)</A></LI> |
79 |
</ul> |
</ul> |
80 |
</li> |
</li> |
81 |
<li> Virus Scanner |
<li> Virus Scanner |
543 |
alert foo@bar |
alert foo@bar |
544 |
</pre> |
</pre> |
545 |
|
|
546 |
|
<h3><a name="policyd">Policyd (Postfix policy delegation daemon)</a></h3> |
547 |
|
<pre> |
548 |
|
check process policyd with pidfile //amavis-new/var/run/amavisd.pid |
549 |
|
group mail |
550 |
|
start program = "/etc/init.d/policyd start" |
551 |
|
stop program = "/etc/init.d/policyd stop" |
552 |
|
if failed port 10031 protocol postfix-policy then restart |
553 |
|
if 5 restarts within 5 cycles then timeout |
554 |
|
alert foo@bar |
555 |
|
alert 123456@sms on { timeout } |
556 |
|
depends on policyd_bin |
557 |
|
depends on policyd_rc |
558 |
|
depends on cleanup_bin |
559 |
|
|
560 |
|
check file policyd_bin with path /usr/local/policyd/policyd |
561 |
|
group mail |
562 |
|
if failed checksum then unmonitor |
563 |
|
if failed permission 755 then unmonitor |
564 |
|
if failed uid root then unmonitor |
565 |
|
if failed gid root then unmonitor |
566 |
|
alert foo@bar |
567 |
|
|
568 |
|
check file policyd_rc with path /etc/init.d/policyd |
569 |
|
group mail |
570 |
|
if failed checksum then unmonitor |
571 |
|
if failed permission 755 then unmonitor |
572 |
|
if failed uid root then unmonitor |
573 |
|
if failed gid root then unmonitor |
574 |
|
alert foo@bar |
575 |
|
|
576 |
|
check file cleanup_bin with path /usr/local/policyd/cleanup |
577 |
|
group mail |
578 |
|
if failed checksum then unmonitor |
579 |
|
if failed permission 755 then unmonitor |
580 |
|
if failed uid root then unmonitor |
581 |
|
if failed gid root then unmonitor |
582 |
|
alert foo@bar |
583 |
|
|
584 |
|
</pre> |
585 |
|
|
586 |
|
<h2>Virus Scanner</h2> |
587 |
|
<h3><a name="sophie">Sophie (virus scan daemon)</a></h3> |
588 |
|
<pre> |
589 |
|
check process sophie with pidfile /var/run/sophie.pid |
590 |
|
group virus |
591 |
|
start program = "/etc/init.d/sophie start" |
592 |
|
stop program = "/etc/init.d/sophie stop" |
593 |
|
if failed unixsocket /var/run/sophie then restart |
594 |
|
if 5 restarts within 5 cycles then timeout |
595 |
<h2>Virus Scanner</h2> |
<h2>Virus Scanner</h2> |
596 |
<h3><a name="sophie">Sophie (virus scan daemon)</a></h3> |
<h3><a name="sophie">Sophie (virus scan daemon)</a></h3> |
597 |
<pre> |
<pre> |