]> git.donarmstrong.com Git - bin.git/commitdiff
learn from larger messages
authorDon Armstrong <don@donarmstrong.com>
Tue, 17 Oct 2017 17:36:18 +0000 (10:36 -0700)
committerDon Armstrong <don@donarmstrong.com>
Tue, 17 Oct 2017 17:36:18 +0000 (10:36 -0700)
learn_from_spam

index 2535f8c2a8aab57fa2e9f5a246ec20c36cb23607..a6cac9306f43f953e87a1592bdf37e6b6530e884 100755 (executable)
@@ -6,8 +6,8 @@ HAM_REPORT="spamassassin --revoke"
 SPAM_CHECK="spamassassin -e"
 
 # these are for spamc
-SPAM_REPORT="spamc --learntype=spam"
-HAM_REPORT="spamc --learntype=ham"
+SPAM_REPORT="spamc --learntype=spam -s $((100 * 1024 * 1024))"
+HAM_REPORT="spamc --learntype=ham -s $((100 * 1024 * 1024))"
 SPAM_CHECK="spamc -s $((100 * 1024 * 1024)) -c"
 
 # needs rules directories