
Originally Posted by
[-Chaotic-]
Was getting a good number of spam emails to @aaserveradmins.com account. Just started within the last week or two.
I did not add the first attacment to the aasa domain, only the second one.
Can not block hotmail/yahoo/gmail etc over at aasa..
(too many cheaters need to file their appeals )
The second attachment is server-wide plus I'm using real-time
spam checks from sorb,spamhaus,etc.
Code:
# DNS based IP address spam list relays.ordb.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.relays.ordb.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: 551 Rejected - see http://ordb.org/
# DNS based IP address spam list bl.spamcop.net
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.bl.spamcop.net. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "552 Spam blocked see: http://spamcop.net/bl.shtml?" $&{client_addr}
# DNS based IP address spam list dnsbl.sorbs.net
# R$* $: $&{client_addr}
# R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.dnsbl.sorbs.net. $: OK $)
# ROK $: OKSOFAR
# R$+<tmp> $: TMPOK
# R$+ $#error $@ 5.7.1 $: "554 Rejected " $&{client_addr} " found in dnsbl.sorbs.net"
# DNS based IP address spam list rhsbl.sorbs.net
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.rhsbl.sorbs.net. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "555 Rejected " $&{client_addr} " found in rhsbl.sorbs.net"
# DNS based IP address spam list dnsbl.njabl.org
# R$* $: $&{client_addr}
# R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.dnsbl.njabl.org. $: OK $)
# ROK $: OKSOFAR
# R$+<tmp> $: TMPOK
# R$+ $#error $@ 5.7.1 $: 559 Message from $&{client_addr} rejected - see http://njabl.org/
# DNS based IP address spam list sbl.spamhaus.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.sbl.spamhaus.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "556 Rejected " $&{client_addr} " - see http://www.spamhaus.org/SBL/"
# DNS based IP address spam list cbl.abuseat.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.cbl.abuseat.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "557 Rejected " $&{client_addr} " - see http://cbl.abuseat.org"
# DNS based IP address spam list dnsbl.ahbl.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.dnsbl.ahbl.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "558 Host is on the AHBL - Please see http://www.ahbl.org/tools/lookup.php?ip="$&{client_addr}
# DNS based IP address spam list chinanet.blackholes.us
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.chinanet.blackholes.us. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "560 Rejected " $&{client_addr} " - listed by chinanet.blackholes.us"
## Added March 24 2006
# DNS based IP address spam list combined.njabl.org
# R$* $: $&{client_addr}
# R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.combined.njabl.org. $: OK $)
# ROK $: OKSOFAR
# R$+<tmp> $: TMPOK
# R$+ $#error $@ 5.7.1 $: "550 Rejected " $&{client_addr} " Your Spam was REJECTED - see http://njabl.org/lookup?$&{client_addr}"
## Added March 24 2006
# DNS based IP address spam list opm.blitzed.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.opm.blitzed.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "550 Rejected " $&{client_addr} " Your Spam was REJECTED - see see http://www.opm.blitzed.org/info/"
## Added March 24 2006
# DNS based IP address spam list xbl.spamhaus.org
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.xbl.spamhaus.org. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "550 Rejected " $&{client_addr} " Your Spam was REJECTED - see see http://www.spamhaus.org/xbl/"
## Added June 21 2006
# DNS based IP address spam list all.rbl.jp
R$* $: $&{client_addr}
R$-.$-.$-.$- $: $(dnsbl $4.$3.$2.$1.all.rbl.jp. $: OK $)
ROK $: OKSOFAR
R$+<tmp> $: TMPOK
R$+ $#error $@ 5.7.1 $: "550 Rejected " $&{client_addr} " Your Spam was REJECTED - see see http://all.rbl.jp/"
</tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp></tmp>
Bookmarks