Re: [Evolution] Junk stops running sa-learn after one use



On Tue, 2006-24-10 at 07:39 -0400, Brian J. Murrell wrote:
In some number of recent versions (2.8.x I believe) it seems that
Evolution will only run sa-learn one time after a clean start after
which when I hit Junk, the spam moves to the junk folder but sa-learn is
not run on it.

This smells like some kind of result caching.  Maybe there is something
during the first sa-learn run that Evo discovers it does not like and it
decides to avoid running it any more?

To reply to my own message, as I have solved the problem, the details
are in bug 368851: http://bugzilla.gnome.org/show_bug.cgi?id=368851

But the gist of it is that my custom sa-learn command had to also
respond to a --version option when called as "spamassissin" as well as
sa-learn (i.e. I hardlinked my .../bin/sa-learn script which already had
a --version passthrough to .../bin/spamassassin).  See the function
em_junk_sa_test_spamassassin() in
plugins/sa-junk-plugin/em-junk-filter.c for reference.

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

Attachment: signature.asc
Description: This is a digitally signed message part



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]