<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=156364721-23032004>Sending -HUP does not work as the user 'mail' does not
have read perms to the pid file. Can the perms on this file be written
differently to at least give read perms?</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=156364721-23032004></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=156364721-23032004>No, I don't mind sending them to you. But let me
complete them and organize a little better. They are in crude form right
now.</SPAN></FONT></DIV><FONT face=Arial color=#0000ff size=2></FONT><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> MailScanner mailing list
[mailto:MAILSCANNER@JISCMAIL.AC.UK] <B>On Behalf Of </B>Alex
Neuman<BR><B>Sent:</B> Tuesday, March 23, 2004 3:30 PM<BR><B>To:</B>
MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Reloading MS service via
email?<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=574382921-23032004><FONT face=Arial color=#0000ff size=2>How
about sending -HUP to the MailScanner process? I'd love to get a copy of your
scripts, if you don't mind...</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B> MailScanner
mailing list [mailto:MAILSCANNER@JISCMAIL.AC.UK] <B>On Behalf Of </B>Max
Kipness<BR><B>Sent:</B> Tuesday, March 23, 2004 3:11 PM<BR><B>To:</B>
MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Reloading MS service via
email?<BR><BR></FONT></DIV>
<DIV><SPAN class=453380720-23032004><FONT face=Arial size=2>I've got my
scripts pretty much ironed out so that a user can simply forward a spam
message to an email address, have the spam email added to the blacklist and
then sent a confirmation. What I'd like to also do is have the script reload
the MailScanner service. Since this is being done via the user 'mail', can
anyone give me some tips on the best way to accomplish this. So far I'm
thinking of using SUDO to allow 'mail' to run 'kill' and
/etc/init.d/MailScanner? Is there a better and/or more secure
way?</FONT></SPAN></DIV>
<DIV><SPAN class=453380720-23032004><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=453380720-23032004><FONT face=Arial
size=2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=453380720-23032004><FONT face=Arial
size=2>Max</FONT></SPAN></DIV></BLOCKQUOTE></BODY></HTML>