To help those struggling with the SoBig virus, where are some simple steps.
Another would be to use one of the anti-virus matchers, but we don't have
one bundled with James at this time. What we do have, however, is an
experimental Regex matcher, so ...
In a file, place the following:
Subject:.*Details
Subject:.*That movie
Subject:.*Wicked screensaver
Subject:.*Your application
Subject:.*Your details
Subject:.*My details
Subject:.*Approved
Subject:.*Thank you\!
In the root processor, after your other spam checks, add:
<mailet match="FileRegexMatcher=path-to-file"
class="ToProcessor">
<processor> check-spam </processor>
</mailet>
And add:
<processor name="check-spam">
<mailet match="HasAttachment"
class="ToProcessor">
<processor> spam </processor>
</mailet>
<mailet match="All"
class="ToProcessor">
<processor> transport </processor>
</mailet>
</processor>
If the message's Subject header is matched AND the message has an
attachment, it will go to the spam processor. If the header matches, but
there is no attachment, the message will be processed as normal. If you
want you can treat the FileRegexMatcher as a pure "bad headers" filter, skip
the HasAttachment check, and send the mail directly to the spam processor.
--- Noel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]