diff options
Diffstat (limited to 'debian/rbl.m4')
-rw-r--r-- | debian/rbl.m4 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/rbl.m4 b/debian/rbl.m4 new file mode 100644 index 0000000..0b740b0 --- /dev/null +++ b/debian/rbl.m4 @@ -0,0 +1,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/" |