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})/
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.
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
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\
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
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:
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