[Users] Mail filters: exact matching?

wwp subscript at free.fr
Sat Feb 22 12:35:59 CET 2020


Hello,


On Sat, 22 Feb 2020 10:33:31 +0000 "Jeremy Nicoll" <jn.ml.clwm.729 at letterboxes.org> wrote:

> On Sat, 22 Feb 2020, at 03:24, Victoria Stuart (VictoriasJourney.com) wrote:
> 
> >   subject regexpcase "^bcialis$"  
> 
> What is the "b" for?

A typo, I bet on a copy/paste accident ;-).

Both '\bword\b' and '^word$' together aren't necessary, since \b matches
either ^ and $. IOW you just need one: '\bword\b', that will match any
kind of word boundaries.

BTW, filtering spam on a keyword basis is quite a limited and deceptive
work without introducing the notion of grammar, which you cannot handle
using simple matching. The list of words is infinite, prone to false
positives and negatives, words are often obfuscated by spammers (with
either mistakes or letter substitutions: cia1is, cialys, etc.).

Victoria: why not using a proper spam filtering method? Claws Mail
has support for bogofilter, bsfilter, spamassassin through
plugins, you could even use popfilter w/o plugin and still on
client side.


Regards,

-- 
wwp
https://useplaintext.email/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20200222/62aedc8a/attachment.sig>


More information about the Users mailing list