blob: 0b740b009b1af8a2c0a04adecf5543a8e0b8c1cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
divert(0)
VERSIONID(`@(#)rbl.m4 1.2 (RBL) 11/18/97')
LOCAL_RULESETS
#
# Deny spammers during MAIL command if the IP address of the incoming
# connection is in the RBL map (http://maps.vix.com/rbl/)
#
Scheck_mail
R$* $: $(dequote "" $&{client_addr} $)
R0 $@ OK
R$-.$-.$-.$- $: $(host $4.$3.$2.$1.rbl.maps.vix.com. $: OK $)
ROK $@ OK
R$+ $#error $@ 5.7.1 $: " Mail from " $(dequote "" $&{client_addr}$) " refused, see http://maps.vix.com/rbl/"
|