Re: [Evolution] How do you retroactively train Bogofilter's spam / ham filters on multiple computers using existing messages (on an IMAP account)?

2022-10-14 Thread Jeff via evolution-list
I see!
Thank you very much for the confirmation that I can simply sync the
Bogofilter wordlist file, and the "insert an unmarked message into the
email folder" training workaround (if I ever need to re-train the whole
thing again from scratch someday). That clarification is much
appreciated (I wondered now if something about this could be relevant
to the documentation page in the user manual, or if that's considered
too niche?)
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] How do you retroactively train Bogofilter's spam / ham filters on multiple computers using existing messages (on an IMAP account)?

2022-10-13 Thread Jeff via evolution-list
Hi folks,

After years and years of not being known to spammers, one of my IMAP
email addresses got found, and I'm now slowly starting to get spam on
it. That IMAP account does not have server-side spam filtering (because
that's a PITA to try to figure out with my host) and I thought I'd
simply use Evolution's antispam features.

I read through many email threads from years prior in this mailing list
regarding spam filters, and it seems like the usual recommendation (by
POC & Ralf :) is to go with Bogofilter, i.e. that SpamAssassin is more
for (high-traffic) servers and Bogofilter is better-suited for mail
clients as a fine-tuned purely statistical approach to filtering. So
alright, I installed evolution-bogofilter and turned it on.

Then I thought I'd be clever and select my many years' worth of ham
messages and Right-click, "Mark as NOT Junk", and select the few spam
messages I already had filed in my server-side IMAP "spam" folder,
right-click, "Mark as Junk", in order to get super accurate filtering
from the start by leveraging existing data.

This seems to be working for my desktop computer I'm doing this on now,
as the Evolution statusbar gave me progress indications on "Learning
new ham messages in [the account and folder name] [percentage
complete]" while I was doing that. Cool.

Now here's the twist. I went to my laptop to do the same, and there...
it doesn't let me do that at all (those actions are grayed out, even
though Bogofilter is installed and enabled there), presumably because
Evolution marked them on the server with some sort of IMAP flag I would
guess?

If so, is there any smart way to retroactively train Evolution's
bogofilter on what is and isn't spam on multiple computers on an IMAP
account? Essentially, I want a way to right-click (or anything else in
the UI) and "force train as spam/ham" depending on the folders I
select; currently it seems like the Evolution UI forbids me from doing
that (by disabling the actions, whether in the menus, keyboard
shortcuts, or buttons). Am I missing something, or is this ability
simply missing, and if so should I file a ticket about it?

Otherwise, in the meantime (or alternatively), is it a smart move to
use Unison to propagate the ~/.bogofilter/wordlist.db (presuming that's
the one and only file that governs the filter) from my desktop computer
to my other computers when I need to?
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Understanding the "Free form expression" syntax (GMail-like search with conditional operators)

2022-07-30 Thread Jeff via evolution-list
I have tried looking around and did not find any further documentation
on this,  other than one person in asking the same kind of question in
a distro forum: https://bbs.archlinux.org/viewtopic.php?id=264559

I did not find anything else in this list here or in the issues
tracker.
Are the example "or:(blah blah)" queries I mentioned in my previous
email supposed to work?
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Understanding the "Free form expression" syntax (GMail-like search with conditional operators)

2022-07-27 Thread Jeff via evolution-list
Hi there,
I'm running Evolution 3.42.4 and I'm having trouble understanding the
free-form search syntax that was preliminarily documented
here: https://bugzilla.gnome.org/show_bug.cgi?id=550796#c10

As referenced there (and reportedly now integrated in the manual
directly in the upcoming Evolution
version): https://help.gnome.org/users/evolution/stable/mail-searching.html.en

I have tried a fairly simple search in my inbox, where I wanted to see
all the messages from a colleague (Marjorie) that come either via one
of her email addresses, or from notifications from Trello. I tried
these permutations:

trello or:(marjorie)
trello OR:(marjorie)
subject:trello or:(from:trello) or:(from:marjorie)
f:trello or:(f:marjorie)
f:Trello or:(f:Marjorie)
f:rello or:(f:arjorie)

...with various permutations of uppercase/lowercase/shorthand vs full
length, etc.

I never can seem to get search results out of this "Free form
expression" search mode, whereas if I use the regular "Subject or
Addresses contain" search mode, I can easily find either anything that
came from Marjorie, or I can find everything related to Trello (simply
by searching "trello"), but not both at the same time since that search
mode does not support conditional operators as far as I know. Hence my
(so far unsuccessful) attempt at using the "Free form expression"
search mode.

Do you see something wrong in my examples of search queries above?
Evolution's is confusing to me in that regard. Am I supposed to use
only the long versions, or the short versions, or any work? (might be
good to specify explicitly that any of those two styles can be used).
Are queries case sensitive (I hope not, because I have no guarantee
that the sender will be consistent) or were the last two queries above
equivalent? (the docs should specify that :)

I tried breaking down the problem into smaller components, and could
confirm that all of these queries work, individually:

f:rello
f:marjorie
from:marjo
...etc.

So it seems case-insensitive (yay!) and that the basic search fields
work... just not when using the "or:" operator like this:

from:marjo or:(from:trello)


I _thought_ I understood Evolution's syntax but maybe I didn't. I'm not
sure if it's me, the docs, or the software.

GMail's documentation is quite easier for me to understand, perhaps
because it uses a lot of examples and is consistent with what we've
been used to with Google Search over the past two
decades: https://support.google.com/mail/answer/7190?hl=en

Their syntax feels a bit easier to handle, with the simple use of the
word "OR" as an operator (and you can group terms with parentheses if
it's more than two terms around the OR condition), you can use "-" as
the "NOT" operator, etc. so it feels a bit cleaner than needing to use
"or:(foo)" everywhere, if I understood Evolution's syntax correctly.
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list