]> git.donarmstrong.com Git - bin.git/blobdiff - learn_from_spam
increase the max message size to 100M
[bin.git] / learn_from_spam
index 35a25f6f5fb5214cd99796b90a8ecd68b6034d9b..071f7f1f49576eef9fff9cb1c00ca1dbe5aafc84 100755 (executable)
@@ -8,7 +8,7 @@ SPAM_CHECK="spamassassin -e"
 # these are for spamc
 SPAM_REPORT="spamc --learntype=spam"
 HAM_REPORT="spamc --learntype=ham"
-SPAM_CHECK="spamc -c"
+SPAM_CHECK="spamc -s $((100 * 1024 * 1024)) -c"
 
 # needs rules directories
 NEEDS_SPAM_RULES="$(echo ~/Maildir/spam/needs_rules)"