Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mail::spamassassin::plugin::uridetail(3) [suse man page]

Mail::SpamAssassin::Plugin::URIDetail(3)		User Contributed Perl Documentation		  Mail::SpamAssassin::Plugin::URIDetail(3)

NAME
URIDetail - test URIs using detailed URI information SYNOPSIS
This plugin creates a new rule test type, known as "uri_detail". These rules apply to all URIs found in the message. loadplugin Mail::SpamAssassin::Plugin::URIDetail RULE DEFINITIONS AND PRIVILEGED SETTINGS
The format for defining a rule is as follows: uri_detail SYMBOLIC_TEST_NAME key1 =~ /value1/ key2 !~ /value2/ ... Supported keys are: "raw" is the raw URI prior to any cleaning (e.g. "http://spamassassin.apache%2Eorg/"). "type" is the tag(s) which referenced the raw_uri. parsed is a faked type which specifies that the raw_uri was parsed from the rendered text. "cleaned" is a list including the raw URI and various cleaned versions of the raw URI (http://spamassassin.apache%2Eorg/, http://spamassassin.apache.org/). "text" is the anchor text(s) (text between <a> and </a>) that linked to the raw URI. "domain" is the domain(s) found in the cleaned URIs. Example rule for matching a URI where the raw URI matches "%2Ebar", the domain "bar.com" is found, and the type is "a" (an anchor tag). uri_detail TEST1 raw =~ /%2Ebar/ domain =~ /^bar.com$/ type =~ /^a$/ Example rule to look for suspicious "https" links: uri_detail FAKE_HTTPS text =~ /https:/ cleaned !~ /https:/ Regular expressions should be delimited by slashes. perl v5.12.1 2010-03-16 Mail::SpamAssassin::Plugin::URIDetail(3)

Check Out this Related Man Page

Mail::SpamAssassin::Plugin::MIMEHeader(3)		User Contributed Perl Documentation		 Mail::SpamAssassin::Plugin::MIMEHeader(3)

NAME
MIMEHeader - perform regexp tests against MIME headers SYNOPSIS
loadplugin Mail::SpamAssassin::Plugin::MIMEHeader mimeheader NAME_OF_RULE Content-Id =~ /foo/ DESCRIPTION
This plugin allows regexp rules to be written against MIME headers in the message. RULE DEFINITIONS AND PRIVILEGED SETTINGS
mimeheader NAME_OF_RULE Header-Name =~ /pattern/modifiers Specify a rule. "NAME_OF_RULE" is the name of the rule to be used, "Header-Name" is the name of the MIME header to check, and "/pattern/modifiers" is the Perl regular expression to match against this. Note that in a message of multiple parts, each header will be checked against the pattern separately. In other words, if multiple parts have a 'Content-Type' header, each header's value will be tested individually as a separate string. Header names are considered case-insensitive. The header values are normally cleaned up a little; for example, whitespace around the newline character in "folded" headers will be replaced with a single space. Append ":raw" to the header name to retrieve the raw, undecoded value, including pristine whitespace, instead. perl v5.16.3 2011-06-06 Mail::SpamAssassin::Plugin::MIMEHeader(3)
Man Page