GNU.WIKI: The GNU/Linux Knowledge Base

  [HOME] [PHP Manual] [HowTo] [ABS] [MAN1] [MAN2] [MAN3] [MAN4] [MAN5] [MAN6] [MAN7] [MAN8] [MAN9]

  [0-9] [Aa] [Bb] [Cc] [Dd] [Ee] [Ff] [Gg] [Hh] [Ii] [Jj] [Kk] [Ll] [Mm] [Nn] [Oo] [Pp] [Qq] [Rr] [Ss] [Tt] [Uu] [Vv] [Ww] [Xx] [Yy] [Zz]


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.20.1                      20Mail::SpamAssassin::Message::Metadata(3pm)



  All copyrights belong to their respective owners. Other content (c) 2014-2018, GNU.WIKI. Please report site errors to webmaster@gnu.wiki.
Page load time: 0.123 seconds. Last modified: November 04 2018 12:49:43.