re.rules - Stores spam rules configuration
/opt/pmx/etc/spam.d/re.rules
The re.rules file stores custom rules. The rule configuration is
stored in the re.rules file; to adjust the weight or probability delta
for custom rules, use the pmx-spam
program. See the pmx-spam manpage for
more information.
- <rule_name>
-
The rule name must be unique; it cannot have the same name as a default
rule.
- Description
-
Enter a description for the rule.
- Part
-
Enter the component of the message that should be tested. Values include:
- Envelope-To
-
The recipient addresses, as interpreted from the SMTP 'RCPT TO' command;
the actual delivery address, as opposed to the message's 'To' header.
- Envelope-From
-
The sender's address, as interpreted from the SMTP 'MAIL FROM' command.
- BODY
-
Consecutive chunks of the message's body content (paragraphs); HTML
parts are stripped of markup tags. Useful for matching words obfuscated by
HTML tags.
- RAWBODY
-
Consecutive chunks of the message's body content (paragraphs); markup
tags in HTML parts are left intact. Useful for matching HTML markup
characteristics.
- URI
-
URI strings found in the body of the message.
- EOB
-
The entire message body; HTML parts are stripped of markup tags. EOB is
resource-intensive, as the entire message must be loaded at once. Use 'BODY'
if possible.
- RAWEOB
-
The entire message body; markup tags in HTML parts are left intact. RAWEOB is
resource-intensive, as the entire message must be loaded at once.
Use 'RAWBODY' if possible.
- EOH
-
All of the message's headers, concatenated into a single string.
- Full
-
The entire message, including headers.
- Test
-
Enter a regular expression to test against the specified part. Enclose the
regular expression in frontslashes (for example, /regex/). For information
about constructing regular expressions, see the Regular Expression Primer in
the Administrator's Reference, or enter
man perlretut
on the command line.
- </rule_name>
Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and
PureMessage are trademarks of Sophos Plc and Sophos Group.