1Mail::SpamAssassin::PluUgsienr::CRoenptlraicbeuTtaeMgdasi(Pl3e:)r:lSpDaomcAusmseanstsaitni:o:nPlugin::ReplaceTags(3)
2
3
4

NAME

6       Mail::SpamAssassin::Plugin::ReplaceTags - tags for SpamAssassin rules
7
8       The plugin allows rules to contain regular expression tags to be used
9       in regular expression rules.  The tags make it much easier to maintain
10       complicated rules.
11
12       Warning: This plugin relies on data structures specific to this version
13       of SpamAssassin; it is not guaranteed to work with other versions of
14       SpamAssassin.
15

SYNOPSIS

17         loadplugin    Mail::SpamAssassin::Plugin::ReplaceTags
18
19         replace_start <
20         replace_end   >
21
22         replace_tag   A       [a@]
23         replace_tag   G       [gk]
24         replace_tag   I       [il|!1y\?\xcc\xcd\xce\xcf\xec\xed\xee\xef]
25         replace_tag   R       [r3]
26         replace_tag   V       (?:[vu]|\\\/)
27         replace_tag   SP      [\s~_-]
28
29         body          VIAGRA_OBFU     /(?!viagra)<V>+<SP>*<I>+<SP>*<A>+<SP>*<G>+<SP>*<R>+<SP>*<A>+/i
30         describe      VIAGRA_OBFU     Attempt to obfuscate "viagra"
31
32         replace_rules VIAGRA_OBFU
33

RULE DEFINITIONS AND PRIVILEGED SETTINGS

35       replace_tag tagname expression
36           Assign a valid regular expression to tagname.
37
38           Note: It is not recommended to put quantifiers inside the tag, it's
39           better to put them inside the rule itself for greater flexibility.
40
41       replace_pre tagname expression
42           Assign a valid regular expression to tagname.  The expression will
43           be placed before each tag that is replaced.
44
45       replace_inter tagname expression
46           Assign a valid regular expression to tagname.  The expression will
47           be placed between each two immediately adjacent tags that are
48           replaced.
49
50       replace_post tagname expression
51           Assign a valid regular expression to tagname.  The expression will
52           be placed after each tag that is replaced.
53
54       replace_rules list_of_tests
55           Specify a list of symbolic test names (separated by whitespace) of
56           tests which should be modified using replacement tags.  Only simple
57           regular expression body, header, uri, full, rawbody tests are
58           supported.
59
60       replace_start string
61       replace_end string
62           String(s) which indicate the start and end of a tag inside a rule.
63           Only tags enclosed by the start and end strings are found and
64           replaced.
65
66
67
68perl v5.32.1                      202M1a-i0l3:-:2S5pamAssassin::Plugin::ReplaceTags(3)
Impressum