Re: Clean installation and ByesIt!

2005-12-06 Thread Roelof Otten
Hallo Edvinas,

On Tue, 6 Dec 2005 09:06:45 +0200GMT (6-12-2005, 8:06 +0100, where I
live), you wrote:

 IIRC those are BayesIt's dictionary files with words you've defined as
 spam or ham related. You're supposed to configure BayesIt so that it
 knows where you want it to place those files.

EM I understand it perfectly.

No, you don't.

EM The problem is that with the clean installation I *don't have* those files.
EM And when I don't have them BayesIt! does not vreate new ones, it just
EM complains about missing files.

You're supposed to tell BayesIt where to place them. So that when you
mark messages as HAM or SPAM it knows where it has to create the files
when they're not on the specified place.
In  order to create them you have to tell it where you want them, you
can do that via the menu:
  Options - Preferences - Anti-Spam - BayesIt! - Configure - Basic 
filter's options - Working directory

Just now, just for the pleasure of testing it for you I deleted the
whole directory tree where my copy of BayesIt stores its stuff.
Subsequently I marked some messages as SPAM or HAM and BayesIt created
not only the files, but also the directory tree..

-- 
Groetjes, Roelof

ERROR: 001 Windows loaded.  System in danger.

The Bat! 3.63.06 (Beta)
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgpGHIoMbIUX2.pgp
Description: PGP signature

Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Clean installation and ByesIt!

2005-12-06 Thread Edvinas Matiušaitis
Hello Roelof,

On Tuesday, December 6, 2005, at 10:52 Lithuanian Time, you wrote:

 You're supposed to tell BayesIt where to place them. So that when you
 mark messages as HAM or SPAM it knows where it has to create the files
 when they're not on the specified place.
 In  order to create them you have to tell it where you want them, you
 can do that via the menu:
   Options - Preferences - Anti-Spam - BayesIt! - Configure - Basic
 filter's options - Working directory

 Just now, just for the pleasure of testing it for you I deleted the
 whole directory tree where my copy of BayesIt stores its stuff.
 Subsequently I marked some messages as SPAM or HAM and BayesIt created
 not only the files, but also the directory tree..

Well, it is not the case here. I was doing everything absolutely the same as
you describing, however BayesIt creates just the following directories and
files (output of dir *.* /s):

===
 Directory of Q:\Mail\BayesIt

2005-12-06  11:10DIR  .
2005-12-06  11:10DIR  ..
2005-12-06  11:04DIR  base
2005-12-06  11:06 2 587 bayesit.LOG
   1 File(s)  2 587 bytes

 Directory of Q:\Mail\BayesIt\base

2005-12-06  11:04DIR  .
2005-12-06  11:04DIR  ..
2005-12-06  11:06DIR  transact
   0 File(s)  0 bytes

 Directory of Q:\Mail\BayesIt\base\transact

2005-12-06  11:06DIR  .
2005-12-06  11:06DIR  ..
2005-12-06  11:05 1 189 858 autotrain.bys
2005-12-06  11:0610 752 autotrain.idx
2005-12-06  11:0621 624 autotrain.lst
   3 File(s)  1 222 234 bytes

 Total Files Listed:
   4 File(s)  1 224 821 bytes
   8 Dir(s)   7 176 785 920 bytes free
==

And here what is in BayesIt log file:

06.12.2005 11:16:25  --- New session log 
BayesIt! version: 
06.12.2005 11:16:25 0.8.4
06.12.2005 11:16:25 Loading training information.
06.12.2005 11:16:25 Recalculating dictionaries from here:
06.12.2005 11:16:25 Z:\Edvinas\My Documents\Mail\BayesIt\base\spamdict.bye
06.12.2005 11:16:25 Loading whitelist...
Number of loaded whitelist rules: 0
06.12.2005 11:16:25 Whitelist was loaded successfully
06.12.2005 11:16:25 Loading blacklist...
Number of loaded blacklist rules: 0
06.12.2005 11:16:25 Blacklist was loaded successfully
06.12.2005 11:16:25 Loading ignorelist...
Number of loaded ignorelist rules: 0
06.12.2005 11:16:25 Ignorelist was loaded successfully
06.12.2005 11:16:27 Background recalculation started...
06.12.2005 11:16:27 Z:\Edvinas\My Documents\Mail\BayesIt\base\nspamdict.bye
06.12.2005 11:16:27 Spam frequency dictionary:
06.12.2005 11:16:27 Error loading file. May be it is corrupted or lost.
06.12.2005 11:16:27 Non-spam frequency dictionary:
06.12.2005 11:16:27 Error loading file. May be it is corrupted or lost.
06.12.2005 11:16:27 Dictionary didn't load. Continue in training mode...

-- 
Edvinas
Using The Bat! 3.62.14 on Windows XP Service Pack 2









Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Clean installation and ByesIt!

2005-12-06 Thread Roelof Otten
Hallo Edvinas,

On Tue, 6 Dec 2005 11:17:41 +0200GMT (6-12-2005, 10:17 +0100, where I
live), you wrote:

 Just now, just for the pleasure of testing it for you I deleted the
 whole directory tree where my copy of BayesIt stores its stuff.
 Subsequently I marked some messages as SPAM or HAM and BayesIt created
 not only the files, but also the directory tree..

EM Well, it is not the case here. I was doing everything absolutely the same as
EM you describing, however BayesIt creates just the following directories and
EM files (output of dir *.* /s):

Well, I got the same log entries as you, but when I mark messages as
spam or ham I get this in my BayesIt log:

: ---
: Training mode... Value is 0, no tokens!
: ---
06.12.2005 08:38:22 Preparing of autotraining: creation of  folder and 
moving file with collected info into this folder.
06.12.2005 08:38:22 Preparing stage of autotraining is completed.
06.12.2005 08:38:25 This autotraining session will...
06.12.2005 08:38:25 change the 'non-spam' part of dictionary by:
collected letters assigned to this part: 483
and the total counter of tokens: 203089
06.12.2005 08:38:25 change the 'spam' part of the dictionary by:
collected letters assigned to this part: 940
and the total counter of tokens: 256299
Try pass number: 1
06.12.2005 08:38:26 Recalculation of 'spam' frequency dictionary...
06.12.2005 08:38:26 Recalculation of 'spam' completed.
06.12.2005 08:38:26 Recalculation of 'non-spam' frequency dictionary...
06.12.2005 08:38:26 Recalculation of 'non-spam' completed.
06.12.2005 08:38:26 Final checking of current recalculation...
06.12.2005 08:38:26 checking integrity of new 'non-spam' dictionary...
06.12.2005 08:38:26 Checking of this dictionary is completed.
06.12.2005 08:38:26 checking integrity of new 'non-spam' dictionary...
06.12.2005 08:38:26 Checking of this dictionary is completed.
06.12.2005 08:38:26 Refreshing main 'non-spam' dictionary by recalculated one.
06.12.2005 08:38:26 Refreshing main 'spam' dictionary by recalculated one.
06.12.2005 08:38:26 All autotraining processes completed.

You need to train BayesIt, not with one or two messages, but with a
couple of hundred, so that it gets a reasonable idea of what you
consider spam. BayesIt will not work immediately out of the box and it
never will. The
EM 06.12.2005 11:16:27 Dictionary didn't load. Continue in training mode...
that you quoted from your log is BayesIt's way to ask for training

-- 
Groetjes, Roelof

User - a technical term used by computer pros. See idiot.

The Bat! 3.63.06 (Beta)
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgpR4xZjhY5Sj.pgp
Description: PGP signature

Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Clean installation and ByesIt!

2005-12-06 Thread Barry
On Tue, 6 Dec 2005 11:17:41 +0200, Edvinas Matiušaitis wrote:

 Well, it is not the case here. I was doing everything absolutely the same as
 you describing, however BayesIt creates just the following directories and
 files (output of dir *.* /s):
 
 ===
  Directory of Q:\Mail\BayesIt
 
 2005-12-06  11:10DIR  .
 2005-12-06  11:10DIR  ..
 2005-12-06  11:04DIR  base
 2005-12-06  11:06 2 587 bayesit.LOG
1 File(s)  2 587 bytes
 
  Directory of Q:\Mail\BayesIt\base
 
 2005-12-06  11:04DIR  .
 2005-12-06  11:04DIR  ..
 2005-12-06  11:06DIR  transact
0 File(s)  0 bytes
 

Well, I've been down this road also, so you're not alone Edvinas.

I seem to recall that the problem occurs when the mail folder is not in the
'default' location, i.e. as part of the TB program folder group.

IIRC I *think* I got over the problem by creating two 'dummy' files using
notepad and manually copying them to the 'new' Bayesit location.

Once BayesIt managed to write some extra entries to this location then
everything worked OK afterwards.

Make doubly sure that the folder locations are EXACTLY where they should be
in the Bayeit options. And, make sure that you haven't got TWO copies of
BayesIt installed in different locations.

I had these problems a few versions ago and up to now subsequent program
'upgrades' have worked OK.

Good Luck!

-- 
Best regards
Barry
barryh'at'kentra'dot'co'dot'uk

Using TheBat! version 3.62.14
and BayesIt! 0.8.4 Release



Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Clean installation and ByesIt!

2005-12-06 Thread Roelof Otten
Hallo BJH,

On Tue, 6 Dec 2005 10:38:48 +GMT (6-12-2005, 11:38 +0100, where I
live), you wrote:

B I seem to recall that the problem occurs when the mail folder is not in the
B 'default' location, i.e. as part of the TB program folder group.

Can't be the problem, as I don't store my messages there either.

-- 
Groetjes, Roelof

Windows 95: Making Windows work just like a Mac did 10 years ago!

The Bat! 3.63.06 (Beta)
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgpYS8tH8W9gn.pgp
Description: PGP signature

Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Clean installation and ByesIt!

2005-12-06 Thread Edvinas Matiušaitis
Hello Roelof,

On Tuesday, December 6, 2005, at 11:37 Lithuanian Time, you wrote:

 You need to train BayesIt, not with one or two messages, but with a
 couple of hundred, so that it gets a reasonable idea of what you
 consider spam. BayesIt will not work immediately out of the box and it
 never will. The
EM 06.12.2005 11:16:27 Dictionary didn't load. Continue in training mode...
 that you quoted from your log is BayesIt's way to ask for training

Well, you were right. I had not enough spam messages for BayesIt to get
proper training. When I've marked a couple of hundreds of messages as spam,
then a couple of hundreds of messages as not spam ant BayesIt exited
training mode and created those missing files.

-- 
Edvinas
Using The Bat! 3.62.14 on Windows XP Service Pack 2










Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Clean installation and ByesIt!

2005-12-06 Thread Roelof Otten
Hallo Edvinas,

On Tue, 6 Dec 2005 17:51:46 +0200GMT (6-12-2005, 16:51 +0100, where I
live), you wrote:

EM Well, you were right. I had not enough spam messages for BayesIt to get
EM proper training.

Actually, that's the reason that I'm keeping about 1000 messages in my
junk folder. Whenever I decide to retrain BayesIt I still have enough
bad mail. Enough good mail isn't the problem as I keep somewhat more
of those...

-- 
Groetjes, Roelof

Where there's smoke, there's toast.

The Bat! 3.63.06 (Beta)
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgp6HtGAKjwtx.pgp
Description: PGP signature

Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Clean installation and ByesIt!

2005-12-05 Thread Edvinas Matiušaitis
Hello,

I've made clean installation of The Bat! then added BayesIt and everything
what I got were missing spamdict.bye and nspamdict.bye files.

I just wonder if anyone at Ritlabs tried to do clean installation of
verion 3.62.14?

-- 
Edvinas










Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html


Re: Clean installation and ByesIt!

2005-12-05 Thread Roelof Otten
Hallo Edvinas,

On Mon, 5 Dec 2005 19:17:01 +0200GMT (5-12-2005, 18:17 +0100, where I
live), you wrote:

EM I've made clean installation of The Bat! then added BayesIt and everything
EM what I got were missing spamdict.bye and nspamdict.bye files.

IIRC those are BayesIt's dictionary files with words you've defined as
spam or ham related. You're supposed to configure BayesIt so that it
knows where you want it to place those files.

-- 
Groetjes, Roelof

Pride is what we have. Vanity is what others have.

The Bat! 3.63.06 (Beta)
Windows XP 5.1 Build 2600 Service Pack 2
1 pop3 account, server on LAN
OTFE enabled
P4 3GHz
2 GB RAM


pgpXp6JXfw2fd.pgp
Description: PGP signature

Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html

Re: Clean installation and ByesIt!

2005-12-05 Thread Edvinas Matiušaitis
Hello Roelof,

On Monday, December 5, 2005, at 19:48 Lithuanian Time, you wrote:

EM I've made clean installation of The Bat! then added BayesIt and everything
EM what I got were missing spamdict.bye and nspamdict.bye files.

 IIRC those are BayesIt's dictionary files with words you've defined as
 spam or ham related. You're supposed to configure BayesIt so that it
 knows where you want it to place those files.

I understand it perfectly.

The problem is that with the clean installation I *don't have* those files.
And when I don't have them BayesIt! does not vreate new ones, it just
complains about missing files.

-- 
Edvinas











Current version is 3.62.14 | 'Using TBUDL' information:
http://www.silverstones.com/thebat/TBUDLInfo.html