From: martin f. krafft Date: Fri, 17 Aug 2007 13:57:59 +0000 (+0200) Subject: use long option names for clarity X-Git-Url: https://git.madduck.net/etc/mailfilter.git/commitdiff_plain/9e8ade35c67ea09b5770c5e0b31056e400d5c540 use long option names for clarity --- diff --git a/bin/train b/bin/train index a10f8f6..e9b3426 100755 --- a/bin/train +++ b/bin/train @@ -9,13 +9,13 @@ NICE='' MAILFILTER=$HOME/.etc/mailfilter SA_PREFS="$MAILFILTER/spamassassin/user_prefs" MAILREAVER="$NICE /usr/share/crm114/mailreaver.crm -u $MAILFILTER/crm114/" -SPAMASSASSIN="$NICE /usr/bin/spamassassin -p $SA_PREFS" -SPAMC="$NICE /usr/bin/spamc -lx" -SA_REPORT="$SPAMC -C report" -SA_REVOKE="$SPAMC -C 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 -L ham" -SA_LEARN_SPAM="$SPAMC -L spam" +SA_LEARN_HAM="$SPAMC --learntype=ham" +SA_LEARN_SPAM="$SPAMC --learntype=spam" PRE_CLEANUP="$NICE $MAILFILTER/procmail/pre-spam-cleanup" HAM=0