mailscanner / cobalt raq3 or 4

Rob Moore rob.moore at POWERDISK.CO.UK
Fri Jul 19 10:51:16 IST 2002


Hi

I installed the current 3.21-2 mailscanner on a sun cobalt raq4 and
have a few questions. It is all working to spec and catching those
damm virii but...

I see the current installation script in the rpm removes sendmail
from the chkconfig list and replaces with mailscanner. That's neat and
I suspect will stop an awful lot of headaches :)



My questions are:-

1. On the cobalt raq's there's a process monitor called swatch that
watches relevant services and if they are down tries to automatically
restart them.
Hidden away in /etc/cobalt/swatch/services/smtp is the line
"restart = /etc/rc.d/init.d/sendmail hard-restart"
so if the system monitor detects sendmail down it will execute the line
above.

To stop the system monitor freaking I renamed /etc/rc.d/init.d/mailscanner
to sendmail, and moved the old sendmail file out of the way. For the sake of
completeness I also altered the line above to just "restart". I also
double-checked the chkconfig entry for sendmail to make sure it was right.



2. As I say mailscanner performs fine when it starts but when I stop it, I
get
an error, and have to manually kill the mailscanner process:-

  [root at raq4 root]# /etc/rc.d/init.d/sendmail stop
  Shutting down MailScanner daemons:
              MailScanner:       ERROR!
              incoming sendmail: sendmail ok
              outgoing sendmail: sendmail ok

  [root at raq4 root]# ps -ax | grep mailscanner
  24834 ?        S      0:01 /usr/bin/perl
/usr/local/MailScanner/bin/mailscanner

Could anyone shed any light on what could be happening?

My first note above is really cobalt-specific as the system monitor expects
to execute /etc/rc.d/init.d/sendmail and nothing else.
The second one, well, dunno.

Thanks in advance


Rob



More information about the MailScanner mailing list