#!/bin/sh

# mccain.sh

export BOGOFILTER_DIR=/var/lib/bogofilter/wordlist.db
bogoutil -d /var/lib/bogofilter/wordlist.db > wordlist.1107.txt
cat /home/john/test/good_for_bogotune | formail -es bogolex.sh > good_msgs.1107.bl
cat /home/john/test/spam_for_bogotune | formail -es bogolex.sh > spam_msgs.1107.bl
tar zcf mccain.1107.tgz wordlist.1107.txt good_msgs.1107.bl spam_msgs.1107.bl
