You can always just stop mailscanner, delete the cache and restart mailscanner, it is just a cache after all.<br><br clear="all"><br>-- <br>Martin Hepworth<br>Oxford, UK<br><br><div class="gmail_quote">2009/9/1 Mauricio Tavares <span dir="ltr">&lt;<a href="mailto:raubvogel@gmail.com">raubvogel@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">Randal, Phil wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
The old score was being cached in MailScanner&#39;s spamassassin results<br>
cache.<br>
<br>
</blockquote></div>
        Aha. Is there a way to flush it, so it is forced to read the new values in?<div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Cheers,<br>
<br>
Phil <br>
<br>
--<br>
Phil Randal | Networks Engineer<br>
NHS Herefordshire &amp; Herefordshire Council  | Deputy Chief Executive&#39;s<br>
Office | I.C.T. Services Division<br>
Thorn Office Centre, Rotherwas, Hereford, HR2 6JT<br>
Tel: 01432 260160<br>
email: <a href="mailto:prandal@herefordshire.gov.uk" target="_blank">prandal@herefordshire.gov.uk</a><br>
<br>
Any opinion expressed in this e-mail or any attached files are those of<br>
the individual and not necessarily those of Herefordshire Council.<br>
<br>
This e-mail and any attached files are confidential and intended solely<br>
for the use of the addressee. This communication may contain material<br>
protected by law from being passed on. If you are not the intended<br>
recipient and have received this e-mail in error, you are advised that<br>
any use, dissemination, forwarding, printing or copying of this e-mail<br>
is strictly prohibited. If you have received this e-mail in error please<br>
contact the sender immediately and destroy all copies of it.<br>
<br>
-----Original Message-----<br>
From: <a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a><br>
[mailto:<a href="mailto:mailscanner-bounces@lists.mailscanner.info" target="_blank">mailscanner-bounces@lists.mailscanner.info</a>] On Behalf Of<br>
Mauricio Tavares<br>
Sent: 01 September 2009 14:18<br>
To: MailScanner discussion<br>
Subject: Fun with my own spamassassin filter: slow reacting?<br>
<br>
<br>
        Trying to write a filter that would look for a header beginning<br>
with a specific text and give me a score based on that. So, after<br>
reading <a href="http://wiki.apache.org/spamassassin/WritingRules" target="_blank">http://wiki.apache.org/spamassassin/WritingRules</a> I edit<br>
spam.assassin.prefs.conf and add the following:<br>
<br>
header LOCAL_TEST Test-Header =~ /Strange Pork/ score LOCAL_TEST  -1.000<br>
<br>
then reload MailScanner and send a test email with that header. I check<br>
the header and it seems to have found the header and graded it as it<br>
should:<br>
<br>
not spam, SpamAssassin (cached, score=1.694,    required 4.7,<br>
BASE64_LENGTH_79_INF 1.50, BAYES_05 -1.11,      FH_HELO_ENDS_DOT 2.31,<br>
LOCAL_TEST -1.00)<br>
<br>
So, just for the fun of it, I decrease the score to -3, reload<br>
MailScanner, and send the test email. I am still getting -1 as the score<br>
for LOCAL_TEST. I try restarting it and get the same results.<br>
<br>
Today, I try it again, not having touched the mail server since that<br>
last attempt. Now it properly reports the new score for LOCAL_TEST:<br>
<br>
not spam, SpamAssassin (not cached, score=-0.306,       required 4.7,<br>
BASE64_LENGTH_79_INF 1.50, BAYES_05 -1.11,      FH_HELO_ENDS_DOT 2.31,<br>
LOCAL_TEST -3.00)<br>
<br>
Is it me who missed some step here or it is just slow to update itself?<br>
<br>
--<br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! <br>
</blockquote>
<br>
-- <br>
MailScanner mailing list<br>
<a href="mailto:mailscanner@lists.mailscanner.info" target="_blank">mailscanner@lists.mailscanner.info</a><br>
<a href="http://lists.mailscanner.info/mailman/listinfo/mailscanner" target="_blank">http://lists.mailscanner.info/mailman/listinfo/mailscanner</a><br>
<br>
Before posting, read <a href="http://wiki.mailscanner.info/posting" target="_blank">http://wiki.mailscanner.info/posting</a><br>
<br>
Support MailScanner development - buy the book off the website! <br>
</div></div></blockquote></div><br><br>