Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 1998 09:36:44 -0500
From:      "James E. Housley" <housley@pr-comm.com>
To:        "Jonathan M. Bresler" <jmb@FreeBSD.ORG>, hackers@FreeBSD.ORG
Subject:   Repost/Refined of Additions to anti-spam rules
Message-ID:  <3520FF7C.F95D00BC@pr-comm.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------533CC0B2AFC39F00EE5DEA38
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Attached is a context diff of the latest sendmail.cf.additions that I
have ( through src-2.2.0671.gz).  This rule is similar to the denyip
execpt the file is a list of ips to allow, ie local machines.  I wrote
this rule to prevent dialing to the internet to check local to local
mail.

Comments still 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
--------------533CC0B2AFC39F00EE5DEA38
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 09:26:48 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,88 ----
  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$* $| $*		$: $1 $| $(allowip $2 $)
+ 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

--------------533CC0B2AFC39F00EE5DEA38
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


--------------533CC0B2AFC39F00EE5DEA38--


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



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