From owner-freebsd-questions Thu Jun 20 7:59:16 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id EAC2937B408 for ; Thu, 20 Jun 2002 07:59:13 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.3/8.12.3) id g5KExDfk071319; Thu, 20 Jun 2002 09:59:13 -0500 (CDT) (envelope-from dan) Date: Thu, 20 Jun 2002 09:59:13 -0500 From: Dan Nelson To: randy Cc: questions@FreeBSD.ORG Subject: Re: Sendmail Spam RBL Message-ID: <20020620145913.GC7928@dan.emsphone.com> References: <20020620102257.K53188-100000@desert.turbowarp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020620102257.K53188-100000@desert.turbowarp.net> X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error User-Agent: Mutt/1.5.1i 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 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. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message