<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.pscs.co.uk/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.pscs.co.uk/feed.php">
        <title>PSCS Wiki</title>
        <description></description>
        <link>https://wiki.pscs.co.uk/</link>
        <image rdf:resource="https://wiki.pscs.co.uk/_media/wiki:dokuwiki.svg" />
       <dc:date>2026-05-13T04:34:52+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spam_filter_rules?rev=1674057433&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_foreach?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_if?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_ifinbag?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_ifmatch?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_bulkscan?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_rule_names_and_weights?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_star_ifsupport?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_startdns?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_startdnsbl?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_startsurbl?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_variables?rev=1692028861&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_iflocaladdress?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontentsfull?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_db_comparator?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dbinsert?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_reject?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_countmatches?rev=1749197557&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dbdeletetime?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dbqueryone?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dns?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dnsbl?rev=1603469269&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getdecodedsection?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionencoding?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionmd5?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_globalmatch?rev=1749197750&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_goto?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_httpget?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_replace?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_sendmessage?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_star_stop?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_surbl?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_winhttpget?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontents?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/faq:gdpr_hosted_vpop3?rev=1760456581&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/faq:gdpr_other_hosting?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addbag?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addheader?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_convert?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_copybag?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_dbupdate?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_definerule?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_definesetting?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_escape?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getaddresstype?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getmd5?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getrfc822date?rev=1692028395&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_getusergroup?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_httpgetmd5?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_httppost?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_include?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_log?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_random?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removebag?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removetags?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_stop?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcount?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_manylinks?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesham?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesspam?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addblacklist?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addnulladdress?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_addwhitelist?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_break?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_clearbag?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_copy?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_redirect?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesham?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesspam?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removeblacklist?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removewhitelist?rev=1542192349&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.pscs.co.uk/_media/wiki:dokuwiki.svg">
        <title>PSCS Wiki</title>
        <link>https://wiki.pscs.co.uk/</link>
        <url>https://wiki.pscs.co.uk/_media/wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spam_filter_rules?rev=1674057433&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-01-18T15:57:13+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules</title>
        <link>https://wiki.pscs.co.uk/reference:spam_filter_rules?rev=1674057433&amp;do=diff</link>
        <description>Spam Filter Rules

VPOP3 Versions 2.1.7 and later have a built-in spam filter system which supports a simple script language optimised for content- and spam-filtering of email messages.

This reference contains a definition of the spam filtering script language supported by VPOP3. Note that as later versions of VPOP3 are released, more language features may be added, so this reference indicates in which version of VPOP3 a particular feature was added.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_foreach?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: ForEach</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_foreach?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: ForEach
Statement  ForEach Version  2.1.7+ Purpose  Causes a loop to be run through for all values within specified criteria 
The ForEach statement requires either two or three parameters (depending on the type of loop that is being conducted), in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_if?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: If</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_if?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: If
Statement  If Version  2.1.7+ Purpose  Enables you to perform a simple relational test on a variable 
You can specify a variable or a constant on either or both sides of the relational operator. The relational operator can be one of:</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_ifinbag?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: IfInBag</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_ifinbag?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: IfInBag
Statement  IfInBag Version  2.3.7+ Purpose  Checks if a specified value is in a particular bag 
The IfInBag statement requires a bag name and value, in the format
IfInBag &lt;bag name&gt; &lt;value&gt;
	* All IfInBag statements must be followed by an</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_ifmatch?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: IfMatch</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_ifmatch?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: IfMatch
Statement  IfMatch Version  2.1.7+ Purpose  Allows you to perform a regular or substring match on a variable or part of the message being processed 
IfMatch statements require a data parameter and a search value, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_bulkscan?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: BulkScan</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_bulkscan?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: BulkScan
Statement  BulkScan Version  2.1.7+ Purpose  Allows you to specify lots of search strings in one section without needing the verbose If statement 
The BulkScan statement requires a variable name and a limitless number of search specifiers, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_rule_names_and_weights?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Rule names and weights</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_rule_names_and_weights?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Rule names and weights

The script can designate names to refer to certain rules. This name is created using a DefineRule statement.

If you the follow a statement by a word in square brackets, when that statement is actioned, VPOP3 will add the specified word to a list of &#039;matched conditions&#039; which can be used in reporting.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_star_ifsupport?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: *IFSUPPORT</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_star_ifsupport?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: *IFSUPPORT
Statement  *IFSUPPORT Version  2.2.5+ Purpose  Allows the script to determine whether a particular command or function is supported by the installed version of VPOP3 
The *IFSUPPORT statement requires a command or a function, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_startdns?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: StartDNS</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_startdns?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: StartDNS
Statement  StartDNS Version  2.2.1+ Purpose  Begins an asynchronous DNS lookup in advance of the result being required in a subsequent DNS statement 
The StartDNS statement requires a type and hostname, in the format
StartDNS &lt;type&gt; &lt;hostname&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_startdnsbl?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: StartDNSBL</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_startdnsbl?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: StartDNSBL
Statement  StartDNSBL Version  2.2.1+ Purpose  Begins an asynchronous DNS blacklist lookup in advance of the result being required in a subsequent DNSBL statement 
The StartDNSBL statement requires a hostname and DNSBL zone, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_startsurbl?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: StartSURBL</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_startsurbl?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: StartSURBL
Statement  StartSURBL Version  2.2.1+ Purpose  Begins an asynchronous SURBL lookup in advance of the result being required in a subsequent SURBL statement 
The StartSURBL statement requires a hostname and SURBL zone, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_variables?rev=1692028861&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-14T16:01:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Variables</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_variables?rev=1692028861&amp;do=diff</link>
        <description>Spam Filter Rules: Variables

The VPOP3 spam filter script language supports simple variables. In most places these are specified as ${&lt;variable name&gt;}, but in some places they are just specified as &lt;variable name&gt; - for instance where a statement always puts its result into a variable.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_iflocaladdress?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: IfLocalAddress</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_iflocaladdress?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: IfLocalAddress
Statement  IfLocalAddress Version  2.2.1+ Purpose  Allows you to check if a specified email address is local to your VPOP3 installation 
IfLocalAddress requires just one paramater; the address, in the format
IfLocalAddress &lt;address&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontentsfull?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: ZipContentsFull</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontentsfull?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: ZipContentsFull
Statement  ZipContentsFull Version  6.7+ Purpose  Enables the script to obtain the list of files contained in a ZIP attachment 
The ZipContentsFull statement requires a message section number and bag name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_db_comparator?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spamfilter database comparators</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_db_comparator?rev=1542192349&amp;do=diff</link>
        <description>Spamfilter database comparators

Several Spamfilter DB statements allow comparators which are listed below

If the value specified in the statement is numeric:

	*  = or == compare numeric values for equality
	*  &lt;&gt; or != compare numeric values for inequality</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dbinsert?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DBInsert</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dbinsert?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DBInsert
Statement  DBInsert Version  6.16+ Purpose  Inserts a record into the spam filter database 
The DBInsert statement requires a type, component name, key and value, in the format
DBInsert &lt;type&gt; &lt;component name&gt; &lt;key&gt; &lt;value&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_reject?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Reject</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_reject?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Reject
Statement  Reject Version  2.4.5+ Purpose  Perform an SMTP &#039;Reject&#039; on the incoming message 
The Reject statement requires an error code/text string, in the format
Reject &lt;error string&gt;
This will reject the current SMTP message with the specified SMTP result code. Use a 4xx error code (eg 450) to reject the message temporarily, or a 5xx error code (eg 550) to reject the message permanently.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_countmatches?rev=1749197557&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-06T08:12:37+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: CountMatches</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_countmatches?rev=1749197557&amp;do=diff</link>
        <description>Spam Filter Rules: CountMatches
Statement  CountMatches Version  2.3.13+ Purpose  Counts the number of times a specific regular expression matches in a string 
CountMatches statements require a data parameter, a search value, and the name of the variable to place the count into, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dbdeletetime?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DBDeleteTime</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dbdeletetime?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DBDeleteTime
Statement  DBDeleteTime Version  6.16+ Purpose  Deletes records from the spam filter database based on their last update time 
The DBDeleteTime statement requires a component name, comparator and time value, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dbqueryone?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DBQueryOne</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dbqueryone?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DBQueryOne
Statement  DBQueryOne Version  6.16+ Purpose  Queries the spam filter database for a single record/aggregate 
The DBQueryOne statement performs a query on the spam filter database and returns a single value which is either the value of a record or an aggregate of several records.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dns?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DNS</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dns?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DNS
Statement  DNS Version  2.1.11+ Purpose  Allows the script to perform an arbitrary DNS lookup, returning the result into a specified variable 
The DNS statement requires a type, hostname and variable name, in the format
DNS &lt;type&gt; &lt;hostname&gt; &lt;variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dnsbl?rev=1603469269&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-10-23T16:07:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DNSBL</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dnsbl?rev=1603469269&amp;do=diff</link>
        <description>Spam Filter Rules: DNSBL
Statement  DNSBL Version  2.1.7+ Purpose  Allows the script to perform a DNS blacklist lookup, returning the result into a specified variable 
The DNSBL statement requires a hostname, DNSBL zone and variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getdecodedsection?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetDecodedSection</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getdecodedsection?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetDecodedSection
Statement  GetDecodedSection Version  2.1.11+ Purpose  Returns a specified MIME section of a message into a variable, after processing any Base64 or Quoted-Printable encoding of the raw message data 
The GetDecodedSection</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionencoding?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetSectionEncoding</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionencoding?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetSectionEncoding
Statement  GetSectionEncoding Version  2.3.9+ Purpose  Retrieves the MIME encoding method for the specified MIME section number, and returns the result into the specified variable 
The GetSectionEncoding statement requires a message section number and variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionmd5?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetSectionMD5</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getsectionmd5?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetSectionMD5
Statement  GetSectionMD5 Version  2.3.6+ Purpose  Performs an MD5 hash on a specified MIME section of the message, and returns the result into the specified variable in hex encoded form 
The GetSectionMD5 statement requires a message section number and variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_globalmatch?rev=1749197750&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-06T08:15:50+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GlobalMatch</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_globalmatch?rev=1749197750&amp;do=diff</link>
        <description>Spam Filter Rules: GlobalMatch
Statement  GlobalMatch Version  2.3.13+ Purpose  Does a RegExp match on the supplied data and puts the results in a bag 
The GlobalMatch statement requires a data parameter, a search value, and the name of a bag to place the matches into, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_goto?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Goto</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_goto?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Goto
Statement  Goto Version  2.1.7+ Purpose  A mechanism for directing the script towards a specified label 
The Goto statement requires a label name, in the format
Goto &lt;label name&gt;
Labels are single word entries that appear on a line of their own, immediately preceded by the colon (:) character. 
The colon character is not part of the label name.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_httpget?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: HTTPGet</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_httpget?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: HTTPGet
Statement  HTTPGet Version  2.3.7+ Purpose  Enables the script to retrieve a web page 
The HTTPGet statement requires a url, headers variable name and content variable name, in the format
HTTPGet &lt;url&gt; &lt;headers variable name&gt; &lt;content variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_replace?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Replace</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_replace?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Replace
Statement  Replace Version  2.3.5+ Purpose  Replaces specified text in the specified variable with new text 
Replace statements require a variable name, a search value and a replacement string, in the format 
Replace &lt;variable&gt; &lt;search&gt; &lt;replace&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_sendmessage?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: SendMessage</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_sendmessage?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: SendMessage
Statement  SendMessage Version  2.4.5+ Purpose  Allows you to send a message 
The SendMessage statement requires a recipient, subject, message text and a currently unused options parameter, in the format
SendMessage &lt;recipient&gt; &lt;subject&gt; &lt;message text&gt; &lt;options&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_star_stop?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: *STOP</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_star_stop?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: *STOP
Statement  *STOP Version  2.2.5+ Purpose  Stops the parsing of the current spam filter script file 
The statements after the *STOP statement are not parsed, so will not cause syntax errors if they involve unrecognised commands.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_surbl?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: SURBL</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_surbl?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: SURBL
Statement  SURBL Version  2.1.7+ Purpose  Allows a SURBL lookup on the specified hostname or IP address in the specified SURBL zone, and returns the result into the specified variable 
The SURBL statement requires a hostname, SURBL zone and variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_winhttpget?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: WinHTTPGet</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_winhttpget?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: WinHTTPGet
Statement  WinHTTPGet Version  2.4.9+ Purpose  Enables the script to retrieve a web page using the WinINET functionality 
The WinHTTPGet statement requires a url, headers variable name and content variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontents?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: ZipContents</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_zipcontents?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: ZipContents
Statement  ZipContents Version  6.7+ Purpose  Enables the script to obtain the list of files contained in a ZIP attachment 
The ZipContents statement requires a message section number and bag name, in the format
ZipContent &lt;message section number&gt; &lt;bag name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/faq:gdpr_hosted_vpop3?rev=1760456581&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-10-14T15:43:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>GDPR for hosted VPOP3 service</title>
        <link>https://wiki.pscs.co.uk/faq:gdpr_hosted_vpop3?rev=1760456581&amp;do=diff</link>
        <description>GDPR for hosted VPOP3 service

(Since Brexit, the UK has “UK GDPR” instead of “EU GDPR”, so this document refers to UK GDPR)

Also see GDPR for VPOP3 as most of that applies to the VPOP3 hosting service as well.

This Data Processing Agreement is part of our hosted VPOP3 service terms. You can view the revision history by clicking on the &#039;clock&#039; icon to the right.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/faq:gdpr_other_hosting?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>GDPR for other hosting services (eg web hosting)</title>
        <link>https://wiki.pscs.co.uk/faq:gdpr_other_hosting?rev=1542192349&amp;do=diff</link>
        <description>GDPR for other hosting services (eg web hosting)

As a hosted service provider, we are classed as a “Data Processor” under the GDPR regulations.

For our hosting services:

	*  Data is held in the UK. Data is not transmitted outside of the EU except at your explicit request or command.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addbag?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddBag</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addbag?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddBag
Statement  AddBag Version  2.2.1+ Purpose  Adds a value into a &#039;bag&#039; containing a collection of values, creating the bag if necessary 
The AddBag statement requires a type, bag name and value, in the format
AddBag &lt;type&gt; &lt;bag name&gt; &lt;value&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addheader?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddHeader</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addheader?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddHeader
Statement  AddHeader Version  2.1.7+ Purpose  Allows you to add, replace or remove the specified header line in the message headers 
The AddHeader statement requires the full header line in one continuous string, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_convert?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Convert</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_convert?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Convert
Statement  Convert Version  2.4.9+ Purpose  Allows you to convert data from one form to another 
The Convert statement requires a data parameter, conversion method and variable name, in the format
Convert &lt;data&gt; &lt;conversion method&gt; &lt;variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_copybag?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: CopyBag</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_copybag?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: CopyBag
Statement  CopyBag Version  6.17+ Purpose  Copies the contents of one bag into another bag 
The CopyBag statement requires an operator, “from bag” name and “to bag” name, in the format
AddBag &lt;operator&gt; &lt;from bag&gt; &lt;to bag&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_dbupdate?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DBUpdate</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_dbupdate?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DBUpdate
Statement  DBUpdate Version  6.16+ Purpose  Updates a record in the spam filter database 
The DBUpdate statement requires a component name, key, operator and value, in the format
DBUpdate &lt;component name&gt; &lt;key&gt; &lt;operator&gt; &lt;value&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_definerule?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DefineRule</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_definerule?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DefineRule
Statement  DefineRule Version  2.1.9+ Purpose  Defines a rule name, default weighting and description. See Rule names and weights 
The DefineRule statement requires a name, default weight and description, in the format
DefineRule &quot;&lt;name&gt;&quot; &lt;default weights&gt; &quot;&lt;description&gt;&quot;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_definesetting?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: DefineSetting</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_definesetting?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: DefineSetting
Statement  DefineSetting Version  2.1.9+ Purpose  Defines a generic setting, the default value and description 
The DefineSetting statement requires a name, default value and description, in the format
DefineSetting &quot;&lt;name&gt;&quot; &lt;default value&gt; &quot;&lt;description&gt;&quot;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_escape?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Escape</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_escape?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Escape
Statement  Escape Version  2.3.6+ Purpose  &#039;Escapes&#039; the specified variable ready to pass as a regular expression 
The Escape statement should be called immediately before the variable, in the format
Escape &lt;variable name&gt;
Example


${myvar} = &quot;This costs $10.00&quot;

Escape myvar

# ${myvar} is now &quot;This costs \$10\.00&quot;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getaddresstype?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetAddressType</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getaddresstype?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetAddressType
Statement  GetAddressType Version  2.4.6+ Purpose  Analyses a specified email address and reports what &#039;type&#039; of address it is 
The GetAddressType statement requires an email address and variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getmd5?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetMD5</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getmd5?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetMD5
Statement  GetMD5 Version  2.3.6+ Purpose  Performs an MD5 hash on a string, and returns the result into the specified variable in hex encoded form 
The GetMD5 statement requires a string and variable name, in the format
GetMD5 &lt;string&gt; &lt;variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getrfc822date?rev=1692028395&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-14T15:53:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetRFC822Date</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getrfc822date?rev=1692028395&amp;do=diff</link>
        <description>Spam Filter Rules: GetRFC822Date
Statement  GetRFC822Date Version  2.2.1+ Purpose  Converts an RFC 822 format date field into the number of days elapsed since 1st January 1601 
The GetRFC822Date statement requires a date in RFC 822 format and a variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_getusergroup?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: GetUserGroup</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_getusergroup?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: GetUserGroup
Statement  GetUserGroup Version  2.4.5+ Purpose  Checks if the specified user is assigned to a VPOP3 group, and returns the group name 
The GetUserGroup statement requires a username and variable name, in the format
GetUserGroup &lt;username&gt; &lt;variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_httpgetmd5?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: HTTPGetMD5</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_httpgetmd5?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: HTTPGetMD5
Statement  HTTPGetMD5 Version  2.3.7+ Purpose  Enables the script to retrieve a web page, returning an MD5 hash of its contents in hex encoded form 
The HTTPGetMD5 statement requires a url, headers variable name and MD5 hash variable name, in the format</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_httppost?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: HTTPPost</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_httppost?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: HTTPPost
Statement  HTTPPost Version  2.4.9+ Purpose  Enables the script to post data to a web server 
The HTTPPost statement requires a url, data string, headers variable name and content variable name, in the format
HTTPPost &lt;url&gt; &lt;data string&gt; &lt;headers variable name&gt; &lt;content variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_include?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Include</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_include?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Include
Statement  Include Version  2.1.7+ Purpose  Including other files within the spam rules 
To include another file within the spam rules, insert a line saying
&#039;&#039;Include &lt;filename to include&gt;&#039;&#039;
There should not be any quotes around the filename to include, even if it contains spaces. Note that all files are within the same &#039;scope&#039;, so variables defined in one file will be visible within all subsequent included files.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_log?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Log</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_log?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Log
Statement  Log Version  2.1.11+ Purpose  Allows you to write entries to the spamrules log file 
The Log statement lets you write a custom entry to the SPAMRULES.LOG file. This can be useful for debugging scripts.

Example


Log &quot;Sender = ${MailFrom}&quot;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_random?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Random</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_random?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Random
Statement  Random Version  2.5.2+ Purpose  Generates a random number 
The Random statement requires a lower and higher numeric bound, and a variable to assign the result to, in the format
Random &lt;lower&gt; &lt;higher&gt; &lt;variable&gt;
	*</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removebag?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveBag</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removebag?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveBag
Statement  RemoveBag Version  2.2.1+ Purpose  Removes a specified value from a bag 
The RemoveBag statement requires a bag name and a value, in the format
RemoveBag &lt;bag name&gt; &lt;value&gt;
	* If the value is found in the bag, it is removed</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removetags?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveTags</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removetags?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveTags
Statement  RemoveTags Version  2.2.1+ Purpose  Converts an HTML string to its plain text equivalent 
The RemoveTags statement requires a variable name, in the format
RemoveTags &lt;variable name&gt;
	*  HTML tags are removed
	*</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_stop?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Stop</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_stop?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Stop
Statement  Stop Version  2.1.7+ Purpose  Stop processing the spam rules 
Example


# Statements
Stop
# The script has stopped processing before it gets to this line</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_zipcount?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: ZipCount</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_zipcount?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: ZipCount
Statement  ZipCount Version  6.7+ Purpose  Enables the script to obtain the number of files contained in a ZIP attachment 
The ZipCount statement requires a message section number and variable name, in the format
ZipCount &lt;message section number&gt; &lt;variable name&gt;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_manylinks?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spamrules example - increase spam score if there are many links in the email</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_manylinks?rev=1542192349&amp;do=diff</link>
        <description>Spamrules example - increase spam score if there are many links in the email

This script is for the case where you to increase the spamminess of emails where the email contains many links - in this case we&#039;ll say if the email contains 10 or more links. Note that we do not necessarily recommend that you do this as it is not a very good indicator of spam, and will probably catch a lot of newsletter type emails, but it is something we&#039;ve been asked for, so here it is.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesham?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddBayesHam</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesham?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddBayesHam
Statement  AddBayesHam Version  2.1.7+ Purpose  Adds the current message to the &#039;not-spam&#039; (or &#039;ham&#039;) Bayesian database 
Example

Add the message to the &#039;not-spam&#039; database if score is less than 100


If ${Score} &lt; 100
 AddBayesHam
EndIf</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesspam?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddBayesSpam</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addbayesspam?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddBayesSpam
Statement  AddBayesSpam Version  2.1.7+ Purpose  Adds the current message to the &#039;spam&#039; Bayesian database 
Example

Add the message to the &#039;spam&#039; database if score is 100 or more


If ${Score} &gt;= 100
 AddBayesSpam
EndIf</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addblacklist?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddBlackList</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addblacklist?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddBlackList
Statement  AddBlackList Version  2.1.7+ Purpose  Adds the specified data to the blacklist 
Example


AddBlackList ${MailFrom}</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addnulladdress?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddNullAddress</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addnulladdress?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddNullAddress
Statement  AddNullAddress Version  2.2.1+ Purpose  Temporarily adds an email address to VPOP3&#039;s configuration where the mail will be discarded 
AddNullAddress is intended for use to make &#039;pseudo&#039; addresses, such as &#039;spam@&#039; and &#039;notspam@&#039; for the spam filter to process.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_addwhitelist?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: AddWhiteList</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_addwhitelist?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: AddWhiteList
Statement  AddWhiteList Version  2.1.7+ Purpose  Adds the specified data to the whitelist 
Example


AddWhiteList ${MailFrom}</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_break?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Break</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_break?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Break
Statement  Break Version  2.1.11+ Purpose  Breaks out of a loop prematurely 
Example


ForEach Recipient Rcpt
 IfMatch ${Rcpt} &quot;/@spammer.com/i&quot;
  ${Score} += 100
  Break
 EndIf
EndFor</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_clearbag?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: ClearBag</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_clearbag?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: ClearBag
Statement  ClearBag Version  2.2.1+ Purpose  Clears all items from a &#039;bag&#039; 
The ClearBag requires a bag name, in the format
ClearBag &lt;bag name&gt;
Example

The following example removes all values from the &#039;recipient&#039; bag


ClearBag recipient</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_copy?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Copy</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_copy?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Copy
Statement  Copy Version  2.1.7+ Purpose  Sends a copy of the message to the specified recipient (and optionally folder) 
Examples

To copy the message to the Postmaster user&#039;s inbox


Copy Postmaster


To copy the message to the Postmaster user&#039;s &#039;spam&#039; folder</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_redirect?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: Redirect</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_redirect?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Redirect
Statement  Redirect Version  2.1.7+ Purpose  Remove all original recipients, and send the message to the specified recipient (and optionally folder) 
Examples

To redirect the message to the Postmaster user&#039;s inbox


Redirect Postmaster</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesham?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveBayesHam</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesham?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveBayesHam
Statement  RemoveBayesHam Version  2.1.7+ Purpose  Removes the current message from the &#039;not-spam&#039; (or &#039;ham&#039;) Bayesian database 
Example

Remove the message from the &#039;not-spam&#039; database if score is 100 or more


If ${Score} &gt;= 100
 RemoveBayesHam
EndIf</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesspam?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveBayesSpam</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removebayesspam?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveBayesSpam
Statement  RemoveBayesSpam Version  2.1.7+ Purpose  Removes the current message from the &#039;spam&#039; Bayesian database 
Example

Remove the message from the &#039;spam&#039; database if score is less than 100


If ${Score} &lt; 100
 RemoveBayesSpam
EndIf</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removeblacklist?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveBlackList</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removeblacklist?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveBlackList
Statement  RemoveBlackList Version  2.1.7+ Purpose  Removes the specified data from the blacklist 
Example


RemoveBlackList ${MailFrom}</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_statement_removewhitelist?rev=1542192349&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2018-11-14T10:45:49+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Spam Filter Rules: RemoveWhiteList</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_statement_removewhitelist?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: RemoveWhiteList
Statement  RemoveWhiteList Version  2.1.7+ Purpose  Removes the specified data from the whitelist 
Example


RemoveWhiteList ${MailFrom}</description>
    </item>
</rdf:RDF>
