True64 Unix changes to check_mailscanner

Gillis, Mark Mark.Gillis at HTCINC.NET
Wed Aug 7 16:25:05 IST 2002


This is highly intereting to me, as we are a Tru64 shop also.  Running
mailscanner on an Alpha 1000/500 with Tru64 5.1a.

I have not experienced the problem you describe (!)...  ps lives in both
/sbin and /usr/bin, and seems to give the same feedback...
check_mailscanner is one thing I have not had a problem with.

I have found the .solaris scripts to be usually close enough...  usually..


-----Original Message-----
From: Joshua Baron [mailto:baron at ITECH.NET]
Sent: Wednesday, August 07, 2002 11:07 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: True64 Unix changes to check_mailscanner


First of all I wanted to say how satisfied I am with the mailscanner
product. This product has many robust features and is working very well in
our environment now that we have gotten a few of our bugs worked out.

With the help of information from searching this list we just corrected
our latest and hopefully last bug with mailscanner in the Tru64 unix
enviroment. The parse errors that seem to have plagued some of the
mailscanner
users where causing us major issues with our customers mail. After reading
through the list we had found that the check_mailscanner was kicking off
multiple
instances of mailscanner.

After some modification to the check_mailscanner script True64 is now
happy as can be. The syntax of the ps command on true64 was a bit diffrent
then the examples included in the file. If the developers read over this
maybe they will include this within thier check_mailscanner file, for the
True64 users of thier product. As we make modifications for our
environment i may post other changes we make.

check_mailscanner modifications for true64 unix:
#
process=mailscanner
virusdir=/usr/local/mailscanner/bin
config=/usr/local/mailscanner/etc/mailscanner.conf
# Version for Compaq True64 Unix systems:
pid=`/usr/bin/ps ax |
/usr/bin/grep mailscanner |
/usr/bin/grep -v grep |
/usr/bin/grep -v check_mailscanner |
/usr/bin/sed -e 's/^  *//' -e 's/ .*//'`
if [ "$pid" = "" ]; then
  # Restart it
  PATH=${virusdir}:$PATH
  echo Starting virus scanner...
  $process $config
else
  echo Running with pid $pid
fi
#

This list has been invaluable In getting this product up and running.
Thanks for the help

-Joshua Baron


HTC Disclaimer:  The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited.  If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.  Thank you.



More information about the MailScanner mailing list