From owner-freebsd-questions Thu Jun 20 8: 3:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from lerlaptop.iadfw.net (lerlaptop.iadfw.net [206.66.13.21]) by hub.freebsd.org (Postfix) with ESMTP id C7D5837B4A0 for ; Thu, 20 Jun 2002 08:01:52 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lerlaptop.iadfw.net (8.12.3/8.12.3) with ESMTP id g5KF1T5X000757; Thu, 20 Jun 2002 10:01:29 -0500 (CDT) (envelope-from ler@lerctr.org) Subject: Re: Sendmail Spam RBL From: Larry Rosenman To: Dan Nelson Cc: randy , questions@FreeBSD.ORG In-Reply-To: <20020620145913.GC7928@dan.emsphone.com> References: <20020620102257.K53188-100000@desert.turbowarp.net> <20020620145913.GC7928@dan.emsphone.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.7 Date: 20 Jun 2002 10:01:29 -0500 Message-Id: <1024585289.360.19.camel@lerlaptop> Mime-Version: 1.0 X-Virus-Scanned: by amavisd-milter (http://amavis.org/) 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 Thu, 2002-06-20 at 09:59, Dan Nelson wrote: > In the last episode (Jun 20), randy said: > > Hola, > > > > These guys are scaring me. I have read and re-read the Sendmail > > configuraions readme's and my eyes glaze over and then roll into the back > > of my head. > > > > Can it or is it really as difficult as they make it out to be? > > > > I just want to set up spam filter for "direct useage via DNS" ... for > > mail-abuse or ordb. > > > > Do I simply add "5.123.89.192.relays.ordb.org. IN A 127.0.0.2" to my DNS > > record for each domain? Do I need to do anything else? > > No; that's what the ORDB people would do to add you to the blocklist :) > > All you need to do is edit your sendmail .mc file (FreeBSD likes to > call it /etc/mail/$HOSTNAME.mc), add: > > FEATURE(`dnsbl', `relays.ordb.org', `"Mail from open relay rejected - see http://www.ordb.org/lookup/?host=" $&{client_addr}')dnl > > , regenerate your .cf file (if you're using the standard setup, just > type "make"), and killall -HUP sendmail. actually, the current make file would need: cd /etc/mail vi $hostname.mc make make install make restart and poof, it's done. > > -- > Dan Nelson > dnelson@allantgroup.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message