From: Don Armstrong Date: Tue, 18 Jul 2017 01:41:24 +0000 (-0700) Subject: add ham_report X-Git-Url: https://git.donarmstrong.com/?p=bin.git;a=commitdiff_plain;h=9f2807273cd31a54f91c56f3a855b6dd43935c60;hp=09f790cb2bce7d239eee44597b2e80cbda525eff add ham_report --- diff --git a/ham_report b/ham_report new file mode 100755 index 0000000..91f603f --- /dev/null +++ b/ham_report @@ -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 +