From: Don Armstrong Date: Fri, 14 Feb 2014 00:17:52 +0000 (-0800) Subject: fix maildir location X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a7b352ce04953180a3a53890dddea820c2dabaed;p=bin.git fix maildir location --- diff --git a/learn_from_spam b/learn_from_spam index 96f9bd9..88545f8 100755 --- a/learn_from_spam +++ b/learn_from_spam @@ -15,9 +15,9 @@ if [ "$(basename $0)" = "learn_from_spam" ]; then $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