1Mail::SpamAssassin::MesUssaegre:C:oMnettraidbauttae(d3M)Paeirll::DSopcaummAesnstaastsiionn::Message::Metadata(3)
2
3
4

NAME

6       Mail::SpamAssassin::Message::Metadata - extract metadata from a message
7

SYNOPSIS

DESCRIPTION

10       This class is tasked with extracting "metadata" from messages for use
11       as Bayes tokens, fodder for eval tests, or other rules.  Metadata is
12       supplemental data inferred from the message, like the examples below.
13
14       It is held in two forms:
15
16       1. as name-value pairs of strings, presented in mail header format.
17       For
18         example, "X-Language" => "en".  This is the general form for simple
19         metadata that's useful as Bayes tokens, can be added to marked-up
20         messages using "add_header", etc., such as the trusted-relay
21       inference
22         and language detection.
23
24       2. as more complex data structures on the $msg->{metadata} object.
25       This
26         is the form used for metadata like the HTML parse data, which is
27       stored
28         there for access by eval rule code.   Because it's not simple
29       strings,
30         it's not added as a Bayes token by default (Bayes needs simple
31       strings).
32

PUBLIC METHODS

34       new()
35
36
37
38perl v5.12.4                      2011-M0a6i-l0:6:SpamAssassin::Message::Metadata(3)
Impressum