On Sat, 1 Sep 2018, David B Funk wrote:
On Sat, 1 Sep 2018, Rupert Gallagher wrote:
This is a subject line:
Re: Habemus APP LG 😉
Do you understand that is not an image (EG jpg, png, or tiff) but a UTF-8
code point ("emoji" character) glyph.
We cannot tell because you haven't provided us with an actual message but I'm
going to guess that subject line was represented in Base-64 encoded UTF-8
(IE raw message looked like: Subject:
=?utf-8?B?THVjayBvZiB0aGUgUmlkZSDwn42A?= ).
I just thought of another possibility, rather than Base-64 they could use
quoted-printable encoding. EG:
Subject: =?UTF-8?Q?Re=3A_Habemus_APP_LG_=F0=9F=98=89?=
Either way that's still not an "image" but a single UTF-8 glyph.
Give that there are over a million UTF-8 glyphs, do you really want to go to the
trouble of trying to pick on a particular small subset of them?
Are you saying that there's a particular emoji (UTF-8 glyph) which is a strong
spam indicator?
If so you could write a specific pattern match rule for it or feed it to bayes
and let bayes do the heavy lifting.
--
Dave Funk University of Iowa
<dbfunk (at) engineering.uiowa.edu> College of Engineering
319/335-5751 FAX: 319/384-0549 1256 Seamans Center
Sys_admin/Postmaster/cell_admin Iowa City, IA 52242-1527
#include <std_disclaimer.h>
Better is not better, 'standard' is better. B{