Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Nov 1997 09:07:49 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        mark@grondar.za (Mark Murray)
Cc:        jkh@time.cdrom.com, grog@lemis.com, jmb@FreeBSD.ORG, chat@hub.freebsd.org
Subject:   Re: major push by spammers?
Message-ID:  <199711261707.JAA01680@hub.freebsd.org>
In-Reply-To: <199711261658.SAA00331@greenpeace.grondar.za> from "Mark Murray" at Nov 26, 97 06:58:28 pm

next in thread | previous in thread | raw e-mail | index | archive | help
Mark Murray wrote:
> 
> By far the mest method is Paul Vixies RBL (Realtime Blackhole List). See
> http://maps.vix.com/rbl/ - There are some sendmail rules that work 
> really well. The cool thing is that DNS outages are failsafe.

	well......i have installed this on hub.freebsd.org, rou
	mailing list mail server, and have yet to see it block
	single message.  now it is the last check before allowing
	the mail thru, so it seems that we are catching everything
	in RBL before we query RBL.


Scheck_mail
# called with envelope sender (everything after ":") in
# "Mail From: xxx", of SMTP conversation
#	may or may not have "<" ">"
# first check: DNS resolvable?
R$*			$: <?> $>3 $1
R<?> $* < @ $+ . >	$: $2 
R<?> $* < @ $+ >	$: $2 
R<?> $* < @ $+ >	$#error $: "451 Domain does not resolve"
# resolved.  second check:  one of the know spam sources?
R$+.$+.$+		$2.$3  
R$*			$: $(spamsites $1 $: OK $)
ROK			$@ OK 
R$+.REJECT		$#error $: 521 $1 
# not a spam source we know about.   check ip address with RBL
R$*			$: $(dequote "" $&{client_addr} $)
R$-.$-.$-.$-		$(host $4.$3.$2.$1.rbl.maps.vix.com $:OK $)
ROK			$@ OK
R$+			$#error $: "550 Mail refused, see http://maps.vix.com/rbl"

jmb



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711261707.JAA01680>