dspam_train(1)
π NAME π
okay so this is dspam_train from the DSPAM manual β yes, dspam_train(1), the train-a-corpus-of-mail bestie π
πΈ SYNOPSIS πΈ
dspam_train [username] [--client] [-i index|spam_corpus nonspam_corpus]
β¨ DESCRIPTION β¨
dspam_train is used to train and test a corpus of mail (in maildir or MBOX format). It presents each message to DSPAM for a classification, and then retrains only if the message was incorrect. That's giving close-to-real-world training, and you should use it 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. It can also be used as a test jig to measure the efficiency and accuracy of a particular corpus against DSPAM in a given configuration. periodt. π
π OPTIONS π
--clientβ If specified, DSPAM is used in client-server mode. Also, the raw source page literally smooshes it as--clientIfβ that exact string, bestie. It's formatting chaos, not a secret second flag. πusernameβ Specifies the user to train; if omitted, the current user name is used.-i indexβ Use a index file instead of the usualspam_corpusandnonspam_corpus.index: Path to the index file having the following format per line:
[class] [path to message]
spam_corpusβ 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.nonspam_corpusβ 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.
π EXIT VALUE π
0β Operation was successful.otherβ Operation resulted in an error.
π COPYRIGHT π
Copyright Β© 2002-2012 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)
xoxo, DSPAM squad π β source/version: DSPAM, dated Apr 17, 2010, from the dspam_train(1) manual page. πβ¨
π¦ where this page comes from
- nixos 26.05: dspam 3.10.2
- nixpkgs unstable: dspam 3.10.2
- Copyright (C) 2002-2012 DSPAM Project
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms