From owner-freebsd-security Thu Dec 2 17:58:50 1999 Delivered-To: freebsd-security@freebsd.org Received: from sand2.sentex.ca (sand2.sentex.ca [209.167.248.3]) by hub.freebsd.org (Postfix) with ESMTP id 331B414CF4 for ; Thu, 2 Dec 1999 17:58:46 -0800 (PST) (envelope-from mike@sentex.net) Received: from gravel (ospf-mdt.sentex.net [205.211.164.81]) by sand2.sentex.ca (8.8.8/8.8.8) with SMTP id UAA25550; Thu, 2 Dec 1999 20:58:19 -0500 (EST) (envelope-from mike@sentex.net) Message-Id: <4.1.19991202205116.043a38d0@granite.sentex.ca> X-Sender: mdtancsa@granite.sentex.ca X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Thu, 02 Dec 1999 20:57:43 -0500 To: lew chua , security@FreeBSD.ORG From: Mike Tancsa Subject: Re: Need help against spam In-Reply-To: <199912030605.WAA26043@gandalf.mmasia.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 12:27 PM 12/2/99 , lew chua wrote: >How do I limit the Ip address for sendmail to people on my lan? >: Someone is using my free? I'm running 2.1.7. ipfw is one way. e.g. ipfw add 200 allow tcp from to 25 ipfw add 210 deny tcp from any to 25 so if your lan network as 192.168.1.0/24 and the FreeBSD box was 192.168.1.119 ipfw add 200 allow tcp from 192.168.1.0/24 to 192.168.1.119 25 ipfw add 210 deny tcp from any to 192.168.1.119 25 However, if you want to fix your open relay, you really should a) upgrade to a current version of sendmail b) see http://maps.vix.com/tsi/ar-fix.html ---Mike ********************************************************************** Mike Tancsa * mike@sentex.net Sentex Communications Corp, * http://www.sentex.net/mike Cambridge, Ontario * 519 651 3400 Canada * To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message