Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 1997 11:31:32 -0800 (PST)
From:      Sean Eric Fagan <sef@kithrup.com>
To:        chat@freebsd.org
Subject:   Re: Mail spam, sigh...
Message-ID:  <199711191931.LAA08665@kithrup.com>
In-Reply-To: <Pine.BSF.3.96.971119103604.4879B-100000.kithrup.freebsd.chat@darkstar.home>
References:  <199711191001.LAA06385@sos.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <Pine.BSF.3.96.971119103604.4879B-100000.kithrup.freebsd.chat@darkstar.home> you write:
>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.

Paul is apparantly trying to discourage that.  At least, that's the
impression I got when I asked him about it.

For the most part, the sendmail rules I sent out a while back are good
enough, don't require a fixed IP address, and don't require you to get an AS
number (which is the case if you go th egated route).  Quoth Paul, "wouldn't
you rather just use DNS?"

Once again, the sendmail rules are (for the m4 file):

LOCAL_CONFIG
FR-o /etc/sendmail.cR

LOCAL_RULESETS
Scheck_rcpt
# anything terminating locally is ok
R< $+ @ $=w >		$@ OK
R< $+ @ $=M >		$@ OK
R$+ @ $=w		$@ OK
R$+ @ $* $=M		$@ OK

# Anything originating locally is ok
R$*			$: $(dequote "" $&{client_name} $)
R$=w			$@ OK
R$=M			$@ OK
R$@			$@ OK

# Anything else is bogus
R$*			$#error $: "550 Relaying Denied"

Scheck_mail
R$*			$: $(dequote "" $&{client_addr} $)
R$-.$-.$-.$-		$(host $4.$3.$2.$1.rbl.maps.vix.com. $:OK $)
ROK			$@ OK
R$+			$#error $: 5.1.3 $@ "Mail from " $(dequote "" $&{client_addr} $) " refused, see http://maps.vix.com/cgi-bin/lookup?" $&{client_addr}



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