Hi Ralf,

Thanks for your quick reply.

Ralf Hildebrandt wrote:

1.) How much of a performance impact would it have to have a Bayes_seen that is this large?

Dunno, I use this:
-rw------- 1 amavis amavis 1,3G 2006-07-03 11:26 bayes_seen

I'm certainly having performance problems, so I'm going to try to wipe my Bayes_seen.

2.) What is the safest way of trimming it down? Can I simply stop SpamAssassin (called by Mimedefang in our case) and remove it,
Yes.
or do I need to recreate it in some way?
No.

Ok, I'll do that tonight.

It would perhaps be usefull if the Bayes seen database also had timestamps, so this kind of purging could be done automatically and properly.

It has:
/usr/bin/sa-learn --sync --force-expire

That, as far as I can tell, only does an expire on the Bayes_tokens. The Bayes_seen does not contain any timestamps and therefore can only keep growing for ever - there is no way to tell if a msgid is new or old.
Afaik, this is an inherent limitation in the current Bayes setup.
I've just done the command you suggested and it certainly didn't shrink my Bayes_seen database.

Regards, Paul Boven.




Reply via email to