<?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-06T05:24:24+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:whats_new_in_version_5_webmail?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:address_book_tab?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:webmail_tabs?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:webmail_status_bar?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_scripting?rev=1774568941&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:mail_tab?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:reference?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:database_schema_used_in_vpop3_5.x?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_smtp_server_script?rev=1746692615&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:scheduling_management_scripts?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:about?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:database_message_store?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_smtp_relay_control?rev=1755163495&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:new_message_tab?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:quarantine_tab?rev=1542192349&amp;do=diff"/>
                <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_addrandomtexttosubject?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_foreach?rev=1542192349&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_ifmatch?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:user_autoresponder?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:version_4_webmail?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:autoresponder_global_script?rev=1774279769&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:diagnostics?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:error_handling_script?rev=1700475481&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:global_signature?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:imap4_server_script?rev=1750675906&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_monitor_script?rev=1566922420&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_pop3_client_script?rev=1692172081&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:lua_smtp_mx_control?rev=1771948188&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:management_scripting?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:message_archive?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_addfixedtexttosubject?rev=1639408804&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_assignments?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_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_addheader?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_bulkscan?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_copybag?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_dbinsert?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_definesetting?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_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_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_getusergroup?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_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_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_iflocaladdress?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_redirect?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_removebag?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_removetags?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_statement_removewhitelist?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_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_statement_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/reference:spamrules_statement_zipcontentsfull?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:users_autoresponders?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:webmail_menu?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:whats_new_in_version_5_webmail?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>What&#039;s new in version 5 webmail?</title>
        <link>https://wiki.pscs.co.uk/reference:whats_new_in_version_5_webmail?rev=1542192349&amp;do=diff</link>
        <description>What&#039;s new in version 5 webmail?

This is a list of some of the most noticeable changes to VPOP3&#039;s webmail interface for version 5. For a more detailed list of changes, view our bugtracker.

[VPOP3 Version 5 - mobile compatible webmail]

Mobile compatible webmail

If you access version 5 webmail from a mobile device, you will probably be redirected to the mobile compatible version. It is a cut-down version of Webmail, which retains the key features, but doesn&#039;t utilise the extra features which w…</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:address_book_tab?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>Address Book tab</title>
        <link>https://wiki.pscs.co.uk/reference:address_book_tab?rev=1542192349&amp;do=diff</link>
        <description>Address Book tab

The Address Book tab within VPOP3 webmail enables you to manage your lists of contacts and add those contacts into a new or existing message. Substantial alterations to the interface were introduced in version 5. Both interfaces are documented.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:webmail_tabs?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>Webmail Tabs</title>
        <link>https://wiki.pscs.co.uk/reference:webmail_tabs?rev=1542192349&amp;do=diff</link>
        <description>Webmail Tabs

From version 4 onwards, VPOP3 webmail has a tabbed structure, which enables you to move between various screens with minimal effort.

By using tabs, the entire webmail can be loaded in one go - so there is no need to waste time and bandwidth by downloading the same key components each time you switch between the various parts of the webmail.</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:webmail_status_bar?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>Webmail Status bar</title>
        <link>https://wiki.pscs.co.uk/reference:webmail_status_bar?rev=1542192349&amp;do=diff</link>
        <description>Webmail Status bar

The Status bar within VPOP3 webmail displays important information at a glance.

[VPOP3 version 5.0 Webmail Status bar]

User - At the far left, is a display to let you know which user is currently logged in.

Version - After the username, there is an indication of the current VPOP3 version.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_scripting?rev=1774568941&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-26T23:49:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lua Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:lua_scripting?rev=1774568941&amp;do=diff</link>
        <description>Lua Scripting

Lua is a simple scripting programming language often used for embedding in other applications. VPOP3 uses it to customise behaviour in places where most people will be happy with the default behaviour, but occasionally people will want to do something more complicated. Rather than having lots of extra options to complicate things for most users, we have opted to go for a more flexible scripting facility.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:mail_tab?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>Mail tab</title>
        <link>https://wiki.pscs.co.uk/reference:mail_tab?rev=1542192349&amp;do=diff</link>
        <description>Mail tab

The Mail tab within VPOP3 webmail enables you to manage your sent and received messages.

As you can see from the screenshot, the page is divided into three main sections:
Menu bar    General tab bar          Status bar  
[Mail tab - VPOP3 Version 5 Webmail]

Page structure

Mail toolbar

The Mail toolbar contains the following buttons:</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:reference?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>VPOP3 Reference</title>
        <link>https://wiki.pscs.co.uk/reference:reference?rev=1542192349&amp;do=diff</link>
        <description>VPOP3 Reference

This is a reference guide for VPOP3 version 3 or later&#039;s settings. For details on how to do things, rather than what a particular button does, see the how to section.

Also see the online manual:

	*  Users
	*  Lists
	*  Mappings
	*  Mail Connectors
	*  Services
	*  Settings
	*  Status
	*  Reports
	*  About

	*  Status Monitor

	*</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:database_schema_used_in_vpop3_5.x?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>Database schema used in VPOP3 5.x</title>
        <link>https://wiki.pscs.co.uk/reference:database_schema_used_in_vpop3_5.x?rev=1542192349&amp;do=diff</link>
        <description>Database schema used in VPOP3 5.x

Note that all information in this section is subject to change. We do not guarantee that the database schema will remain constant, even between minor upgrade versions, so use this information at your own risk.

Do not alter the database schema used by VPOP3 (including indexes, triggers &amp; functions) or your whole VPOP3 data store may collapse.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_smtp_server_script?rev=1746692615&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-05-08T08:23:35+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>SMTP Server Lua Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:lua_smtp_server_script?rev=1746692615&amp;do=diff</link>
        <description>SMTP Server Lua Scripting

The SMTP Server Lua Script is called SMTPSVR.LUA and can be edited from the Settings -&gt; Scripts page in the VPOP3 settings. This script is called whenever an instance of the VPOP3 SMTP server is launched - ie whenever someone opens a connection to port 25 on the VPOP3 server to send it a message, whether from a local user or an incoming SMTP message.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:scheduling_management_scripts?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>Scheduling Management Scripts</title>
        <link>https://wiki.pscs.co.uk/reference:scheduling_management_scripts?rev=1542192349&amp;do=diff</link>
        <description>Scheduling Management Scripts

VPOP3 runs a script called scheduler.lua in the background, it will periodically call functions in this script at approximately 1 minute, 5 minute, 1 hour and 1 day intervals. These times are only approximate so should not be relied upon for timing.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:about?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>About</title>
        <link>https://wiki.pscs.co.uk/reference:about?rev=1542192349&amp;do=diff</link>
        <description>About

The VPOP3 &#039;About&#039; page lets you see the version and build number of your VPOP3 installation, along with any licence details, and supplier details (if any)

Licence Information

The Licence Information section shows your current licence information</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:database_message_store?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>Database -&gt; Message Store Tab</title>
        <link>https://wiki.pscs.co.uk/reference:database_message_store?rev=1542192349&amp;do=diff</link>
        <description>Database -&gt; Message Store Tab

This tab says how VPOP3 handles its message store

Message Store

The Delay while moving messages setting tells VPOP3 how quickly to import messages into the new database structure if it was upgraded from version 2.x or earlier. Usually this is OK to be left as it is, but if there is some special requirement to import the messages more quickly, you can decrease this number, but that will increase the load on the server.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_smtp_relay_control?rev=1755163495&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-08-14T09:24:55+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lua SMTP Relay Control</title>
        <link>https://wiki.pscs.co.uk/reference:lua_smtp_relay_control?rev=1755163495&amp;do=diff</link>
        <description>Lua SMTP Relay Control

Every time VPOP3 is going to send messages via SMTP Relay, it runs a script called relayout.lua in the VPOP3 directory.

Global Variables

This script may have global variables, depending on your version of VPOP3.

In VPOP3 3.0.0L and later, there are two read-only global variables set at the start of the script:</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:new_message_tab?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>New message tab</title>
        <link>https://wiki.pscs.co.uk/reference:new_message_tab?rev=1542192349&amp;do=diff</link>
        <description>New message tab

The New message tab within VPOP3 webmail is where you prepare, edit and send messages, including replies and forwards.

As you can see from the screenshot, the page is divided into two main sections:
Menu bar    General tab bar       Status bar 
[New message tab - VPOP3 Version 5 Webmail]

Page structure

New message toolbar</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:quarantine_tab?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>Quarantine tab</title>
        <link>https://wiki.pscs.co.uk/reference:quarantine_tab?rev=1542192349&amp;do=diff</link>
        <description>Quarantine tab

The Quarantine tab within VPOP3 webmail is where you view and manage messages that have been quarantined by VPOP3&#039;s spam filter.

As you can see from the screenshot, unlike many of the other webmail tabs, it is not divided into multiple sections:</description>
    </item>
    <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_addrandomtexttosubject?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>Use the spam filter scripting to add random text to the subject on incoming messages</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_addrandomtexttosubject?rev=1542192349&amp;do=diff</link>
        <description>Use the spam filter scripting to add random text to the subject on incoming messages

This needs VPOP3 version 5 or later.

This script is for the case where you want a message to the &#039;support&#039; user to have the text [XXX-99999] added to an incoming message&#039;s subject if it does not already exist. Some people want this text to use as reference numbers for a</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_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_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_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_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:user_autoresponder?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>Autoresponder</title>
        <link>https://wiki.pscs.co.uk/reference:user_autoresponder?rev=1542192349&amp;do=diff</link>
        <description>Autoresponder

An autoresponder is a way of automatically replying to messages as they arrive in a user&#039;s mailbox.

In VPOP3, an incoming message must arrive in a user&#039;s mailbox for the autoresponder to trigger. If you use forwards, assistants, mappings, etc to divert a message before it arrives in the mailbox, the autoresponder will never trigger. If you want to use an autoresponder, but not keep the original message, then make sure the message arrives in the mailbox (eg by using an &#039;Assistant&#039;…</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:version_4_webmail?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>VPOP3 Webmail Help</title>
        <link>https://wiki.pscs.co.uk/reference:version_4_webmail?rev=1542192349&amp;do=diff</link>
        <description>VPOP3 Webmail Help

Webmail is a way of accessing your mail using a normal web browser. It is designed to be close in functionality to a &#039;normal&#039; email client, so should be straightforward to use.

If you use VPOP3 Enterprise, then the mail visible through the web browser will be the same as that visible through your IMAP4 email client - the IMAP4 client will synchronise with Webmail.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:autoresponder_global_script?rev=1774279769&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-23T15:29:29+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Autoresponder Global Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:autoresponder_global_script?rev=1774279769&amp;do=diff</link>
        <description>Autoresponder Global Scripting

For scripting to modify the autoresponder text which is embedded in the autoresponder itself, see Autoresponder Scripting

The Autoresponder Global Script is executed for every autoresponse. It is stored in the &#039;Autoresponder.lua&#039; script in Settings → Scripts</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:diagnostics?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>Settings -&gt; Diagnostics</title>
        <link>https://wiki.pscs.co.uk/reference:diagnostics?rev=1542192349&amp;do=diff</link>
        <description>Settings -&gt; Diagnostics

The Diagnostics page allows you to enable, configure and disable various methods of diagnostic logging, within VPOP3.

Log file overview

By default, VPOP3 will keep two copies of most log files:

	*  The current log file, with a</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:error_handling_script?rev=1700475481&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-11-20T10:18:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Error Handling Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:error_handling_script?rev=1700475481&amp;do=diff</link>
        <description>Error Handling Scripting

For most error messages that VPOP3 generates, it allows control of error messages, eg to limit the frequency of error messages if they would be generated repeatedly. These limits are set in Settings -&gt; Admin Settings -&gt; Message Control. However, if you want more granular control, you can use Lua scripting for more fine-grained control</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:global_signature?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>Global Signature</title>
        <link>https://wiki.pscs.co.uk/reference:global_signature?rev=1542192349&amp;do=diff</link>
        <description>Global Signature

You can set a Global Signature in VPOP3 by going to Settings -&gt; Global Signature

The Global Signature option lets you tell VPOP3 to add a standard piece of text or HTML to the bottom of all outgoing messages.

You can create just a plain text, or</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:imap4_server_script?rev=1750675906&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-06-23T10:51:46+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>IMAP4 Server Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:imap4_server_script?rev=1750675906&amp;do=diff</link>
        <description>IMAP4 Server Scripting

(Added in V6.12)

DoCapability function

When the IMAP4 CAPABILITY command is received, VPOP3 generates a capability string based on settings, then calls
DoCapability(ipaddr, capabilities)
	*  ipaddr = IP address of the client computer</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_monitor_script?rev=1566922420&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-08-27T16:13:40+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Monitor Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:lua_monitor_script?rev=1566922420&amp;do=diff</link>
        <description>Monitor Scripting

(Added in V6.15)

This script has three functions:

	*  MonitorIncoming
	*  MonitorInternal
	*  MonitorOut

The functions are similar, except they are called when different messages are to be monitored (incoming, internal and outgoing messages respectively).</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_pop3_client_script?rev=1692172081&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-08-16T07:48:01+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>POP3 Client Lua Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:lua_pop3_client_script?rev=1692172081&amp;do=diff</link>
        <description>POP3 Client Lua Scripting

The POP3 Client Lua Script is called POP3CLT.LUA and is edited in Settings -&gt; Scripts. This script is called whenever VPOP3 runs a POP3 session to download messages from a remote POP3 server.

VPOP3 will call the following Lua functions in the script at the following times:</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:lua_smtp_mx_control?rev=1771948188&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-24T15:49:48+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Lua SMTP MX Control</title>
        <link>https://wiki.pscs.co.uk/reference:lua_smtp_mx_control?rev=1771948188&amp;do=diff</link>
        <description>Lua SMTP MX Control

Every time VPOP3 is going to send messages using direct MX sending, it runs a script called mxout.lua which can be created/edited in Settings -&gt; Scripts (or in the VPOP3 directory in VPOP3 v6.6 or earlier).

Global Variables

Starting with v8.8, the following global variables are defined:</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:management_scripting?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>Management Scripting</title>
        <link>https://wiki.pscs.co.uk/reference:management_scripting?rev=1542192349&amp;do=diff</link>
        <description>Management Scripting

In VPOP3 Enterprise, from version 6.17 there is the facility to run Lua scripts manually or according to a schedule. These scripts can do things like access mail folders &amp; messages and perform some maintenance on them.

Creating a new script</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:message_archive?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>Message Archive</title>
        <link>https://wiki.pscs.co.uk/reference:message_archive?rev=1542192349&amp;do=diff</link>
        <description>Message Archive

The Message Archive facility is for VPOP3 to store copies of all messages sent or received. It stores the messages in a central archive store which can be searched by an administrator.
The prime purpose of the archive facility is for recording messages in case of possible disputes, as you can see what was sent/received by email. It can also be used as a backup/restore facility in an emergency, but that is not its prime purpose, so it is better to have a proper</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_addfixedtexttosubject?rev=1639408804&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-12-13T15:20:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Use the spam filter scripting to add fixed text to the subject on incoming messages</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_addfixedtexttosubject?rev=1639408804&amp;do=diff</link>
        <description>Use the spam filter scripting to add fixed text to the subject on incoming messages

This needs VPOP3 version 5 or later.

This script allows you to add fixed text to the subject an incoming message, eg so that users can see that a message is an incoming rather than local message (be aware of weaknesses in this strategy - eg forwarded messages, spoofing of the marker, breaking DKIM message signatures, etc)</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_assignments?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: Assignments</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_assignments?rev=1542192349&amp;do=diff</link>
        <description>Spam Filter Rules: Assignments

You can assign values to variables using the syntax


${variable} = value | ${variable}


Assignment operators

The spam filter rules support the following assignment operators:
=  Specify the value of the variable to equal the value after the assignment operator</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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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_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>
    <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_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_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_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/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_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:users_autoresponders?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>Users.Autoresponders table</title>
        <link>https://wiki.pscs.co.uk/reference:users_autoresponders?rev=1542192349&amp;do=diff</link>
        <description>Users.Autoresponders table

The Users.Autoresponders table contains the users&#039; autoresponder definitions

Columns

	*  autoresponderid - this is a numeric id of the autoresponder entry (primary key)
	*  owneruser - this is the numeric id of the user which the autoresponder belongs to (or 0 for a &#039;template&#039; autoresponder)</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:webmail_menu?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>Webmail Menu bar</title>
        <link>https://wiki.pscs.co.uk/reference:webmail_menu?rev=1542192349&amp;do=diff</link>
        <description>Webmail Menu bar

The Webmail Menu bar within VPOP3 webmail enables you to quickly perform relevant actions.

The Menu has six main headings; of which, three have multiple options.
  Option    Active    Function   V  Notes Message  Mail and View Message tabs  Opens/closes Message menu</description>
    </item>
</rdf:RDF>
