Examples |
Examples of setting rules for Dr.Web Modifier (by the example of global rules): 1.Select elements what satisfy two certain conditions. If these elements are present, remove the message. Otherwise, find all executable files attached to a message and delete them. After that, add the specified text to the end of the message: GlobalRules = select mime(headers) Content-type "text" \ 2.Delete messages received from the specified users: GlobalRules = select mime(headers) \ 3.Redirect messages received from the specified users: GlobalRules = select mime.headers \ In this case, original message is delivered to someaddress@my-net.com user and copy of this message is delivered to anotheraddress@my-net.com user. If you do not need to deliver the message to the original recipient, use the rule described below. 4.Select messages by certain conditions, redirect the selectes messages to the specified address and delete original messages in order not to deliver them to their original recipients: GlobalRules = select mime.headers Subject "Help", \ 5.Redirect messages received on the corporate mail box depending on the subject: a)Messages with subject satisfying to the expression "support|problem" are redirected to technical support; b)Messages with subject satisfying to the expression "price|sale|buy" are redirected to sales department; c)All other messages are redirected to the main mail box for incoming messages: GlobalRules = \ 6.Find and rename all attached executables: GlobalRules = select mime.headers \ |