On 26.04.2012 06:58, Steve Fatula wrote:

    *From:* Chad M Stewart <c...@balius.com>
    *To:* Stevan Bajić <ste...@bajic.ch>
    *Cc:* "dspam-user@lists.sourceforge.net"
    <dspam-user@lists.sourceforge.net>
    *Sent:* Wednesday, April 25, 2012 10:01 PM
    *Subject:* Re: [Dspam-user] Increase Spam Hit Rate



    > 3) Now go on and train with dspam_train: dspam_train SpamHitRate
    [spam_corpus maildir or mbox] [nonspam_corpus maildir or mbox]


    Would something like

    /usr/local/bin/dspam --client --mode=toe --source=innoculation
    --class=spam --user SpamHitRate --deliver=summary < msgs

    work just as well?

You can use the dspam client, but, it's one message at a time (but you can script it of course). dspam_train is one DIRECTORY at a time. So, you can do thousands of messages in one command.

Welll... that should not be such a big issue:
for foo in *;do /usr/local/bin/dspam --client --mode=toe --source=inoculation --class=spam --user SpamHitRate --deliver=summary < ${foo};done

btw: --mode is useless in learning mode

--
Kind Regards from Switzerland,

Stevan Bajić

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Dspam-user mailing list
Dspam-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to