Mike, > 3) Blocking domains and using humor at the same time: > sbase20.com 550 ALL YOUR BASE BELONG TO US > sbase21.com 550 ALL YOUR BASE BELONG TO US > sbase22.com 550 ALL YOUR BASE BELONG TO US > sbase23.com 550 ALL YOUR BASE BELONG TO US I thought it was "All your base are belong to us." > I will admit, this does help cut down on the amount of spam that I get. > But, it doesn't stop enough of it. So, I'd like to take even more > drastic action in my sendmail config. Is there a way in the sendmail > config to specify that I don't want emails allowed in that contain > certain key words? Some obvious key words I'd love to keep out are: > XXX > Mortgage Rates > Casino > ADV: I also recommend SpamAssassin. Do this to get it (on a relatively recent Red Hat system): perl -MCPAN -e shell install Bundle::CPAN reload CPAN install MD5 install Mail::SpamAssassin install Net::DNS Then make this script be /etc/rc.d/init.d/spamassassin : #!/bin/sh # # spamassassin This script starts and stops the spamd daemon # # chkconfig: 2345 80 30 # # description: spamd is a daemon process which uses SpamAssassin to check # email messages for SPAM. It is normally called by spamc # from a MDA. # Source function library. . /etc/rc.d/init.d/functions # Source networking configuration. . /etc/sysconfig/network # Check that networking is up. [ ${NETWORKING} = "no" ] && exit 0 [ -f /usr/bin/spamd -o -f /usr/local/bin/spamd ] || exit 0 PATH=$PATH:/usr/bin:/usr/local/bin # See how we were called. case "$1" in start) # Start daemon. echo -n "Starting spamd: " daemon spamd -d -c -a RETVAL=$? touch /var/lock/spamd echo ;; stop) # Stop daemons. echo -n "Shutting down spamd: " killproc spamd RETVAL=$? rm -f /var/lock/spamd echo ;; restart) $0 stop $0 start ;; status) status spamd ;; *) echo "Usage: $0 {start|stop|restart|status}" exit 1 esac exit 0 Then do this: chkconfig spamassassin on service spamassassin start Then make this be your /etc/procmailrc: DROPPRIVS=yes :0fw * < 256000 | /usr/bin/spamc Then you'll be good to go. Actual mail filtering is up to you, but I bet you know how to do that. CPAN rocks... -- Jim Ockers (ockers@ockers.net) Contact info: please see http://www.ockers.net/ Fight Spam! Join CAUCE (Coalition Against Unsolicited Commercial Email) at http://www.cauce.org/ .