[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Repost/Refined of Additions to anti-spam rules
From:       "James E. Housley" <housley () pr-comm ! com>
Date:       1998-03-31 22:28:44
[Download RAW message or body]

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
["sendmail.cf.additions.patch" (text/plain)]

*** 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

["vcard.vcf" (text/x-vcard)]
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic