1# CHECK-RECEIVED.RC
2#
3#  Function to analyze the IPs and domains from the Received: headers
4#  to see if they belong to the specified spammer.
5#
6#  Last updated: 9/06/2010
7
8# If this spammer has a list of domains associated with
9# him/her/them, test the extracted rDNS-obtained header domains and
10# body domains against that list.
11#
12:0
13* ? ${TEST} -f "${TESTDOMAINS}"
14{
15 INCLUDERC=${SBDIR}/functions/check-received-domains.rc
16}
17
18# Check IPs.
19#
20:0
21* ! SBCONFIG ?? ^Lite$
22* ? ${TEST} -f ${TESTCIDR}
23{
24 LT3=yes
25 INCLUDERC=${SBDIR}/functions/check-received-cidr.rc
26}
27