bug in Spear-Phishing script?

David Lee t.d.lee at durham.ac.uk
Tue Mar 3 10:55:34 GMT 2009


On Fri, 27 Feb 2009, Steve Freegard wrote:

> Julian Field wrote:
>> Does a "reload" cause a re-compile of all the SpamAssassin rules?
>
> Yeah it does; on reload the children are restarted by the parent and
> therefore MailScanner::SA::initialise() is run by each child before it
> starts waiting for messages.

Thanks, Steve.

In that case, could I recommend a switch from:
    service MailScanner restart
to:
    service MailScanner reload

so that (as mentioned before) the outbound sendmail/etc. queue runner 
continues running?  Its hourly restart caused us problems of email not 
being reached.

We also had a second problem creep up behind us:  we started getting 
disk-filling, which turned out to be ".spamassassin/bayes_toks.expireNNNN" 
files.  (The last time we saw such problems was years ago...)  I suspect 
there can be some sort of interference between the periodic rebuild of 
bayes and this new hourly restart only getting part way through.  Or 
something like that.

Since I switched from "...restart" to "...reload", both these new problems 
(i.e. new with the spear-phishing script) have gone away.


Oh!  And might it be possible to distribute the script with MS itself? 
Perhaps abstract some of the config stuff (including a new enable/disable 
function) into a config file, so that the script is installed straight 
into "/etc/cron.hourly" (RPM distribution, at least).

Julian: many, many thanks again for a great, and versatile, MS product.

-- 

:  David Lee                                I.T. Service          :
:  Senior Systems Programmer                Computer Centre       :
:  UNIX Team Leader                         Durham University     :
:                                           South Road            :
:  http://www.dur.ac.uk/t.d.lee/            Durham DH1 3LE        :
:  Phone: +44 191 334 2752                  U.K.                  :


More information about the MailScanner mailing list