[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-developers] Adding spam blacklists to sendmail on a Cobalt server



So, now I've had it with spam and followed your directions. everything goes wel except for the cd /etc/sendmail, should be cd /etc/mail :-( .

But I had als this annoying WARNING dangerous write permissions. Is that normal??

Johan

ISPGuru wrote:

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


_______________________________________________
cobalt-developers mailing list
cobalt-developers@xxxxxxxxxxxxxxx
http://list.cobalt.com/mailman/listinfo/cobalt-developers




--
Nilling Software Design
Postbus 43
2280 AA  Rijswijk ZH
w: http://www.nilling.nl