$SPAM_REPORT < "$file" >/dev/null;
grep -e '^From ' -e 'From: ' "$file" | spamassassin -R >/dev/null;
# check to see if it's still spam
- if ! spam -c < "$file"; then
+ if ! spamc -c < "$file"; then
# this message is still not spam; may need custom rules
- cp "$file" ~/Mail/spam/needs_rules/cur/;
+ cp "$file" ~/Maildir/spam/needs_rules/cur/;
fi;
done;
elif [ "$(basename $0)" = "learn_from_ham" ]; then