Download Overview

Transcript
CONFIGURATION : RULE (CONT.)
Custom Header Field
If the header you want to filter on does not exist in the list of predefined fields, you can
enter the name of the MIME-header in this field.
Search Types
•Equals - The value / string must match exactly
•Not equals - The value / string must not match.
•Contains - Partial match
•Not contains - The value must not exist in the Predefined field / custom header field.
•Less than - Can only be used for values
•Greater than - Can only be used for values.
•Regular expression - Use a regular expression to match the value.
•Wildcard - Use a search string with wild cards to search for a value.
Value
Enter the value to search for, or a regular expression to use.
Test
Using the Test section in the Criteria dialog, you can test whether different values will
match your criteria. If the value you have typed in matches the criteria, you will see the text
Match next to the entered value. If not, you will see the text No match.
Actions
The action hMailServer should take when a message matches the rule criteria.
•Delete email - The message will be deleted and not delivered to the recipient
•Forward email - Forward the message to the specified address. The message will still be
delivered to the original recipient
•Move to IMAP folder - Move the message to a specific IMAP folder. This only applies when
the delivery is local. If the folder does not already exist, it is created.
•Reply - Reply to the sender with the specified message
•Run function - Runs a function in the hMailServer script file.
This function should take a hMailServer.Message object as parameter, for example Sub
OnSomething(oMessage).
•Set header value - This action lets you create or modify an existing header value.
•Stop rule processing - This action will cancel the remaining rules.
•Send using route - Normally hMailServer uses recipient addresses to determine whether
or not a route should be used. Using this rule action, you can override the default
behaviour. As an example, you can set up a rule which instructs hMailServer to send all
email being sent from a specific domain on to another server.
Page 74