1 <!-- @(#) $Id: ./etc/rules/mailscanner_rules.xml, 2011/09/08 dcid Exp $
3 - Example of MailScanner rules for OSSEC.
5 - Copyright (C) 2009 Trend Micro Inc.
8 - This program is a free software; you can redistribute it
9 - and/or modify it under the terms of the GNU General Public
10 - License (version 2) as published by the FSF - Free Software
13 - License details: http://www.ossec.net/en/licensing.html
17 <group name="syslog,mailscanner,">
18 <rule id="3700" level="0">
19 <decoded_as>mailscanner</decoded_as>
20 <description>Grouping of mailscanner rules.</description>
23 <rule id="3701" level="0">
26 <description>Non spam message. Ignored.</description>
29 <rule id="3702" level="5">
32 <description>Mail Scanner spam detected.</description>
36 <rule id="3751" level="6" frequency="6" timeframe="180">
37 <if_matched_sid>3702</if_matched_sid>
39 <description>Multiple attempts of spam.</description>
40 <group>multiple_spam,</group>
43 <rule id="3752" level="0">
45 <program_name>update.bad.phishing.sites</program_name>
46 <match>^Phishing bad sites list updated</match>
47 <description>ignore</description>
50 </group> <!-- SYSLOG,MAILSCANNER -->