<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>Message</TITLE>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=500053821-23032004><FONT face=Arial color=#0000ff size=2>I just
lowered my MailScanner restarts to an hour and took users it can take an hour or
two to take effect.</FONT></SPAN></DIV>
<DIV><SPAN class=500053821-23032004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=500053821-23032004><FONT face=Arial color=#0000ff size=2>See
Restart Every in config file.</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader 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>Alex
  Neuman<BR><B>Sent:</B> Tuesday, March 23, 2004 4:35 PM<BR><B>To:</B>
  MAILSCANNER@JISCMAIL.AC.UK<BR><B>Subject:</B> Re: Reloading MS service via
  email?<BR><BR></FONT></DIV>
  <DIV><SPAN class=591043021-23032004><FONT face=Arial color=#0000ff size=2>You
  could always set up a cronjob to killall -HUP MailScanner every other hour,
  for example. Settings would be reloaded, wouldn't they?</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>&nbsp;</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></BLOCKQUOTE></BODY></HTML>