From 668753b7a2cde64a7a5ee424bc115d6e054efb68 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Sat, 16 May 2015 01:27:31 +0200 Subject: Add learn-{ham,spam} Two spambayes wrappers that uploads to theos --- learn-spam | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 learn-spam (limited to 'learn-spam') diff --git a/learn-spam b/learn-spam new file mode 100755 index 0000000..6afbb55 --- /dev/null +++ b/learn-spam @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +sb_mboxtrain.py -d "$MAIL"/spambayes.db -s "$MAIL"/learn-spam -r +rsync "$MAIL"/spambayes.db \ + kyrias@theos.kyriasis.com:Mail/spambayes.db \ + --update --checksum --human-readable --progress -- cgit v1.2.3-70-g09d2