The bayes_Seen stuff never expires - it just grows, forever.

You can safely delete it unless you frequently need to "forget" entries
(which hardly anybody does)

no need to restart MailScanner - just delete bayes_seen.* and watch it come back & grow...

On 09/04/2014 10:05 PM, Kevin Miller wrote:
My bayes_see.pag file seems awfully large to me.  Is this normal?  I
run a nightly expiry via cron.  Here's the directory listing and
output from sa-learn

mx2:/etc/MailScanner/bayes # l total 3956304 drwxrws--- 2 root www
4096 Sep  4 09:59 ./ drwxr-xr-x 7 root root       4096 Sep  3 13:07
../ -rw-rw---- 1 root www        7476 Sep  4 11:47 bayes.mutex
-rw-rw---- 1 root www       80040 Sep  4 11:48 bayes_journal
-rw-rw---- 1 root www      479232 Sep  4 09:59 bayes_seen.dir
-rw-rw---- 1 root www  4042403840 Sep  4 11:47 bayes_seen.pag
-rw-rw---- 1 root www        4096 Sep  4 11:47 bayes_toks.dir
-rw-rw---- 1 root www     8315904 Sep  4 11:47 bayes_toks.pag
mx2:/etc/MailScanner/bayes #

mx2:/etc/MailScanner/bayes # sa-learn --dump magic 0.000          0
3          0  non-token data: bayes db version 0.000          0
6388662          0  non-token data: nspam 0.000          0    3325293
0  non-token data: nham 0.000          0     191350          0
non-token data: ntokens 0.000          0 1408533988          0
non-token data: oldest atime 0.000          0 1409859947          0
non-token data: newest atime 0.000          0 1409853569          0
non-token data: last journal sync atime 0.000          0 1409827762
0  non-token data: last expiry atime 0.000          0          0
0  non-token data: last expire atime delta 0.000          0
0          0  non-token data: last expire reduction count

...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept.
155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242,
Fax: (907) 586-4500 Registered Linux User No: 307357


  • Bayes Kevin Miller
    • Re: Bayes Axb

Reply via email to