# First, catch any spam correction messages :0 * ^Subject.*spam error $DEFAULT # Second, stop bounced messages :0 * ^From: Mail Delivery Subsystem { :0 B * X-Mailer: Bob's Spam Canceller /dev/null } # Finally, nail those spammers! :0 * !((^TO_.*taylor)|(^TO_.*bell)) | ~bbell/local/bin/formail -rf -I "X-Mailer: Bob's Spam Canceller" -I "From: Bob Bell" -i "Subject: Your message has been deleted" | cat - ~bbell/.spam-msg | sendmail -t