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
|