dspam_train(1) DSPAM dspam_train(1)NAME
dspam_train - train a corpus of mail
dspam_train [username] [--client] [-i index|spam_corpus nonspam_corpus]
dspam_train is used to train and test a corpus of mail (in maildir or MBOX format). This tool will present each message to DSPAM for a
classification and then retrain only if the message was incorrect. This provides close to real-world training and should be used to build
pretrained databases. Upon execution, the tool will automatically determine the ratio of spam:nonspam and train based on that ratio to
ensure both corpora are trained consecutively. This tool can also be used as a test jig to measure the efficiency and accuracy of a partic-
ular corpus against DSPAM in a given configuration.
If specified, DSPAM is used in client-server mode.
Specifies the user to train, if omitted the current user name is used.
Use a index file instead of the usual spam_corpus and nonspam_corpus.
index : Path to the index file having the following format per line:
[class] [path to message]
Specifies either the pathname to the directory containing the corpus of spam, with each in a separate file (e.g. maildir format) or
a path to the mailbox in the traditional Unix MBOX format.
Specifies either the pathname to the directory containing the corpus of nonspam with each message in a separate file or a path to
the mailbox in the traditional Unix MBOX format.
0 Operation was successful.
other Operation resulted in an error.
Copyright (C) 2002-2011 DSPAM Project
All rights reserved.
For more information, see http://dspam.sourceforge.net.
SEE ALSO dspam(1), dspam_admin(1), dspam_clean(1), dspam_crc(1), dspam_dump(1), dspam_logrotate(1), dspam_merge(1), dspam_stats(1)DSPAM Apr 17, 2010 dspam_train(1)
When I tried to run receive.sh,it returned following errors.
syntax error near unexpected token `do
while read LineInProperty
$GlobalValueReceive =... (8 Replies)
please tell me any script which can able to calculate the bus hours by claculating the volume for example
17 56 (14 Replies)
How do I calculate time? I need to create an alert if a process is running more than 30 minutes.
I need to get the first time and then get another, calculate it if more than 30 mins and then alert it to pager.
Can't find it in internet.
Thanks in advance,
itik (2 Replies)
hi guys im running into a problem here im trying to calculate a sum a values from a field for example a hava a file caled <filename> and it has $3 fields, and i want toextract a group of values from field &1 and compute the sum of values from $3 accordingly this is my code so far...
awk... (3 Replies)
hi! just want to seek help on this error: syntax error near unexpected token 'do
this is my script
for y in 27 25
exemmlmx -c "ZEEI;" -n XRT$y >> blah
what can be wrong? thanks! (6 Replies)
In our code we are using below code to calculate the UNIX Epoch Time from the time stamp present in the file.
Can any one explain how the DC operates in below command and how we calculate the UNIX EPOCH time from this.
Date incide the file is 20:26:51
Output we get is 1289943554... (3 Replies)
I am trying to run the code below however I am getting a "syntax error near unexpected token `for file in error" on the line that is in red. I have the semicolons after every line because it will fail on the copy if I don't have them saying that it cannot stat directory. Is there something that I... (3 Replies)
Completely new to all this and finding it soooooooo hard. Any help appreciated.
The idea is to check a list of .conf files and maintain a hash, if it does not match its hash it needs to do some more stuff, but I can't even get this first bit sorted... No idea if any of this is right.... (5 Replies)
I just want to know, how do we calculate the months in shell scripting.
If i give the input as 20-01-2011, the output should be 20-02-2011, 20-03-2011 or 20-04-2011........
How do i get this ?
Cheers. (6 Replies)
I'm totally stumped with how to handle this huge text file I'm trying to deal with. I really need some help!
Here is what is looks like:
0.6... (3 Replies)
I was trying to understand how to calculate umask value but couldnt get the right way to calculate it. can some one please give me a small formula or easy method to do it?
Waseem (4 Replies)