Hi Stevan,

If there is no volunteer right now, I can try to make port of dspam for FreeBSD.
I started working about this issue. I will inform you when I completed.

Thanks.

Thursday, December 17, 2009, 1:30:20 AM, you wrote:

> On Thu, 17 Dec 2009 00:40:27 +0200
> Ibrahim Harrani <[email protected]> wrote:

>> Hi,
>> 
> Hallo Ibrahim,


>> I have 5000 ham and 15 000 spam mails. I would like to train it before using
>> dspam.
>> I usually train spam mail first then ham mail with the following commands.
>> Is it safe to train dspam like this.
>> or do I have to use dspam_train script?
>>
> You don't need to use dspam_train for training. There are many roads to Rome.


>> If I remember correctly i used dspam_train but the script was learning spam
>> mails as ham because of not enough pattern?
>> 
> No! That is not the case with dspam_train. dspam_train is only
> training if it finds errors. So if a HAM mail get's tagged by DSPAM
> as SPAM then dspam_train will relearn it. It's much more gentile then your 
> script below.


>> 
>> for spam:
>> for i in `/usr/bin/find /home/spam/ -type f`
>>         do
>>                 echo $i; sudo /usr/local/bin/dspam --client --user
>> myglobaluser --class=spam --source=corpus --mode=teft < $i
>> 
>>       done
>> 
>> For ham mails:
>> 
>> for i in `/usr/bin/find /home/ham/ -type f`
>>         do
>>                 echo $i; sudo /usr/local/bin/dspam --client --user
>> myglobaluser --class=ham--source=corpus --mode=teft < $i
>> 
>>       done
>> 
> That's okay do so. Above in the ham mail part you have a typo.
> There should be a space after "--class=ham" and "--source" and there
> is no class "ham". What you probably wanted to do is:
> For SPAM:
> /usr/bin/find /home/spam/ -type f | while read foo
> do
>   sudo /usr/local/bin/dspam --client --user myglobaluser
> --class=spam --source=corpus --mode=teft --deliver=summary --stdout < "${foo}"
> done

> And for HAM:
> /usr/bin/find /home/ham/ -type f | while read foo
> do
>   sudo /usr/local/bin/dspam --client --user myglobaluser
> --class=innocent --source=corpus --mode=teft --deliver=summary --stdout < 
> "${foo}"
> done


>> PS: I started testing dspam 3.9RC2 on FreeBSD with PostgreSQL driver
>> support.
>>
> And how happy are you with 3.9.0? Any feedback you can give us
> already? Do you have made a package for FreeBSD? Can you share it with us?




--
Ismail YENIGUL
Endersys Ltd.
Proje Yöneticisi / Project Manager

Phone :+90 216-4709423 | Mobile:+90 533 747 36 65
Fax   :+90 216-4709508 | web: http://www.endersys.com.tr
Blog:  http://blog.endersys.com Twitter:  http://www.twitter.com/endersys 
LPI: The #1 Linux Certification for IT Professionals
LPI (Linux Professional Institute) Turkey http://www.lpi-turkey.com
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Dspam-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspam-user

Reply via email to