mail::spamassassin::permsglearner(3) suse man page | unix.com

Man Page: mail::spamassassin::permsglearner

Operating Environment: suse

Section: 3

Mail::SpamAssassin::PerMsgLearner(3)			User Contributed Perl Documentation		      Mail::SpamAssassin::PerMsgLearner(3)

NAME
Mail::SpamAssassin::PerMsgLearner - per-message status (spam or not-spam)
SYNOPSIS
my $spamtest = new Mail::SpamAssassin ({ 'rules_filename' => '/etc/spamassassin.rules', 'userprefs_filename' => $ENV{HOME}.'/.spamassassin/user_prefs' }); my $mail = $spamtest->parse(); my $status = $spamtest->learn($mail,$id,$isspam,$forget); my $didlearn = $status->did_learn(); $status->finish();
DESCRIPTION
The Mail::SpamAssassin "learn()" method returns an object of this class. This object encapsulates all the per-message state for the learning process.
METHODS
$didlearn = $status->did_learn() Returns 1 if the message was learned from or forgotten successfully. $status->finish() Finish with the object.
SEE ALSO
"Mail::SpamAssassin" "spamassassin" perl v5.12.1 2010-03-16 Mail::SpamAssassin::PerMsgLearner(3)
Related Man Pages
mail::spamassassin::plugin::spamcop(3) - suse
mail::spamassassin::plugin::spamcop(3) - centos
mail::spamassassin::autowhitelist(3) - centos
mail::spamassassin::plugin::autolearnthreshold(3) - centos
mail::spamassassin::plugin::autolearnthreshold(3pm) - debian
Similar Topics in the Unix Linux Community
How to restrict user to a specific directory in solaris 10
Getting command output to putty window title.
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
The Future of the PM (Private Message) System at UNIX.com