Skip to topic | Skip to bottom
Home
Freebsd
Freebsd.FilterMailWithDnsBlackholeListsr1.1 - 31 Mar 2003 - 15:59 - KirkStrausertopic end

Start of topic | Skip to actions



Configure SendMail? to make FilterSpam based on a DnsBlackholeList

Note: a discussion of the pros and cons of doing this are at the DnsBlackholeList topic. You should read that before you decided to add a dnsbl entry to your email configuration.

  • If you haven't already done so, create a LocalSendmailConfiguration.
  • Edit your SendMail? config file. Locate the dnsbl entries and uncomment the FEATURE line of the one (or more than one) you want to use. My personal favorite is relays.orbd.org.
  • Your new configuration file should look something like this:

/root# grep -i dnsbl /etc/mail/host.domain.com.mc
dnl FEATURE(dnsbl)
dnl FEATURE(dnsbl, `blackholes.mail-abuse.org', `"550 Mail from " $&{client_addr} " rejected, see http://mail-abuse.org/cgi-bin/lookup?" $&{client_addr}')
dnl DNSBL from http://www.ordb.org/
FEATURE(dnsbl, `relays.ordb.org', `"550 Mail from " $&{client_addr} " rejected, see http://ordb.org/"')dnl

  • Install your new configuration:

/etc/mail# make; make install; make restart

-- KirkStrauser - 31 Mar 2003


You are here: Freebsd > FilterSpam > FilterMailWithDnsBlackholeLists

to top

Copyright © 1999-2008 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Subwiki? Send feedback