aboutsummaryrefslogtreecommitdiffstats
path: root/learn-spam
diff options
context:
space:
mode:
Diffstat (limited to 'learn-spam')
-rwxr-xr-xlearn-spam6
1 files changed, 6 insertions, 0 deletions
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