I use RBL checks along with a bunch of rules in sendmail.mc to reject mail. In addition to all of that, I also use a couple of services that automatically updates the access database (/etc/mail/access.db), plus I have a bunch of entries in /etc/mail/access that I've added myself. What I did was add some code to the init script for sendmail that updates access.db so that all of the entries are combined and no duplicate entries are allowed. I had to do that otherwise when sendmail is restarted access.db would be overwritten using the contents in /etc/mail/access. I use two shell scripts that are run from cron to keep everything up to date. The upshot of this is that I block a lot of spam before Spamassassin even gets into the picture. Anyway, below are the scripts that I use and the accompanying cron entries.
Filename: uceprotect #!/bin/sh cd /tmp /usr/bin/wget -N "http://www.admins.ws/modules.php?name=Downloads&d_op=getit&lid=31" gzip -d -f -c access.gz | makemap hash -o -r -v /etc/mail/access Cron entry: 5 0,4,8,12,16,20 * * * /etc/mail/uceprotect Filename: spamlist #!/bin/sh rsync -z --verbose rsync://informatie.easynet.nl:6666/spamblock/spamlist-extended.txt /tmp/spamlist-extended.txt cat /tmp/spamlist-extended.txt | makemap hash -o -r -v /etc/mail/access Cron entry: @daily /etc/mail/spamlist Here are the lines that I added to /etc/init.d/sendmail (you'll need to make sure that this is inserted at the appropriate place), gzip -d -f -c /tmp/access.gz | makemap hash -o -r /etc/mail/access cat /tmp/spamlist-extended.txt | makemap hash -o -r /etc/mail/access If anyone is interested, you can grab a copy of my "personal" block list at, http://custweb.com/blocked_domains.html The list that I'm using right now is more up to date than the one that I've made available for download. When I get the time, I'll update the publicly available list. --Scott ****************** Custom Web Promotions ********************* * * * "The Web Promotion Specialists" * * * * http://custweb.com/ * * * * Web Hosting | E-Commerce Applications | Custom Scripting * * Website Development | Graphics Design | Market Research * * * ****************** Toll-Free: 888-287-8932 ******************* ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. SourceForge.net hosts over 70,000 Open Source Projects. See the people who have HELPED US provide better services: Click here: http://sourceforge.net/supporters.php _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk