From owner-freebsd-questions Mon Dec 7 12:10:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10169 for freebsd-questions-outgoing; Mon, 7 Dec 1998 12:10:30 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from java.dpcsys.com (java.dpcsys.com [206.16.184.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA10162 for ; Mon, 7 Dec 1998 12:10:29 -0800 (PST) (envelope-from dan@dpcsys.com) Received: from localhost (dan@localhost) by java.dpcsys.com (8.9.1a/8.9.1) with SMTP id MAA11264; Mon, 7 Dec 1998 12:11:13 -0800 (PST) Date: Mon, 7 Dec 1998 12:11:13 -0800 (PST) From: Dan Busarow To: Brendan Kosowski cc: FreeBSD Questions Subject: Re: Anti-spamming sendmail In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 7 Dec 1998, Brendan Kosowski wrote: > > I would like to configure sendmail so that it only accepts or relays > E-Mails that meet the following conditions : > > 1. The E-Mail contains a "To:" address containing my domain > > OR > > 2. The E-Mail contains a "From:" address containing my domain Install the latest sendmail (8.9.2) http://www.sendmail.org/ It does this by default now. It's actually a little cleverer than what you asked for but the results are the same. Dan -- Dan Busarow 949 443 4172 Dana Point Communications, Inc. dan@dpcsys.com Dana Point, California 83 09 EF 59 E0 11 89 B4 8D 09 DB FD E1 DD 0C 82 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message