[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-developers] Adding spam blacklists to sendmail on a Cobalt server
- Subject: [cobalt-developers] Adding spam blacklists to sendmail on a Cobalt server
- From: "ISPGuru" <bobgerman@xxxxxxxxxxx>
- Date: Wed Apr 9 13:43:03 2003
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
I sent in a query about this a little while ago, but accidentally sent
it from an unsubscribed address, so it will probably arrive AFTER I
researched, found the answer to my question, and implemented and tested.
Go figure.
I have tried this on both a RaQ4 and a RaQ550 at current patchlevels.
Adding these blacklists made a HUGE difference in the amount of spam
arriving at the server.
cd /usr/lib/sendmail-cf
vi cf/cobalt.mc
add the following lines (or those of your own choosing, if you have
researched the issue) to the FEATURE section
FEATURE(`dnsbl',`relays.ordb.org', `Rejected - see http://ordb.org/')dnl
FEATURE(`dnsbl',`bl.spamcop.net',`Rejected - see
http://spamcop.net/')dnl
FEATURE(`dnsbl',`sbl.spamhaus.org',`Rejected - see
http://spamhaus.org/')dnl
FEATURE(`dnsbl',`blackholes.mail-abuse.org',`Rejected - see
http://mail-abuse.org/')dnl
m4 cf/cobalt.mc >/etc/mail/spamblock.cf
Then go to the /etc/mail directory and backup and copy over the
sendmail.cf file:
cd /etc/sendmail
mv sendmail.cf sendmail.cf.orig
cp spamblock.cf sendmail.cf
/etc/rc.d/init.d/sendmail restart
Bob German
ISPGuru.com