madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

switch to using spamc
[etc/mailfilter.git] / bin / train
index 05a768f70c4c9e71ec4dc153829804b6dde9c7f5..4313c440a244b29bba9addf1504c9dc71c5c3f74 100755 (executable)
--- a/bin/train
+++ b/bin/train
@@ -5,17 +5,18 @@ USER=${USER:-$LOGNAME}
 DOMAIN=${DOMAIN:-$(hostname --fqdn)}
 NICE='/usr/bin/nice -20'
 MAILREAVER="$NICE $HOME/spamfilter/mailreaver.crm -u $MAILFILTER/crm114/"
 SPAMASSASSIN="$NICE /usr/bin/spamassassin -p $SA_PREFS"
-#SPAMC="$NICE /usr/bin/spamc -lxu ${USER}@${DOMAIN}"
+SPAMC="$NICE /usr/bin/spamc -lx"
+SA_REPORT="$SPAMC -C report"
+SA_REVOKE="$SPAMC -C revoke"
 SA_LEARN="$NICE /usr/bin/sa-learn -p $SA_PREFS"
+PRE_CLEANUP="$NICE $MAILFILTER/procmail/pre-spam-cleanup"