From owner-freebsd-chat Wed Nov 26 09:08:10 1997 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01719 for chat-outgoing; Wed, 26 Nov 1997 09:08:10 -0800 (PST) (envelope-from owner-freebsd-chat@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA01680; Wed, 26 Nov 1997 09:07:50 -0800 (PST) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199711261707.JAA01680@hub.freebsd.org> Subject: Re: major push by spammers? To: mark@grondar.za (Mark Murray) Date: Wed, 26 Nov 1997 09:07:49 -0800 (PST) Cc: jkh@time.cdrom.com, grog@lemis.com, jmb@FreeBSD.ORG, chat@hub.freebsd.org In-Reply-To: <199711261658.SAA00331@greenpeace.grondar.za> from "Mark Murray" at Nov 26, 97 06:58:28 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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