]> git.madduck.net Git - etc/mailfilter.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<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 patches@git.madduck.net. 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://git.madduck.net/madduck/"]
  insteadOf = madduck:

use long option names for clarity
authormartin f. krafft <madduck@seamus.madduck.net>
Fri, 17 Aug 2007 13:57:59 +0000 (15:57 +0200)
committermartin f. krafft <madduck@seamus.madduck.net>
Fri, 17 Aug 2007 13:57:59 +0000 (15:57 +0200)

index a10f8f69ec621d78efcd95d9f50231dfdf199d23..e9b3426cd8aae28ca938aecc7a5640d842184dd8 100755 (executable)
--- a/bin/train
+++ b/bin/train
@@ -9,13 +9,13 @@ NICE=''
 MAILREAVER="$NICE /usr/share/crm114/mailreaver.crm -u $MAILFILTER/crm114/"
-SPAMASSASSIN="$NICE /usr/bin/spamassassin -$SA_PREFS"
-SPAMC="$NICE /usr/bin/spamc -lx"
-SA_REPORT="$SPAMC -report"
-SA_REVOKE="$SPAMC -revoke"
+SPAMASSASSIN="$NICE /usr/bin/spamassassin --prefs-file=$SA_PREFS"
+SPAMC="$NICE /usr/bin/spamc --log-to-stderr"
+SA_REPORT="$SPAMC --reporttype=report"
+SA_REVOKE="$SPAMC --reporttype=revoke"
 SA_LEARN="$NICE /usr/bin/sa-learn -p $SA_PREFS"
+SA_LEARN_HAM="$SPAMC --learntype=ham"
+SA_LEARN_SPAM="$SPAMC --learntype=spam"
 PRE_CLEANUP="$NICE $MAILFILTER/procmail/pre-spam-cleanup"