Return Home

Overview

<attach>
<body>
<body>
<clientip>
<comment>
<configuration>
<copy>
<delay>
<dnslookup>
<domainquery>
<email>
<expression>
<expressions>
<file>
<filter>
<filters>
<header>
<header>
<helo>
<http>
<imap>
<index>
<inputpath>
<ipquery>
<log>
<mailfrom>
<maxbuffer>
<maxlines>
<message>
<modifysource>
<multiplerecipients>
<option>
<parser>
<path>
<quickresult>
<rcptto>
<result>
<results>
<return>
<rule>
<rules>
<scope>
<select>
<smtpextendedstatuscode>
<smtpstatuscode>
<target_filter>
<target_index>
<test>
<title>

Boolean type

Macros
Regular Expressions

Node: expression

<expression collection="original" type="regex" casesensitive="yes" match="true" onfirstmatch="[script]" onmatch="[script]">Expression</expression>

<expression collection="original" type="regexlist" casesensitive="yes" match="true">Filename</expression>

<expression collection="original" type="eval" match="true">Evaluated Expression</expression>

Different variations of the email text are available for testing. Use the collection attribute to specify the variation the expressions defined within this node will use. If none is specified, the variation specified in the <expressions> node's collection attribute is used.

Attributes:

collection

original        base64 is decoded, all entity codes (like "&quot;") are decoded
text           
original, and all <html> tags are removed
text_stripped  
text, and all punctuation is removed
text_packed    
text, and all punctuation and whitespace is removed
packed         
original, and all punctuation and whitespace is removed
htmltags       
only <html> tags, everything else removed
stripped       
original, and all punctuation is removed

type

regex
regexlist
eval

casesensitive

yes
no

match

true
false

onfirstmatch

[script]

onmatch

[script]

Notes

The file format for type "regexlist" is a text file where each line contains a RegEx expression. Blank lines and lines starting with a semicolon (";") are ignored as comments.

Revision History:

- collection attribute requires v2.3.0 or higher
- text_packed collection attribute requires v2.3.1 or higher