<?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:02+00:00</dc:date>
        <items>
            <rdf:Seq>
                <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:listserver_commands?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:autoresponder_commands?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:smtp_vrfy_expn?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:database_backups?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:database_restore?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:listserver_settings?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:running_database_updates_within_a_transaction?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:status_monitor_protocol?rev=1566205125&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_statement_star_ifsupport?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:msgaudit?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:smtp_advanced?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:autoresponders_v3_v4?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:imap4_advanced?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:incoming_smtp?rev=1542192349&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:make_lan_forwarding_immediately_attempt_to_dequeue_all_pending_messages?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:os.timedexecute?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:smtpstats_smtpclientfailures?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:alter_lan_forwarding_queued_messages_going_to_one_server_to_go_to_another?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:alter_lan_forwarding_rules_for_one_server_to_go_to_another?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:batch_file_to_end_a_database_backup?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:copy_smtp_rules?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:delete_list_member_from_all_lists?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:export_lan_forwarding_rules?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:find_biggest_messages?rev=1562573942&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:find_forwards_assistants_etc?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:find_message?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:get_all_lists_members?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:group_a_user_s_folders_into_letter_groups?rev=1773659562&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:list_all_messages_in_lan_forwrding_queue?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:list_failed_message_send_summary?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:list_messages_in_lan_forwrding_queue_waiting_to_go_to_a_specific_server?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:lua_smtp_relay_control?rev=1755163495&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:misc_advanced?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:misc_general?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:pop3_collection?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:reset_message_folder_counts?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:sent_message_summary?rev=1542192349&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:spamrules_ipwhitelist?rev=1643111967&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:temporary_files?rev=1771523787&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:useful_database_queries?rev=1773658952&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.pscs.co.uk/reference:view_password_change_history?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: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:listserver_commands?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>ListServer Commands</title>
        <link>https://wiki.pscs.co.uk/reference:listserver_commands?rev=1542192349&amp;do=diff</link>
        <description>ListServer Commands

The ListServer is an automated process in VPOP3 which manages mailing lists. People can send commands to the ListServer to perform various functions remotely.

Whether these commands are allowed, and exactly how they work depends on the particular mailing list&#039;s settings.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:autoresponder_commands?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 Commands</title>
        <link>https://wiki.pscs.co.uk/reference:autoresponder_commands?rev=1542192349&amp;do=diff</link>
        <description>Autoresponder Commands

This article only applies to VPOP3 v4 and earlier

A VPOP3 autoresponder can contain special text strings to create special behaviour, in addition to plain text as part of the response.

There are three types of &#039;command&#039;

	*</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:smtp_vrfy_expn?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>SMTP Service -&gt; VRFY/EXPN Tab</title>
        <link>https://wiki.pscs.co.uk/reference:smtp_vrfy_expn?rev=1542192349&amp;do=diff</link>
        <description>SMTP Service -&gt; VRFY/EXPN Tab

Services -&gt; SMTP Server -&gt; VRFY/EXPN Tab

VRFY and EXPN are SMTP commands which allow another computer to verify email addresses without sending mail to them. See RFC 5321 for technical details.

Usually, these commands should be disabled for security purposes, but some other software may be able to use these commands for various reasons. In this case, you can enable them, but restrict access to the IP address(es) you trust.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:database_backups?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; Backups Tab</title>
        <link>https://wiki.pscs.co.uk/reference:database_backups?rev=1542192349&amp;do=diff</link>
        <description>Database -&gt; Backups Tab

The Backups tab lets you specify how VPOP3 will make its daily backup of its database.

We strongly recommend that you backup the database regularly in case of disk problems or file corruption. You can use the VPOP3 backup feature, or manually backup the PostgreSQL database using the pg_dump command, or use another program to backup the PostgreSQL database if you wish. Note that a simple disk copy will</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:database_restore?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; Restore Tab</title>
        <link>https://wiki.pscs.co.uk/reference:database_restore?rev=1542192349&amp;do=diff</link>
        <description>Database -&gt; Restore Tab

This tab is only in VPOP3 Enterprise (v5 and later), and is for performing a partial (mailbox/mail folder) restore of the database. To do a full restore of the database, or for VPOP3 Basic/Standard, see the “Restore a Backup of VPOP3” topic

Using the</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:listserver_settings?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>ListServer Settings</title>
        <link>https://wiki.pscs.co.uk/reference:listserver_settings?rev=1542192349&amp;do=diff</link>
        <description>ListServer Settings

Settings -&gt; ListServer Settings

In VPOP3, the ListServer is an automated &#039;user&#039; which handles mailing list requests, such as subscribe &amp; unsubscribe commands.

Anyone can send an email to the ListServer to subscribe to (public) mailing lists, or unsubscribe from mailing lists they are on, or see a list of public mailing lists etc.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:running_database_updates_within_a_transaction?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>Running database updates within a transaction</title>
        <link>https://wiki.pscs.co.uk/reference:running_database_updates_within_a_transaction?rev=1542192349&amp;do=diff</link>
        <description>Running database updates within a transaction

This is a trick which database experts use, because they have learned (often the hard way) that a simple mistype can trash a database...

Before running any database query which can alter the database (UPDATE, DELETE, INSERT, DROP, CREATE, ALTER) begin a database transaction using the</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:status_monitor_protocol?rev=1566205125&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-08-19T08:58:45+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Status Monitor (port 5109) protocol</title>
        <link>https://wiki.pscs.co.uk/reference:status_monitor_protocol?rev=1566205125&amp;do=diff</link>
        <description>Status Monitor (port 5109) protocol

This page documents the protocol used between VPOP3 and the Status Monitor. It&#039;s not intended for any other purpose, so it&#039;s a bit limited, but in certain cases you may find this useful

Login

Before the Status Monitor receives any updates or can issue commands it must log in using a user&#039;s credentials.</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_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: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:msgaudit?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>msgaudit Database table</title>
        <link>https://wiki.pscs.co.uk/reference:msgaudit?rev=1542192349&amp;do=diff</link>
        <description>msgaudit Database table

This can (optionally) contain data showing how messages have been handled (eg deleted, moved, etc)

	*  id - incrementing ID of msgaudit entry
	*  datetime - the date &amp; time the event occurred
	*  component - which VPOP3 component performed the event</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:smtp_advanced?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>SMTP Service -&gt; Advanced Tab</title>
        <link>https://wiki.pscs.co.uk/reference:smtp_advanced?rev=1542192349&amp;do=diff</link>
        <description>SMTP Service -&gt; Advanced Tab

Services -&gt; SMTP Server -&gt; Advanced Tab

Refuse SMTP Connections from

This setting should be rarely needed, and should be normally left blank. It is here for historic purposes.

If you put some text in this box, then VPOP3 will refuse any SMTP connections from clients whose &#039;HELO&#039;/&#039;EHLO&#039; command data contains the text specified here as a substring. Eg, if this setting is set to &#039;.myisp.com&#039;, then VPOP3 would refuse SMTP connections from any client which sends the c…</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:autoresponders_v3_v4?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>Autoresponders - v3 and v4</title>
        <link>https://wiki.pscs.co.uk/reference:autoresponders_v3_v4?rev=1542192349&amp;do=diff</link>
        <description>Autoresponders - v3 and v4

This section lets you define an autoresponder for a user. An autoresponder is a message which is sent back in response to a message which arrives in this user&#039;s mailbox.

The Autoresponder Type can be set to None, Simple Autoresponder</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:imap4_advanced?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>IMAP4 -&gt; Advanced tab</title>
        <link>https://wiki.pscs.co.uk/reference:imap4_advanced?rev=1542192349&amp;do=diff</link>
        <description>IMAP4 -&gt; Advanced tab

This page is reached from Services -&gt; IMAP4 Server, then the Advanced tab.

Here are some advanced options for the IMAP4 service in VPOP3

Fake access to inaccessible mailboxes

In the IMAP4 service you may have folders which do not exist. For instance, if you are accessing a shared Inbox folder from a user called &#039;Karen&#039;, then their folder will be called</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:incoming_smtp?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>Incoming SMTP Mail</title>
        <link>https://wiki.pscs.co.uk/reference:incoming_smtp?rev=1542192349&amp;do=diff</link>
        <description>Incoming SMTP Mail

If you have an incoming SMTP mail feed, then the mail server sending mail to you will connect to your VPOP3 computer to send the mail. The mail connection is controlled by the sending computer.

IMPORTANT

If you have a permanent Internet connection with a static IP address, the usual way of having incoming SMTP is to configure your</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:make_lan_forwarding_immediately_attempt_to_dequeue_all_pending_messages?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 query to make LAN Forwarding immediately attempt to dequeue all pending messages</title>
        <link>https://wiki.pscs.co.uk/reference:make_lan_forwarding_immediately_attempt_to_dequeue_all_pending_messages?rev=1542192349&amp;do=diff</link>
        <description>Database query to make LAN Forwarding immediately attempt to dequeue all pending messages

If VPOP3 cannot send messages using LAN Forwarding it will queue the message and retry periodically. Usually there is no need to do anything special if there was a problem with the onward mail server which has now been fixed, VPOP3 should soon retry the messages automatically (based on the value of the</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:os.timedexecute?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>os.timedexecute</title>
        <link>https://wiki.pscs.co.uk/reference:os.timedexecute?rev=1542192349&amp;do=diff</link>
        <description>os.timedexecute

The Lua function &#039;os.timedexecute&#039; runs an external program with a time limit

It takes three parameters:

	*  The program/command line to execute
	*  The time to wait for completion (in seconds). If this time expires, the program is terminated</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:smtpstats_smtpclientfailures?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>SMTPStats.SMTPClientFailures table</title>
        <link>https://wiki.pscs.co.uk/reference:smtpstats_smtpclientfailures?rev=1542192349&amp;do=diff</link>
        <description>SMTPStats.SMTPClientFailures table

The SMTPStats.SMTPClientFailures table contains logging data about errors/usage for the SMTP Services in VPOP3. These are used for the Intrusion Protection facility &amp; logging.

Columns

	*  id - sequential ID for the event
	*  ipaddress - the SMTP client&#039;s IP address</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:alter_lan_forwarding_queued_messages_going_to_one_server_to_go_to_another?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 query to alter LAN Forwarding rules for one server to go to another</title>
        <link>https://wiki.pscs.co.uk/reference:alter_lan_forwarding_queued_messages_going_to_one_server_to_go_to_another?rev=1542192349&amp;do=diff</link>
        <description>Database query to alter LAN Forwarding rules for one server to go to another

If a LAN forwarding destination server fails, you may wish to change the queued messages to go to the new server. (Note that, if planning ahead, it may be easier to use DNS</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:alter_lan_forwarding_rules_for_one_server_to_go_to_another?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 query to alter LAN Forwarding rules for one server to go to another</title>
        <link>https://wiki.pscs.co.uk/reference:alter_lan_forwarding_rules_for_one_server_to_go_to_another?rev=1542192349&amp;do=diff</link>
        <description>Database query to alter LAN Forwarding rules for one server to go to another

If a LAN forwarding destination server fails, you may wish to change the LAN forwarding rules to point to the new server. (Note that, if planning ahead, it may be easier to use</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:batch_file_to_end_a_database_backup?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>Batch file to end a database backup</title>
        <link>https://wiki.pscs.co.uk/reference:batch_file_to_end_a_database_backup?rev=1542192349&amp;do=diff</link>
        <description>Batch file to end a database backup

VPOP3 runs pg_dump.exe to perform the regular database backups. Ending this process through Task Manager will not end the back-end database processes creating the backup data. This batch file will do it for you.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:copy_smtp_rules?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>Copy SMTP Rules - Database Query</title>
        <link>https://wiki.pscs.co.uk/reference:copy_smtp_rules?rev=1542192349&amp;do=diff</link>
        <description>Copy SMTP Rules - Database Query

This is an advanced Database action. There is no simple query that will perform the required operation, so we have to create a custom PostgreSQL function to copy the data.

At a command prompt in the VPOP3 directory run</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:delete_list_member_from_all_lists?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>Delete list member from all lists</title>
        <link>https://wiki.pscs.co.uk/reference:delete_list_member_from_all_lists?rev=1542192349&amp;do=diff</link>
        <description>Delete list member from all lists

You can delete an email address from all VPOP3 distribution &amp; mailing lists.

Go to Settings → Database → Query

Alternatively, at a command prompt in the VPOP3 directory run
psql
(The password is &#039;vpop3pass&#039;)</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:export_lan_forwarding_rules?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 query to export LAN Forwarding rules</title>
        <link>https://wiki.pscs.co.uk/reference:export_lan_forwarding_rules?rev=1542192349&amp;do=diff</link>
        <description>Database query to export LAN Forwarding rules

At a command prompt in the VPOP3 directory run
psql

(The password is &#039;vpop3pass&#039;)

Then, type
\copy (select conditions, address, server, username, password, outaddress as rewriteaddress, matchcount as matches from rules.lanforwarding order by ruleorder) to &#039;c:/temp/x.csv&#039; csv header;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:find_biggest_messages?rev=1562573942&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2019-07-08T08:19:02+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Find biggest messages</title>
        <link>https://wiki.pscs.co.uk/reference:find_biggest_messages?rev=1562573942&amp;do=diff</link>
        <description>Find biggest messages

To find the 10 biggest messages in your VPOP3 message store:

Go to Settings → Database → Query

Alternatively, at a command prompt in the VPOP3 directory run
psql
(The password is &#039;vpop3pass&#039;)

Then, type


SELECT username, folder, subject, fromaddr, PG_SIZE_PRETTY(size) FROM messages.messages INNER JOIN messages.folders f USING(folderid) INNER JOIN users.users u ON u.usernumber=f.userid ORDER BY size DESC LIMIT 10;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:find_forwards_assistants_etc?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 query to find forwards/assistants etc in user settings</title>
        <link>https://wiki.pscs.co.uk/reference:find_forwards_assistants_etc?rev=1542192349&amp;do=diff</link>
        <description>Database query to find forwards/assistants etc in user settings

Go to Settings -&gt; Database -&gt; Query

Alternatively, at a command prompt in the VPOP3 directory run
psql
(The password is &#039;vpop3pass&#039;)

Then, type
select username,dataname,datavalue from users.usersettings inner join 
users.users using(usernumber) where datavalue ilike &#039;%searchname%&#039;;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:find_message?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>Find a message</title>
        <link>https://wiki.pscs.co.uk/reference:find_message?rev=1542192349&amp;do=diff</link>
        <description>Find a message

If you know the subject of a message, you can search the entire message store for messages with this subject.

Go to Settings → Database → Query

Alternatively, at a command prompt in the VPOP3 directory run
psql
(The password is &#039;vpop3pass&#039;)</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:get_all_lists_members?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 query to get all lists and members</title>
        <link>https://wiki.pscs.co.uk/reference:get_all_lists_members?rev=1542192349&amp;do=diff</link>
        <description>Database query to get all lists and members

At a command prompt in the VPOP3 directory run
psql

(The password is &#039;vpop3pass&#039;)

Then, type
\copy (select l.name, address from users.listmembers m inner join users.lists l on m.list=l.id) to &#039;c:/temp/x.csv&#039; csv header;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:group_a_user_s_folders_into_letter_groups?rev=1773659562&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-16T11:12:42+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Group a user&#039;s folders into letter groups</title>
        <link>https://wiki.pscs.co.uk/reference:group_a_user_s_folders_into_letter_groups?rev=1773659562&amp;do=diff</link>
        <description>Group a user&#039;s folders into letter groups

This is useful in VPOP3 Enterprise if you have a large folder with many subfolders and want to group the subfolders into other subfolders based on their first letter

For example, if you have

	*  Customers</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:list_all_messages_in_lan_forwrding_queue?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 query to list ALL messages in the LAN forwarding queue</title>
        <link>https://wiki.pscs.co.uk/reference:list_all_messages_in_lan_forwrding_queue?rev=1542192349&amp;do=diff</link>
        <description>Database query to list ALL messages in the LAN forwarding queue

The VPOP3 settings show the first 100 messages in the LAN forwarding queue. Usually this is sufficient as the LAN forwarding queue is usually nearly empty, but in case of a problem it may be much bigger. The database queries below may help in that situation.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:list_failed_message_send_summary?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 query to list failed message sends</title>
        <link>https://wiki.pscs.co.uk/reference:list_failed_message_send_summary?rev=1542192349&amp;do=diff</link>
        <description>Database query to list failed message sends

This will list failed outgoing messages from the last 3 days (with the default VPOP3 settings)

At a command prompt in the VPOP3 directory run
psql

(The password is &#039;vpop3pass&#039;)

Then, type
select created,returnpath,subject,username || &#039;@&#039; || domain as recipient, latesterror 
from outqueue.outrecipients inner join outqueue.outmessages using(msgid) where
failedtime is not null order by created desc;</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:list_messages_in_lan_forwrding_queue_waiting_to_go_to_a_specific_server?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 query to list messages in the LAN forwarding queue waiting to go to a specific server</title>
        <link>https://wiki.pscs.co.uk/reference:list_messages_in_lan_forwrding_queue_waiting_to_go_to_a_specific_server?rev=1542192349&amp;do=diff</link>
        <description>Database query to list messages in the LAN forwarding queue waiting to go to a specific server

The VPOP3 settings show the first 100 messages in the LAN forwarding queue. Usually this is sufficient as the LAN forwarding queue is usually nearly empty, but in case of a problem it may be much bigger. The database queries below let you list just messages going to a specific server.</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: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:misc_advanced?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>Misc -&gt; Advanced Tab</title>
        <link>https://wiki.pscs.co.uk/reference:misc_advanced?rev=1542192349&amp;do=diff</link>
        <description>Misc -&gt; Advanced Tab

Settings -&gt; Misc Settings -&gt; Advanced

You will normally not need to change any settings on this page unless VPOP3 technical support have suggested it.

If you do make changes, and want to go back to the original settings, the Restore Defaults button will restore the settings to their defaults.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:misc_general?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>Misc -&gt; General Tab</title>
        <link>https://wiki.pscs.co.uk/reference:misc_general?rev=1542192349&amp;do=diff</link>
        <description>Misc -&gt; General Tab

VPOP3 Host Name

The VPOP3 Host Name is used by VPOP3 when it is telling other mail software what it is called. For instance, when it connects to another SMTP server it will send the host name as the parameter for the HELO or EHLO command, and when an SMTP client connects to VPOP3, it announces its name in the welcome banner as required by the SMTP standard.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:pop3_collection?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>POP3 Mail Collection</title>
        <link>https://wiki.pscs.co.uk/reference:pop3_collection?rev=1542192349&amp;do=diff</link>
        <description>POP3 Mail Collection

POP3 Mail Collection is when VPOP3 will collect mail from an external POP3 mailbox - for instance, from an Internet Provider.

POP3 General

This page tells VPOP3 how to collect mail.



	*  POP3 Server Address - this is the name (or IP address) of the POP3 server from which you want VPOP3 to collect mail</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:reset_message_folder_counts?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>Reset Message Folder Counts</title>
        <link>https://wiki.pscs.co.uk/reference:reset_message_folder_counts?rev=1542192349&amp;do=diff</link>
        <description>Reset Message Folder Counts

In extremely rare cases, the mail folder message counts in the database may get out of step with the actual stored messages. There are database triggers which will keep the counts in sync during normal operation, but if you have to manipulate the database directly (eg to recover from a corrupted database) it is possible that they will get out of step.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:sent_message_summary?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>Sent message summary</title>
        <link>https://wiki.pscs.co.uk/reference:sent_message_summary?rev=1542192349&amp;do=diff</link>
        <description>Sent message summary

This will display the number of messages sent and total size over the past month. (It counts each recipient as its own message). You must have Historical Logging enabled in VPOP3 (Settings -&gt; Logging)

At a command prompt in the VPOP3 directory run</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:spamrules_ipwhitelist?rev=1643111967&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2022-01-25T11:59:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Allow messages through from a specific IP address</title>
        <link>https://wiki.pscs.co.uk/reference:spamrules_ipwhitelist?rev=1643111967&amp;do=diff</link>
        <description>Allow messages through from a specific IP address

This script allows messages through the spam filter if they arrive at VPOP3 from a specific SMTP sender (only when the message is sent directly to VPOP3 using SMTP, not via another server).

Add the following to the spamrules_userlocal.txt file. This script file gets processed on all messages.</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:temporary_files?rev=1771523787&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-02-19T17:56:27+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Temporary Files</title>
        <link>https://wiki.pscs.co.uk/reference:temporary_files?rev=1771523787&amp;do=diff</link>
        <description>Temporary Files

This is for files in the VPOP3\_temp folder

Most of the filename is the hexadecimal timestamp (in Windows &#039;FILETIME&#039;/65536 form) with a 4 digit hex sequential number afterwards. The first letter or two (usually G-Z) can tell something about what caused the file.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:useful_database_queries?rev=1773658952&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2026-03-16T11:02:32+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>Useful Database Queries</title>
        <link>https://wiki.pscs.co.uk/reference:useful_database_queries?rev=1773658952&amp;do=diff</link>
        <description>Useful Database Queries

Below are some database (SQL) queries which may be useful in some situations. You can run these from the &#039;psql&#039; program at the command prompt. Some can also be run from the Settings -&gt; Database -&gt; Query page in the VPOP3 settings.</description>
    </item>
    <item rdf:about="https://wiki.pscs.co.uk/reference:view_password_change_history?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 query to view password change history</title>
        <link>https://wiki.pscs.co.uk/reference:view_password_change_history?rev=1542192349&amp;do=diff</link>
        <description>Database query to view password change history

At a command prompt in the VPOP3 directory run
psql

(The password is &#039;vpop3pass&#039;)

Then, type
select username,updateuser,updatetime from settingaudit inner join users.users on 
keyfield=usernumber::varchar where tablename=&#039;users.usersettings&#039; and 
keyfield2=&#039;mainpassword&#039; order by updatetime desc;</description>
    </item>
</rdf:RDF>
