1dspam_clean(1)                       DSPAM                      dspam_clean(1)
2
3
4

NAME

6       dspam_clean - perform periodic maintenance of metadata
7
8

SYNOPSIS

10       dspam_clean [--profile=PROFILE] [-s[signature_life]] [-p[probabil‐
11       ity_life]] [-u[sl,hcl,shl,ihl]] [user1 user2 ... userN]
12
13

DESCRIPTION

15       dspam_clean is used to perform periodic housecleaning on DSPAM's  meta‐
16       data dictionary by deleting old or useless data.
17
18       dspam_clean has no effect if you use the "hash" storage driver. In that
19       case, you should use the tools cssclean and csscompress (which  do  not
20       currently have manual pages).
21
22

OPTIONS

24        --profile=PROFILE
25              Specify  a  storage profile from dspam.conf. The storage profile
26              selected  will  be  used  for  all  database  connectivity.  See
27              dspam.conf for more information.
28
29
30       -s     Performs  stale  signature purging. If a value is specified, the
31              default value of 14 days will be overridden. Specifying  an  age
32              of 0 will delete all signatures from the user(s) processed.
33
34
35       -p     Deletes all tokens from the target user(s) database whose proba‐
36              bility is between 0.35 and 0.65 (fairly neutral, useless  data).
37              If  a  value  is  specified, the default life of 30 days will be
38              overridden. It's a good idea to use this flag once with  a  life
39              of  0 days for users after a significant amount of corpus train‐
40              ing.
41
42
43       -u     Deletes all unused tokens from a user's dataset. Four  different
44              life values are used:
45
46              sl  Stale  tokens  which have not been used for a long period of
47              time
48
49              hcl Tokens with a  total  hit  count  below  5  (which  will  be
50              assigned a hapaxial value by DSPAM)
51
52              shl Tokens witha single spam hit
53
54              ihl Tokens with a single innocent hit
55
56              Ages  may  be  overridden by specifying a format string, such as
57              -u30,15,10,10 where each number represents the respective  life.
58              Specifying  a  life of zero will delete all unused tokens in the
59              category.
60
61
62        user1 user2 ... userN
63              Specify the username(s)  to  perform  the  selected  maintenance
64              operations  on.  If no username is specified, all users are pro‐
65              cessed.
66
67

EXIT VALUE

69       0      Operation was successful.
70       other  Operation resulted in an error.
71
72
74       Copyright © 2002-2012 DSPAM Project
75       All rights reserved.
76
77       For more information, see http://dspam.sourceforge.net.
78
79

SEE ALSO

81       dspam(1),  dspam_admin(1),  dspam_crc(1),  dspam_dump(1),  dspam_logro‐
82       tate(1), dspam_merge(1), dspam_stats(1), dspam_train(1)
83
84
85
86DSPAM                            Apr 17, 2010                   dspam_clean(1)
Impressum