Unix/Linux Go Back    


CentOS 7.0 - man page for mail::spamassassin::permsglearner (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


Mail::SpamAssassin::PerMsgLearnUser)Contributed Perl DocumentMail::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)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 04:32 PM.