ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



Mail::SpamAssassin::Message::Metadatar Contributed Perl Documenta::SpamAssassin::Message::Metadata(3)



NAME
       Mail::SpamAssassin::Message::Metadata - extract metadata from a message

SYNOPSIS
DESCRIPTION
       This class is tasked with extracting "metadata" from messages for use as Bayes tokens, fodder for
       eval tests, or other rules.  Metadata is supplemental data inferred from the message, like the
       examples below.

       It is held in two forms:

       1. as name-value pairs of strings, presented in mail header format.  For
         example, "X-Language" => "en".  This is the general form for simple
         metadata that's useful as Bayes tokens, can be added to marked-up
         messages using "add_header", etc., such as the trusted-relay inference
         and language detection.

       2. as more complex data structures on the $msg->{metadata} object.  This
         is the form used for metadata like the HTML parse data, which is stored
         there for access by eval rule code.   Because it's not simple strings,
         it's not added as a Bayes token by default (Bayes needs simple strings).

PUBLIC METHODS
       new()



perl v5.8.8                                      2007-05-21         Mail::SpamAssassin::Message::Metadata(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.