1 | .\" $Id: dspam_dump.1,v 1.75 2011/06/28 00:13:48 sbajic Exp $ |
---|
2 | .\" -*- nroff -*- |
---|
3 | .\" |
---|
4 | .\" dspam_dump3.9 |
---|
5 | .\" |
---|
6 | .\" Authors: Jonathan A. Zdziarski <jonathan@nuclearelephant.com> |
---|
7 | .\" Stevan Bajic |
---|
8 | .\" |
---|
9 | .\" Copyright (C) 2002-2012 DSPAM Project |
---|
10 | .\" All rights reserved |
---|
11 | .\" |
---|
12 | .TH dspam_dump 1 "Apr 17, 2010" "DSPAM" "DSPAM" |
---|
13 | |
---|
14 | .SH NAME |
---|
15 | dspam_dump \- produce a dump of a user's metadata |
---|
16 | |
---|
17 | .SH SYNOPSIS |
---|
18 | .na |
---|
19 | .B dspam_dump |
---|
20 | [\c |
---|
21 | .B \--profile\c |
---|
22 | =PROFILE\c |
---|
23 | ] |
---|
24 | [\c |
---|
25 | .B \-d\c |
---|
26 | sqlite_drv\c |
---|
27 | ] |
---|
28 | .BI username\fR |
---|
29 | [\c |
---|
30 | .BI token\c |
---|
31 | ] |
---|
32 | |
---|
33 | .ad |
---|
34 | .SH DESCRIPTION |
---|
35 | .LP |
---|
36 | .B dspam_dump |
---|
37 | dumps a user's metadata dictionary to stdout. This can be used to view the |
---|
38 | entire contents of a user's dictionary, or used in combination with grep to view |
---|
39 | a subset of data. The output provides the token's stored value (in CRC64 |
---|
40 | format), the number of spam and nonspam hits, and the token's computed |
---|
41 | probability. |
---|
42 | |
---|
43 | .SH OPTIONS |
---|
44 | .LP |
---|
45 | |
---|
46 | .ne 3 |
---|
47 | .TP |
---|
48 | .BI \ \--profile= \PROFILE\c |
---|
49 | Specify a storage profile from dspam.conf. The storage profile selected will be used for all database connectivity. See dspam.conf for more information. |
---|
50 | |
---|
51 | .ne 3 |
---|
52 | .TP |
---|
53 | .BI \ username \fR\c |
---|
54 | The username of the user to dump. Only trusted users (or root) can use this |
---|
55 | program for the usernames different from the current one. |
---|
56 | |
---|
57 | .ne 3 |
---|
58 | .TP |
---|
59 | .BI \ token \fR\c |
---|
60 | .br |
---|
61 | The text string of the token to search for and dump. If no token is specified, |
---|
62 | all tokens will be dumped to stdout. |
---|
63 | |
---|
64 | .SH EXAMPLES |
---|
65 | .B dspam_dump user "Subject*Viagra" |
---|
66 | |
---|
67 | Dumps the token Subject*Viagra, which represents the word Viagra in the Subject |
---|
68 | header, for the user specified. |
---|
69 | |
---|
70 | .SH EXIT VALUE |
---|
71 | .LP |
---|
72 | .ne 3 |
---|
73 | .PD 0 |
---|
74 | .TP |
---|
75 | .B 0 |
---|
76 | Operation was successful. |
---|
77 | .ne 3 |
---|
78 | .TP |
---|
79 | .B other |
---|
80 | Operation resulted in an error. |
---|
81 | .PD |
---|
82 | |
---|
83 | .SH COPYRIGHT |
---|
84 | Copyright \(co 2002\-2012 DSPAM Project |
---|
85 | .br |
---|
86 | All rights reserved. |
---|
87 | .br |
---|
88 | |
---|
89 | For more information, see http://dspam.sourceforge.net. |
---|
90 | |
---|
91 | .SH SEE ALSO |
---|
92 | .BR dspam (1), |
---|
93 | .BR dspam_admin (1), |
---|
94 | .BR dspam_clean (1), |
---|
95 | .BR dspam_crc (1), |
---|
96 | .BR dspam_logrotate (1), |
---|
97 | .BR dspam_merge (1), |
---|
98 | .BR dspam_stats (1), |
---|
99 | .BR dspam_train (1) |
---|