You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tobias Eichner <to...@yahoo.de> on 2008/07/05 12:13:18 UTC
Bayes database clearance
I'm using the script at http://svn.apache.org/repos/asf/spamassassin/branches/3.2/tools/check_whitelist to clear my AWL file regularly. While it seems to work fine, the database file's size does not shrink however.
Somewhere on the Web I read about someone that has fixed the script, but was not able to find the fixed version of this script.
So I wonder if someone got it and can provide the fixed version ?
Tobias.
__________________________________________________________
Gesendet von Yahoo! Mail.
Dem pfiffigeren Posteingang.
http://de.overview.mail.yahoo.com
AWL size reduction (was Re: Bayes database clearance)
Posted by Kris Deugau <kd...@vianet.ca>.
(Subject changed to match the OP's question, which wasn't actually about
Bayes.)
Jared Hall wrote:
> Try: http://www.deepnet.cx/~kdeugau/spamtools/trim_whitelist
> and customize the script as per your installation. Hope that
> helps.
FWIW I'm now running this nightly on a pair of systems with a global
AWL, in order to keep it from ballooning to hundreds of megabytes and
bogging down mail processing.
Six years or so after gutting the check_whitelist script from SA ~2.5x
(IIRC) to create trim_whitelist to actually reduce the AWL file size, my
hack is still working. <g>
On another (much larger) system, I've recently activated a global AWL in
MySQL instead, so adding a column to indicate the time the entry was
added allows me to more easily expire entries. Searching back through
the list archives for a subject of "Reduce Bayes DB" should turn up the
suggestions I used as reference.
-kgd
Re: Bayes database clearance
Posted by Jared Hall <jh...@tbi.net>.
Try: http://www.deepnet.cx/~kdeugau/spamtools/trim_whitelist
and customize the script as per your installation. Hope that
helps.
Jared Hall
General Telecom, LLC.
Tobias Eichner wrote:
> I'm using the script at http://svn.apache.org/repos/asf/spamassassin/branches/3.2/tools/check_whitelist to clear my AWL file regularly. While it seems to work fine, the database file's size does not shrink however.
>
> Somewhere on the Web I read about someone that has fixed the script, but was not able to find the fixed version of this script.
>
> So I wonder if someone got it and can provide the fixed version ?
>
> Tobias.
>
>
> __________________________________________________________
> Gesendet von Yahoo! Mail.
> Dem pfiffigeren Posteingang.
> http://de.overview.mail.yahoo.com
>
>
>