This shows you the differences between two versions of the page.
Previous revision | |||
— | reference:spamrules_statement_bulkscan [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Spam Filter Rules: BulkScan====== | ||
+ | ^Statement | ||
+ | ^Version | ||
+ | ^Purpose | ||
+ | The **BulkScan** statement requires a variable name and a limitless number of search specifiers, in the format | ||
+ | BulkScan < | ||
+ | <search specifier 1> | ||
+ | <search specifier 2> | ||
+ | #... | ||
+ | EndBulkScan | ||
+ | |||
+ | The <search specifier> | ||
+ | < | ||
+ | |||
+ | VPOP3 goes through all of the search specifiers between the BulkScan and EndBulkScan statements. Where there is a match, the value of the specified variable is increased by the < | ||
+ | |||
+ | * The < | ||
+ | * The **BulkScan** statement must be terminated with **EndBulkScan** | ||
+ | * No statements may be included between **BulkScan** and **EndBulkScan**, | ||
+ | |||
+ | |||
+ | =====Example===== | ||
+ | The following example will make a BulkScan sequence which will modify the ${Score} variable, and has a name of ' | ||
+ | It will scan the subject of the message for ' | ||
+ | Then, it will scan any text parts of the message for a dollar sign followed by one more more digits, then optional spaces, then the text ' | ||
+ | < | ||
+ | BulkScan Score [LoadsADosh] | ||
+ | | ||
+ | Body / | ||
+ | EndBulkScan | ||
+ | </ |