Re: sa-learn won't read db created via MSTOR

2017-07-10 Thread RW
On Sat, 8 Jul 2017 21:55:36 +0100 RW wrote: > On Sat, 8 Jul 2017 14:14:42 -0500 > Jerry Malcolm wrote: > As a proof of concept try a small mbox file with > > mbox_format_from_regex /^From\s/ and if it works try this instead: /^From \S+ ?(\S\S\S \S\S\S .?\d .?\d:\d\d:\d\d \d{4})/

Re: sa-learn won't read db created via MSTOR

2017-07-08 Thread Antony Stone
On Saturday 08 July 2017 at 22:55:36, RW wrote: > I had a spillage and most of the punctuation characters > on my keyboard aren't working at the moment. Oh dear, my sympathies - but what a splendid quote on a mailing list :) Antony. -- Salad is what food eats.

Re: sa-learn won't read db created via MSTOR

2017-07-08 Thread RW
On Sat, 8 Jul 2017 14:14:42 -0500 Jerry Malcolm wrote: > Thanks for the info. Unfortunately, I don't have a clue how to > interpret a regex expression. I couldn't find any reference to > mbox_format_from_regex in the 3.1.x Mail::SpamAssassin::Conf that > came up when I googled it. I hope you

Re: sa-learn won't read db created via MSTOR

2017-07-08 Thread Jerry Malcolm
Upon further investigation, I don't think sa-learn is even attempting to open the file. I get the exact same message whether I give it a real file or just a string of characters for a file name: [C:\Program Files\JAM Software\SpamAssassin in a Box]sa-learn.exe --spam --mbox c:\IMAPUtil\temp\

Re: sa-learn won't read db created via MSTOR

2017-07-08 Thread Jerry Malcolm
Thanks for the info. Unfortunately, I don't have a clue how to interpret a regex expression. I couldn't find any reference to mbox_format_from_regex in the 3.1.x Mail::SpamAssassin::Conf that came up when I googled it. The separators in my mbox file are: From - Sat Jul 8 01:02:28 2017 Can

Re: sa-learn won't read db created via MSTOR

2017-07-08 Thread RW
On Sat, 8 Jul 2017 01:57:47 -0500 Jerry Malcolm wrote: > Below is a complete log dump from the -D option on sa-learn. ... > _set_default_message_selection_opts After: Scanprob[1], want_date[0], > cache[0], from_regex[^From \S+ ?(\S\S\S \S\S\S .\d .\d:\d\d:\d\d > \d{4}|.\d-\d\d-\d{4}_\d\d:\d\d:

Re: sa-learn won't read db created via MSTOR

2017-07-07 Thread Jerry Malcolm
Below is a complete log dump from the -D option on sa-learn. I am really curious that the file name I passed in is never even mentioned in the log. Is that expected? Do I have some sort of syntax error passing the mbox filename in? Here's the command: [C:\Program Files\JAM Software\Spam

sa-learn won't read db created via MSTOR

2017-07-07 Thread Jerry Malcolm
My client mail repository is in a sql db and is not an option for sa-learn to read directly. That's fine. I wrote a utility that reads all the mail out of the uncaught-spam folder from my db and creates an mbox folder using the mstor java package. The mbox file gets created with no problem.