Date: Tue, 31 Mar 1998 17:28:44 -0500 From: "James E. Housley" <housley@pr-comm.com> To: "Jonathan M. Bresler" <jmb@FreeBSD.ORG>, hackers@FreeBSD.ORG Subject: Re: Repost/Refined of Additions to anti-spam rules Message-ID: <35216E1C.5967A644@pr-comm.com> References: <3520FF7C.F95D00BC@pr-comm.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
I am VERY sorry about my previous post. I must have been on something
when I tested it, because is DEFINITELY doesn't work. SORRY. This is
properly tested and works the way intended. allowip.db is a hash map of
allowable IP address, ie local address that are good and therefore won't
be checked by check_rbl. The intended use is for people with local
networks and "expensive" dialup internet access, ie small business.
Comments welcome
Jim
--
-------------------------------------------+-------------------------
James E. Housley | PGP: 1024/03983B4D
PR Communications, Inc. | 2C 3F 3A 0D A8 D8 C3 13
www.servtech.com/public/pr-comm | 7C F0 B5 BF 27 8B 92 FE
[-- Attachment #2 --]
*** sendmail.cf.additions.orig Mon Mar 9 09:31:06 1998
--- sendmail.cf.additions Tue Mar 31 17:20:33 1998
***************
*** 7,12 ****
--- 7,13 ----
Kdenyip hash -o -a.REJECT /etc/mail/denyip.db
Kfakenames hash -o -a.REJECT /etc/mail/fakenames.db
Kspamsites hash -o -a.REJECT /etc/mail/spamsites.db
+ Kallowip hash -o -a.ALLOW /etc/mail/allowip.db
# helper rulsesets; useful for debugging sendmail configurations
#
***************
*** 77,82 ****
--- 78,89 ----
R$* $: $>3 foo@$1
R<$*> $*<@$*> $#error $: "451 Domain does not resolve"
# Connecting Host must resolve--END
+ # ip address is defined as LOCAL--BEGIN
+ # prevents me from dialing out to the net for local mail
+ R$* $: $(dequote "" $&{client_addr} $)
+ R$* $: $(allowip $1 $)
+ R$*.ALLOW $@ OK
+ # ip address is defined as LOCAL--END
# ip address must NOT be in Paul Vixie's RBL--BEGIN
R$* $: $1 $: $(dequote "" $&{client_addr} $)
R$* $: $>check_rbl $1
[-- Attachment #3 --]
begin: vcard
fn: James E. Housley
n: Housley;James E.
org: PR Communications, Inc.
adr: 465 Blossom Road;;;Rochester;New York;14610-0725;USA
email;internet: housley@pr-comm.com
title: Design Engineer
tel;work: (716) 288-7900
tel;fax: (716) 288-7909
x-mozilla-cpt: pr-comm.com;2
x-mozilla-html: FALSE
version: 2.1
end: vcard
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35216E1C.5967A644>
