From owner-freebsd-questions Wed Jan 28 14:54:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA12106 for questions-outgoing; Wed, 28 Jan 1998 14:54:05 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from shell.futuresouth.com (shell.futuresouth.com [207.141.254.20]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA12033 for ; Wed, 28 Jan 1998 14:53:35 -0800 (PST) (envelope-from tim@shell.futuresouth.com) Received: (from tim@localhost) by shell.futuresouth.com (8.8.8/8.8.8) id QAA02285; Wed, 28 Jan 1998 16:24:22 -0600 (CST) Message-ID: <19980128162422.11355@futuresouth.com> Date: Wed, 28 Jan 1998 16:24:22 -0600 From: Tim Tsai To: Cliff Addy Cc: Dan Busarow , questions@FreeBSD.ORG Subject: Re: Stopping mail relaying (again) References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.88 In-Reply-To: ; from Cliff Addy on Wed, Jan 28, 1998 at 05:14:10PM -0500 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Wed, Jan 28, 1998 at 05:14:10PM -0500, Cliff Addy wrote: > Like all the others, this seems to assume that I know what ip addresses > spam is coming from. I don't, my clients can be ANYWHERE. I need to > reject email based on their return or sending addresses, NOT the ip. I > need to have a file with a list of "allowed" domain names. If abc.com is > in the file, then mail to or from abc.com is allowed, REGARDLESS of > whether the sending machine is abc.com > > I know this may sound a little testy, but I'm getting lots of email along > the lines of "hey, dumbass, use the rules posted on xxxx" when those > rulesets don't address my needs at all. Check this out. I found it to have the best balance between power and ease of use. Tim FSCI From: "Steve \"Stevers!\" Coile" To: redhat-isp-list@digitalpla.net, linuxisp@jeffnet.org cc: tim@futuresouth.com, sendmail@sendmail.org Subject: antispam.m4 1.0 for Sendmail 8.8.5 and above I have released version 1.0 (up from 0.2.4) of antispam.m4, an M4 configuration file for use with Sendmail 8.8.5 or above (including 8.8.8 as distributed with RHL 5.0, as I understand) that provide some smart processing of incoming mail to determine how trustworthy the message is. The ultimate goal of the configuration file is to provide more restrictive relaying services that prevent bulk mailers (spammers) from relaying their junk through your mail server to users on some other system. At the same time, the configuration attempts to be intelligent about how it determines what is and is not legitimate relaying, and provides intuitive configuration files that allow you to identify specific domains, hosts, and even specific e-mail addresses that may and may not use your mail server. Another big plus is that the M4 file is heavily commented. If you want to learn how to code Sendmail rulesets, you might find this file a useful resource. The configuration is not in RPM format, but it's pretty easy to install. Complete, step-by-step instructions for installing the configuration are included on the Web page (below). The instructions assume the use of Red Hat Linux 4.2. I use RHL exclusively, and have no idea how Caldera OpenLinux and Debian (and the others) make Sendmail's M4 configuration capabilities available. Version 1.0 has some significant changes over 0.2.4. If you were using 0.2.4, please make sure you read the Web page carefully and note the differences. Specifically, note the new "client.allow" and "client.deny" files and how they change the operation of the filter. Information about the "antispam.m4" Sendmail configuration is available at the following location: http://www.patriot.net/users/scoile/isp-redhat/sendmail/antispam Comments welcome. -- Steve Coile P a t r i o t N e t Systems Engineering scoile@patriot.net Patriot Computer Group (703) 277-7737