"mailscanner reload" for Solaris?

Aaron K. Moore amoore at DEKALBMEMORIAL.COM
Fri Aug 12 17:18:34 IST 2005


Here's the init script I use on our redhat boxes.  It also includes some
code to keep MailScanner-MRTG from trying to restart MailScanner when
you've shut MailScanner down.

-- 
Aaron Kent Moore
Information Technology Services
DeKalb Memorial Hospital, Inc.
Auburn, IN

Jeff A. Earickson wrote:
> Gang,
> 
> FWIW, I have revised and improved my Solaris /etc/init.d script
> for MailScanner based on suggestions from Julian and others.
> See attached.  It does "start", "reload", and "stop".  It either
> uses var/MailScanner.pid if there, or pkill on the oldest MailScanner
> process otherwise.  I noticed in testing this that MS complains
> to syslog if the pid file goes missing:
> 
> Could not read file /opt/MailScanner/var/MailScanner.pid
> Error in line 165, file "/opt/MailScanner/var/MailScanner.pid" for
> pidfile does not exist (or can not be read)
> 
> Jeff Earickson
> Colby College
> 
> ------------------------ MailScanner list ------------------------
> To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
> 'leave mailscanner' in the body of the email.
> Before posting, read the Wiki (http://wiki.mailscanner.info/) and
> the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).
> 
> Support MailScanner development - buy the book off the website!

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

    [ Part 2, "MailScanner"  Application/OCTET-STREAM (Name: ]
    [ "MailScanner")  2.6KB. ]
    [ Unable to print this part. ]




More information about the MailScanner mailing list