From owner-freebsd-hackers Tue Mar 31 14:30:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA11409 for freebsd-hackers-outgoing; Tue, 31 Mar 1998 14:30:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from cyber3.servtech.com (root@cyber3.servtech.com [199.1.22.25]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA11328; Tue, 31 Mar 1998 14:29:57 -0800 (PST) (envelope-from housley@pr-comm.com) Received: from pr-comm.com (root@prcomm.roc.servtech.com [204.181.3.14]) by cyber3.servtech.com (8.8.8/8.8.6) with ESMTP id RAA18761; Tue, 31 Mar 1998 17:29:49 -0500 (EST) Received: from pr-comm.com (housley@hatchling.int.pr-comm.com [192.168.70.48]) by pr-comm.com (8.8.8/8.8.8) with ESMTP id RAA13229; Tue, 31 Mar 1998 17:28:44 -0500 (EST) (envelope-from housley@pr-comm.com) Message-ID: <35216E1C.5967A644@pr-comm.com> Date: Tue, 31 Mar 1998 17:28:44 -0500 From: "James E. Housley" Organization: PR Communications, Inc. X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: "Jonathan M. Bresler" , hackers@FreeBSD.ORG Subject: Re: Repost/Refined of Additions to anti-spam rules References: <3520FF7C.F95D00BC@pr-comm.com> Content-Type: multipart/mixed; boundary="------------0654483328E942B97356E8BA" Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. --------------0654483328E942B97356E8BA Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 --------------0654483328E942B97356E8BA Content-Type: text/plain; charset=us-ascii; name="sendmail.cf.additions.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="sendmail.cf.additions.patch" *** 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 --------------0654483328E942B97356E8BA Content-Type: text/x-vcard; charset=us-ascii; name="vcard.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for James E. Housley Content-Disposition: attachment; filename="vcard.vcf" 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 --------------0654483328E942B97356E8BA-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message