source: npl/mailserver/dspam/dspam-3.10.2/doc/cssclean.txt @ c5c522c

gcc484ntopperl-5.22
Last change on this file since c5c522c was c5c522c, checked in by Edwin Eefting <edwin@datux.nl>, 8 years ago

initial commit, transferred from cleaned syn3 svn tree

  • Property mode set to 100644
File size: 1.4 KB
Line 
1$Id: cssclean.txt,v 1.01 2011/07/11 23:46:05 sbajic Exp $
2
3HASH_DRV NIGHTLY MAINTENANCE
4
5The tool for nightly maintenance - dspam_clean - does not work with hash_drv,
6it does not do any cleaning.
7
8You have to clean it by yourself. There are the two steps to do:
9
10- first, you should remove old signature files. These files are located
11in user.sig directory and have extension .sig. They are needed only
12for dspam retraining, so you can remove them if they are older than two weeks.
13- second, you should purge databases. They are located in user.css
14files and contain a set of tokens with counters: SPAM and NONSPAM, which count
15how many times the token appeared in spams and innocent mails.
16
17There is a special tool for cleaning it - cssclean:
18
19cssclean [file.css] {heavy}
20
21Cssclean implements its own counter for each token. It increments every
22cleaning - so if you run cssclean every night, it works like timestamp.
23If DSPAM uses a token, it resets this counter. So cssclean knows which tokens
24were not used for counted time.
25
26Cssclean removes tokens, which are:
27- not used for 15 cleans and ( NONSPAM + SPAM <= 1 ), or
28- not used for 15 cleans and NONSPAM is equal or almost equal SPAM, or
29- not used for 60 cleans and ( NONSPAM*2 + SPAM < 5 ), or
30- not used for 120 cleans.
31
32With special options - heavy - cssclean is more strict and removes
33tokens for which:
34- NONSPAM + SPAM <= 1
35- NONSPAM is equal or almost equal SPAM
Note: See TracBrowser for help on using the repository browser.