From a7b352ce04953180a3a53890dddea820c2dabaed Mon Sep 17 00:00:00 2001
From: Don Armstrong <don@donarmstrong.com>
Date: Thu, 13 Feb 2014 16:17:52 -0800
Subject: [PATCH] fix maildir location

---
 learn_from_spam | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.39.5