dspam_learn - Perl script for help the DSPAM learning process


dspam-learn [options] [<] [Input_document | Directory] > Annotated_Output_Document


--help brief help message
--man full documentation
--delay=num delay between two spams message sending to DSPAM
--myconfig_dir=directory define the directory containing the module
--resettingMyConfig Reset the personal configuration
--myconfig_file=filename define the path for the module containing personal configuration
--test for testing the configuration, no message is sent
--mailbox=filename define the path to the mailbox containing spams
--showconfig display the configuration and exit


This script is used to parse a mailbox containing spams to send to your dpsam server in order to correct the learning. You have to specify the mailbox to parse thanks to the option --mailbox.

If no personal configuration exists, it first ask personal information to send the module. Personal information are domain, login, email address, SMTP server name, SMTP server port, email address for DSPAM,

By default, the file is store in $HOME/.dspam-learning, but other directory can be specified thanks to the --myconfig_dir.

The option --resettingMyConfig can be used to reset personal information.


DSPAM web site:


Thierry Hamon <>


Copyright (C) 2008 by Thierry Hamon

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.