From owner-freebsd-questions Thu Jun 20 10:44:40 2002 Delivered-To: freebsd-questions@freebsd.org Received: from desert.turbowarp.net (turbowarp.net [198.78.66.83]) by hub.freebsd.org (Postfix) with ESMTP id 5324837B40B for ; Thu, 20 Jun 2002 10:44:33 -0700 (PDT) Received: from localhost (randy@localhost) by desert.turbowarp.net (8.11.6/8.11.6) with ESMTP id g5KHiCW35862 for ; Thu, 20 Jun 2002 13:44:17 -0400 (EDT) (envelope-from randy@turbowarp.net) Date: Thu, 20 Jun 2002 13:44:12 -0400 (EDT) From: randy To: questions@freebsd.org Subject: Re: Sendmail Spam RBL (fwd) Message-ID: <20020620134328.B28561-100000@desert.turbowarp.net> 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 On Thu, 20 Jun 2002, randy wrote: > > > On 20 Jun 2002, Kirk Strauser wrote: > > > > > 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. > > > Many thanks to the FreeBSD maintainers... that was too easy. I customized > the 550 spam message to my own tastes. > > Then ran the ordb test email and it must work. > To test simply address an email to "ask-test-ordb@null.dk" . You should get a reply 550 error along with your error message text. > > > 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. > > Sendmail didn't want to start by itself for some reason, though. Oh, > well... > > > > > > 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 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message