Date: Wed, 19 Nov 1997 11:43:53 -0800 (PST) From: "Jonathan M. Bresler" <jmb> To: cmott@srv.net (Charles Mott) Cc: chat@freebsd.org Subject: Re: Mail spam, sigh... Message-ID: <199711191943.LAA16868@hub.freebsd.org> In-Reply-To: <Pine.BSF.3.96.971119103604.4879B-100000@darkstar.home> from "Charles Mott" at Nov 19, 97 10:39:56 am
next in thread | previous in thread | raw e-mail | index | archive | help
Charles Mott wrote: > > On Wed, 19 Nov 1997, Søren Schmidt wrote: > > > > If any of you gets a message back from my system claiming you > > should be shot or something to that extent, well, I'm sorry. > > The amount of JUNKmail recently has demanded that I enable > > my hysteric mail filter again, and its pretty harsh (one > > unsolicited mail, and that doamin is toast). > > Sorry for any inconvinience, but the filter stays this time... > > > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- > > Søren Schmidt (sos@FreeBSD.org) FreeBSD Core Team > > Even more code to hack -- will it ever end > > [moved to -chat] > > If I ever get a fixed IP address for my home system, I am thinking of > running gated and having it interface with the Vixie BGP anti-spam feed > (http://maps.vix.com). If anything, this activity would be educational. > I am also told it works pretty well. why wait? use DNS to query the anti-spam feed (http://maps.vix.com) add this to your sendmail.cf (remember tabs are the field delimiter in /etc/sendmail.cf dont use xterm cut-n-paste). jmb 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711191943.LAA16868>