bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#51733: 27.1; Detect impossible email addresses better


From: Lars Ingebrigtsen
Subject: bug#51733: 27.1; Detect impossible email addresses better
Date: Wed, 19 Jan 2022 14:16:48 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

> But From is not the only place where a suspicious address could hide.
> It could also be in the body, or in the quotation parts.  We cannot
> rely on header decoding alone to do this job well.

The scope of the relevant implemented functions are to determine if the
(on-wire) mail headers are suspicious or not, and do so reliably.  We
can add a slew of other functions for other types of DWIM
suspiciousness, of course, but that's outside the remit.

(For instance, if you wish to implement a filter that looks for
suspicious emails, you'd typically find anything that looks like an
email, see whether it can be RFC2047 encoded, encode it, and then call
the -email-suspicious-p function.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]