From owner-freebsd-questions Thu Jun 20 7:59:45 2002 Delivered-To: freebsd-questions@freebsd.org Received: from kanga.honeypot.net (kanga.honeypot.net [208.162.254.122]) by hub.freebsd.org (Postfix) with ESMTP id 2633937B409 for ; Thu, 20 Jun 2002 07:59:16 -0700 (PDT) Received: from pooh.int (mail@pooh.int [10.0.1.2]) by kanga.honeypot.net (8.12.3/8.12.3) with ESMTP id g5KEx1Le011925 for ; Thu, 20 Jun 2002 09:59:06 -0500 (CDT) (envelope-from kirk@strauser.com) Received: from kirk by pooh.int with local (Exim 3.35 #1 (Debian)) id 17L3On-0002sI-00 for ; Thu, 20 Jun 2002 09:59:01 -0500 To: freebsd-questions@freebsd.org Subject: Re: Sendmail Spam RBL References: <20020620102257.K53188-100000@desert.turbowarp.net> From: Kirk Strauser Date: 20 Jun 2002 09:59:00 -0500 In-Reply-To: <20020620102257.K53188-100000@desert.turbowarp.net> Message-ID: <87bsa6hu8b.fsf@pooh.int> Lines: 42 X-Mailer: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 At 2002-06-20T14:33:00Z, randy writes: > Can it or is it really as difficult as they make it out to be? No. It's actually pretty easy, depending on how you've set up your mailserver. I'm using FreeBSD 4.6-STABLE. Rather than writing a sendmail.cf directly, I copied /etc/mail/freebsd.mc to /etc/mail/.mc and edit it to my tastes. Then it's just a matter of cd'ing to /etc/mail and typing 'make; make install; make restart' to generate a sendmail.cf file, copy it into place, and restart sendmail. The advantages of this are numerous: - Whenever FreeBSD updates some default mailsettings, incorporating them into my configuration is just a diff-and-patch. - Editing a .mc file is *way* easier than mucking about in `sendmail.cf'. - The FreeBSD maintainers went through all the trouble of setting up an easy-to-update framework, so you might as well use it. So, the big question to you is: did you do something similar, or did you hand-edit the sendmail.cf files? > I just want to set up spam filter for "direct useage via DNS" ... for > mail-abuse or ordb. I added the lines: # DNSBL from http://www.ordb.org/ FEATURE(dnsbl, `relays.ordb.org', `"550 Mail from " $&{client_addr} " rejected, see http://ordb.org/"')dnl to /etc/mail/. Then I typed `make; make install; make restart' and the system worked. > 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? What are you trying to do there? -- Kirk Strauser The Strauser Group - http://www.strausergroup.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message