]> git.donarmstrong.com Git - bin.git/blobdiff - ham_report
add ham_report
[bin.git] / ham_report
diff --git a/ham_report b/ham_report
new file mode 100755 (executable)
index 0000000..91f603f
--- /dev/null
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# these are for spamc
+HAM_REPORT="spamc --learntype=ham"
+
+for file in "$@"; do
+    $HAM_REPORT < "$file" >/dev/null 2>&1;
+done
+