1# SPAMMER-CHECK-BODY.RC
2#
3#  Function to analyze domains and IPs from the message body
4#  of a spam to see if they belong to/come from the specified
5#  spammer.
6#
7#  Last Updated: 10/07/2010
8
9LT2=no
10
11# If this spammer has a list of domains associated with
12# him/her/them, test the extracted rDNS-obtained header domains and
13# body domains against that list.
14#
15:0
16* ? ${TEST} -f "${TESTDOMAINS}"
17{ INCLUDERC=${SBDIR}/functions/spammer-check-body-domains.rc }
18
19# If this spammer has a list of IPs associated with him/her/it,
20# test the body IPs and rDNS-generated body host IPs against the list.
21#
22:0
23* ? ${TEST} -f ${TESTIPS}
24{ INCLUDERC=${SBDIR}/functions/spammer-check-body-ips.rc }
25
26# If the SpamBouncer isn't configured in Lite mode, check the
27# IPS of message body hosts.
28#
29:0
30* ! SBCONFIG ?? ^Lite$
31* ? ${TEST} -f ${TESTIPS}
32{ INCLUDERC=${SBDIR}/functions/spammer-check-body-host-ips.rc }
33