Edit /etc/mail/sendmail.mc and add the following lines near the bottom of the file:
1 |
FEATURE(dnsbl, `sbl-xbl.spamhaus.org', `Rejected - see http://www.spamhaus.org')dnl |
The run make to rebuild the sendmail.cf file and restart the sendmail service.