newby 23 wrote:
I use a domain managed by HOSTROUTE, which has installed spamassassin as a
mail filter.  My filespace is limited to 10MB,

O_o  That sounds awfully low, even for cheap-to-free hosting.

According to http://www.hostroute.co.uk/hostingplans.html, the smallest plan is 20M; you might want to contact them and see why you apparently only have 10M.

of which some 7.7MB are
currently devoted to spamassassin.  Thus, I need to prune this quickly to
maintain service.

As I do not maintain the system, I cannot manage spamassassin in the usual
ways.  Instead, I think that I am limited to deleting files and altering the
user_prefs file.

Hmm. Do you have shell access? It's not necessary, but it'll make things easier if you do.

The following files are present in my .spamassassin directory:

auto-whitelist, bayes_journal, bayes_seen, bayes_toks, users_prefs

How big are each of those files?

You'll probably want to disable the AWL and delete auto-whitelist; it tends to grow without bound and while *I've* never had functional trouble from it, quite a few others on this list have reported problems of one kind or another aside from the disk usage. (I wrote a script a long time ago to actually clean out old entries, and trim the file size - google for trim_whitelist. Note that you pretty much REQUIRE shell access to use this.)

You'll probably also want to fiddle with the Bayes directive that controls how large the Bayes data files get; while it works on number of tokens rather than disk size it can be give a rough estimate of disk use. The default bayes_expiry_max_db_size of 150,000 tokens may be too large, but it looks like you can't make it much smaller.

Running "man Mail::SpamAssassin::Conf" from a shell on your webhost should give you details on configuration directives, but I'm pretty sure the same listing is available on the SA site somewhere under the Docs link.

Over the longer term, you can delete bayes_journal and bayes_seen; those are not critical to proper operation of the Bayes subsystem. However, if you remove bayes_seen, you'll end up re-learning messages over and over again if regularly re-learn a folder that you don't empty.

-kgd

Reply via email to