From owner-freebsd-questions Tue Apr 16 18:20:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5]) by hub.freebsd.org (Postfix) with ESMTP id 888AD37B419 for ; Tue, 16 Apr 2002 18:20:30 -0700 (PDT) Received: from hades.hell.gr (patr530-a198.otenet.gr [212.205.215.198]) by mailsrv.otenet.gr (8.12.2/8.12.2) with ESMTP id g3H1KOL3017614; Wed, 17 Apr 2002 04:20:26 +0300 (EEST) Received: from hades.hell.gr (hades [127.0.0.1]) by hades.hell.gr (8.12.2/8.12.2) with ESMTP id g3H1KN0H028530; Wed, 17 Apr 2002 04:20:24 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from charon@localhost) by hades.hell.gr (8.12.2/8.12.2/Submit) id g3H1KMmG028529; Wed, 17 Apr 2002 04:20:22 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Wed, 17 Apr 2002 04:20:21 +0300 From: Giorgos Keramidas To: Sam Cc: questions@FreeBSD.ORG Subject: Re: rc.firewall rules help Message-ID: <20020417012021.GA28097@hades.hell.gr> References: <3CBC6847.5D03116B@vortex.wa4phy.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CBC6847.5D03116B@vortex.wa4phy.net> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 2002-04-16 14:07, Sam wrote: > Can someone give me some hints how to stop connections from spambots by > refusing smtp or tcp connections from hosts who won't resolve via > reverse lookup, or even forward lookup? Is the firewall script the > appropriate place to put that, or would somewhere within sendmail be > more better? Sendmail by default does that already. You need to explicitly disable it, by using either one or both of: FEATURE(`accept_unqualified_senders')dnl FEATURE(`accept_unresolvable_domains')dnl Giorgos Keramidas FreeBSD Documentation Project keramida@{freebsd.org,ceid.upatras.gr} http://www.FreeBSD.org/docproj/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message