Arthur Dent wrote:

Hmmm... Not delete exactly, but the sa-learn job take so long that the
archivemail job has kicked off and finds the "TempSpam" and "TempHam" mboxes
in the Mail directory and dutifully chops out anything older than 180 days. I
didn't think that that would be a problem, but maybe it's upsetting sa-learn?
I will try switch the order of the jobs (archivemail running first) and see if
that makes a difference..

At this point you have probably already swapped the two processes.

I think sa-learn or the process feeding it does not like the chopping.

Well, as I explained in my previous post, the "TempHam" folder is a
concatenation of all my non-spam folders. Mail that is older than 180 days is
taken off at one end and new mail (c. 30-40 per day) added on at the other.
The total remains roughly constant.

Don't forget that sa-learn remembers which messages have been learned. Once your old messages have all been learned, you need to feed to it only new arrivals, that is since the last sa-learn run. No need to keep 180 days worth of ham and spam in the temp folder!


Let sa-learn complete and then chop the folder. Just concatenate the process rather than schedule it in crontab. It should fix your apparent weirdness.

Paolo

Reply via email to