~ubuntu-branches/ubuntu/utopic/spamassassin/utopic-updates

« back to all changes in this revision

Viewing changes to lib/Mail/SpamAssassin/Plugin.pm

  • Committer: Package Import Robot
  • Author(s): Noah Meyerhans
  • Date: 2014-02-14 22:45:15 UTC
  • mfrom: (0.8.1) (0.6.2) (5.1.22 sid)
  • Revision ID: package-import@ubuntu.com-20140214224515-z1es2twos8xh7n2y
Tags: 3.4.0-1
* New upstream version! (Closes: 738963, 738872, 738867)
* Scrub the environment when switching to the debian-spamd user in
  postinst and cron.daily. (Closes: 738951)
* Enhancements to postinst to better manage ownership of
  /var/lib/spamassassin, via Iain Lane <iain.lane@canonical.com>
  (Closes: 738974)

Show diffs side-by-side

added added

removed removed

Lines of Context:
107
107
};
108
108
 
109
109
@ISA =                  qw();
110
 
$VERSION =              'bogus';
 
110
#Removed $VERSION per BUG 6422
 
111
#$VERSION =              'bogus';
111
112
 
112
113
###########################################################################
113
114
 
506
507
 
507
508
The C<Mail::SpamAssassin::Message> object for this message.
508
509
 
 
510
=item permsgstatus
 
511
 
 
512
The C<Mail::SpamAssassin::PerMsgStatus> context object for this scan.
 
513
 
509
514
=back
510
515
 
511
516
=item $plugin->parsed_metadata ( { options ... } )
676
681
NOTE: This data structure has changed since it was originally introduced
677
682
in version 3.0.0.  The values are no longer perl anonymous hashes, they
678
683
are a single string containing the raw token value.  You can test for
679
 
backwards compatibility by checking to see if the value for a key is a
 
684
backward compatibility by checking to see if the value for a key is a
680
685
reference to a perl HASH, for instance:
681
686
 
682
687
if (ref($toksref->{$sometokenkey}) eq 'HASH') {...
869
874
 
870
875
=item $plugin->spamd_child_init ()
871
876
 
872
 
Called when a new child starts up under spamd.
 
877
Called in each new child process when it starts up under spamd.
873
878
 
874
879
=item $plugin->log_scan_result ( { options ... } )
875
880
 
1192
1197
The configuration file arguments will be passed in after the standard
1193
1198
arguments.
1194
1199
 
1195
 
=head1 BACKWARDS COMPATIBILITY
 
1200
=head1 BACKWARD COMPATIBILITY
1196
1201
 
1197
1202
Note that if you write a plugin and need to determine if a particular
1198
1203
helper method is supported on C<Mail::SpamAssassin::Plugin>, you