From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51733: 27.1; Detect impossible email addresses better Date: Wed, 19 Jan 2022 15:11:51 +0200 Message-ID: <83o847swdk.fsf@gnu.org> References: <87czn8etuz.7.fsf@jidanni.org> <83bl0awbqq.fsf@gnu.org> <87sftm5lxc.fsf@gnus.org> <835yqiwa87.fsf@gnu.org> <87ee565l4d.fsf@gnus.org> <875yqi5kk7.fsf@gnus.org> <83zgnuuucu.fsf@gnu.org> <83r196uqni.fsf@gnu.org> <87sftm3ye5.fsf@gnus.org> <87iluh4ety.fsf@gnus.org> <87ee55474p.fsf@gnus.org> <87a6ft46mr.fsf@gnus.org> <874k6146ay.fsf@gnus.org> <87zgnt2qz9.fsf@gnus.org> <87v8yh2ot4.fsf@gnus.org> <87r1952omd.fsf@gnus.org> <831r14vq70.fsf@gnu.org> <8735lkdqll.fsf@gnus.org> <834k60t03u.fsf@gnu.org> <87h79zdgxe.fsf@gnus.org> <83sftjswv8.fsf@gnu.org> <87zgnrc1sf.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39022"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51733@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 19 15:11:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nABgD-0009zq-SQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 15:11:18 +0100 Original-Received: from localhost ([::1]:33040 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nABgC-0003M9-GL for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Jan 2022 09:11:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAAm0-0005N8-FS for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 08:13:14 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAAlq-0000Pr-2R for bug-gnu-emacs@gnu.org; Wed, 19 Jan 2022 08:13:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nAAlp-00073i-Mq; Wed, 19 Jan 2022 08:13:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Wed, 19 Jan 2022 13:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51733 X-GNU-PR-Package: emacs,gnus Original-Received: via spool by 51733-submit@debbugs.gnu.org id=B51733.164259793227071 (code B ref 51733); Wed, 19 Jan 2022 13:13:01 +0000 Original-Received: (at 51733) by debbugs.gnu.org; 19 Jan 2022 13:12:12 +0000 Original-Received: from localhost ([127.0.0.1]:52652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAAl2-00072Z-LI for submit@debbugs.gnu.org; Wed, 19 Jan 2022 08:12:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAAky-00072J-4k for 51733@debbugs.gnu.org; Wed, 19 Jan 2022 08:12:11 -0500 Original-Received: from [2001:470:142:3::e] (port=35796 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAAkq-0000In-9Y; Wed, 19 Jan 2022 08:12:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=3Sl0rRFpzk4n2Tn8GYawVZo9pk9XIxvpuxrX+zktDcE=; b=CtjcEmUX/fu3 TuBXY/tj/6gnDTCJNEeWmMlOn4vTSLiVPAkbUDBolGI+/AZU7GI/VinvcKNTDVnkko/K/mzj53NEe s6QNj0SX5nscGe2WGacOaQqs6dufqj9U7Ev7qJHolqKkdvQ1prtUce6FF+IGdWUgTgXEI4cbAJkL+ LI/lf0HuoK1QiUgSEVzOVYVM3/UWn3O7ri/ZWkkZFGSLSegY+N5npSzqGU97dcECES0Mi14CqSB5M obyBKKieGfPYc9quX/Ynm3pp/5Nbh5sI99VgQCZwm0Bi/GlnbPhYR86mbrs76sEFlCL6c+3Ub2RkQ kUnVao5hl4XAvYVz0msSSQ==; Original-Received: from [87.69.77.57] (port=2378 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAAkm-0000EK-6S; Wed, 19 Jan 2022 08:11:56 -0500 In-Reply-To: <87zgnrc1sf.fsf@gnus.org> (message from Lars Ingebrigtsen on Wed, 19 Jan 2022 14:06:56 +0100) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:224590 Archived-At: > From: Lars Ingebrigtsen > Cc: 51733@debbugs.gnu.org > Date: Wed, 19 Jan 2022 14:06:56 +0100 > > Eli Zaretskii writes: > > >> There's no scanning -- rmail displays the From header, right? So it > >> does decoding before displaying the header. It has to do the textsec > >> stuff first, too. > > > > Not if textsec is optional, it doesn't. > > I don't understand what you mean here. rmail will call > (decorate-suspicious-email from) and then insert the result into the > buffer. If textsec is switched off, it'll just return `from' as is. 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.