From owner-freebsd-isp Thu May 28 07:38:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id HAA23048 for freebsd-isp-outgoing; Thu, 28 May 1998 07:38:12 -0700 (PDT) (envelope-from owner-freebsd-isp@FreeBSD.ORG) Received: from pau-amma.whistle.com (s205m64.whistle.com [207.76.205.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id HAA23040 for ; Thu, 28 May 1998 07:38:10 -0700 (PDT) (envelope-from dhw@whistle.com) Received: (from dhw@localhost) by pau-amma.whistle.com (8.8.7/8.8.7) id HAA09703 for isp@freebsd.org; Thu, 28 May 1998 07:37:39 -0700 (PDT) (envelope-from dhw) Date: Thu, 28 May 1998 07:37:39 -0700 (PDT) From: David Wolfskill Message-Id: <199805281437.HAA09703@pau-amma.whistle.com> To: isp@FreeBSD.ORG Subject: Re: Changes to /etc/mail/sendmail.cf.additions Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Date: Wed, 27 May 1998 18:47:24 +0100 (BST) >From: Scot Elliott >On the subject of the new Sendmail version... anyone know if there are >nice M4-features/hacks that let you just turn relaying etc on/off with >just a simple line in your .mc file? I haven't had a chance to look at it >yet... fiddling with sendmail rules scare the hell out of me to be honest The Web page at http://www.sendmail.org/ has a pointer to Claus Assman's page, which has information on his anti-relaying rulesets (which are enabled by specifying the appropriate "hacks" in your .mc file). Please note that they are designed to work with sendmail 8.x earlier than 8.9; 8.9 has built-in anti-relay features. (In fact, it doesn't relay by default.) I strongly recommend that .cf files should only be generated (via "make") from a corresponding .mc file (and the requisite tree of .m4 files, of course) -- I've managed to use the approach successfully for the last 4+ years: treat the .mc files as "source" and .cf files as "object". And as a slight tangent: I recently had occasion to notice that sendmail can be compiled with support for using "libwrap" from Wietse Venema's TCP wrappers package. I built sendmail 8.8.8 with this support (on my home machine), and am thus able to prevent spammers from connecting to its SMTP port.... The attempts are logged, and I send nastygrams to appropriate folks.... david -- David Wolfskill UNIX System Administrator dhw@whistle.com voice: (650) 577-7158 pager: (650) 371-4621 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message