centos man page for mail::spamassassin::permsglearner

Query: mail::spamassassin::permsglearner

OS: centos

Section: 3

Links: centos man pages   all man pages

Forums: unix linux community   forum categories

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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.16.3 2011-06-06 Mail::SpamAssassin::PerMsgLearner(3)
Related Man Pages
mail::spamassassin::autowhitelist(3) - centos
mail::spamassassin::autowhitelist(3) - suse
mail::message::wrapper::spamassassin(3pm) - debian
mail::spamassassin::autowhitelist(3pm) - debian
mail::spamassassin::plugin::spamcop(3pm) - debian
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
CentOS7 restoring file capabilities
Docker learning Phase-I
Shopt -s histappend
CentOS 6 ran out of space, need to reclaim it