Mail::SpamAssassin::PerMsgLearner man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

Mail::SpamAssassin::PeUserLContributed PerMail::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.18.1			  2011-06-Mail::SpamAssassin::PerMsgLearner(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net