From 9f2807273cd31a54f91c56f3a855b6dd43935c60 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Mon, 17 Jul 2017 18:41:24 -0700 Subject: [PATCH] add ham_report --- ham_report | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 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 + -- 2.39.2