source: npl/mailserver/dspam/dspam-3.10.2/man/dspam_clean.1 @ 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: 2.8 KB
Line 
1.\" $Id: dspam_clean.1,v 1.12 2011/11/16 00:14:11 sbajic Exp $
2.\"  -*- nroff -*-
3.\"
4.\" dspam_clean3.9
5.\"
6.\" Authors:    Jonathan A. Zdziarski <jonathan@nuclearelephant.com>
7.\"             Stevan Bajic <stevan@bajic.ch>
8.\"
9.\" Copyright (C) 2002-2012 DSPAM Project
10.\" All rights reserved
11.\"
12.TH dspam_clean 1  "Apr 17, 2010" "DSPAM" "DSPAM"
13
14.SH NAME
15dspam_clean \- perform periodic maintenance of metadata
16
17.SH SYNOPSIS
18.na
19.B dspam_clean
20[\c
21.B \--profile\c
22=PROFILE\c
23]
24[\c
25.I \-s[signature_life]\fR\c
26]
27[\c
28.I \-p[probability_life]\fR\c
29]
30[\c
31.I \-u[sl,hcl,shl,ihl]\fR\c
32]
33[\c
34.I user1 user2 ... userN\fR\c
35]
36
37.ad
38.SH DESCRIPTION
39.LP
40.B dspam_clean
41is used to perform periodic housecleaning on DSPAM's metadata dictionary by
42deleting old or useless data.
43
44.B dspam_clean
45has no effect if you use the "hash" storage driver. In that case, you should use
46the tools
47.B cssclean
48and
49.B csscompress
50(which do not currently have manual pages).
51
52.SH OPTIONS
53.LP
54
55.ne 3
56.TP
57.BI \ \--profile= \PROFILE\c
58Specify a storage profile from dspam.conf. The storage profile selected will be used
59for all database connectivity. See dspam.conf for more information.
60
61.ne 3
62.TP
63.BI \-s\fR\c
64Performs stale signature purging. If a value is specified, the default value of
6514 days will be overridden. Specifying an age of 0 will delete all signatures
66from the user(s) processed.
67
68.ne 3
69.TP
70.BI \-p\fR\c
71Deletes all tokens from the target user(s) database whose probability is
72between 0.35 and 0.65 (fairly neutral, useless data). If a value is
73specified, the default life of 30 days will be overridden. It's a good idea
74to use this flag once with a life of 0 days for users after a significant amount
75of corpus training.
76
77.ne 3
78.TP
79.BI \-u\fR\c
80Deletes all unused tokens from a user's dataset. Four different life values
81are used:
82
83.B sl
84Stale tokens which have not been used for a long period of time
85
86.B hcl
87Tokens with a total hit count below 5 (which will be assigned a hapaxial value
88by DSPAM)
89
90.B shl
91Tokens witha single spam hit
92
93.B ihl
94Tokens with a single innocent hit
95
96Ages may be overridden by specifying a format string, such as \-u30,15,10,10
97where each number represents the respective life. Specifying a life of zero
98will delete all unused tokens in the category.
99
100.ne 3
101.TP
102.BI \ user1\ user2\ ...\ userN\fR\c
103Specify the username(s) to perform the selected maintenance operations on. If
104no username is specified, all users are processed.
105
106.SH EXIT VALUE
107.LP
108.ne 3
109.PD 0
110.TP
111.B 0
112Operation was successful.
113.ne 3
114.TP
115.B other
116Operation resulted in an error.
117.PD
118
119.SH COPYRIGHT
120Copyright \(co 2002\-2012 DSPAM Project
121.br
122All rights reserved.
123.br
124
125For more information, see http://dspam.sourceforge.net.
126
127.SH SEE ALSO
128.BR dspam (1),
129.BR dspam_admin (1),
130.BR dspam_crc (1),
131.BR dspam_dump (1),
132.BR dspam_logrotate (1),
133.BR dspam_merge (1),
134.BR dspam_stats (1),
135.BR dspam_train (1)
Note: See TracBrowser for help on using the repository browser.