From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mN5UJc+B3mM4CgAAbAwnHQ (envelope-from ) for ; Sat, 04 Feb 2023 17:03:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id SMdnJM+B3mMd8AAAG6o9tA (envelope-from ) for ; Sat, 04 Feb 2023 17:03:27 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 278E31C29B for ; Sat, 4 Feb 2023 17:03:27 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOKzq-0002Qv-4a; Sat, 04 Feb 2023 11:02:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOKzn-0002Qk-J0 for emacs-orgmode@gnu.org; Sat, 04 Feb 2023 11:02:32 -0500 Received: from ciao.gmane.io ([116.202.254.214]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOKzj-0006C5-RY for emacs-orgmode@gnu.org; Sat, 04 Feb 2023 11:02:31 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1pOKzh-000836-He for emacs-orgmode@gnu.org; Sat, 04 Feb 2023 17:02:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: Re: [BUG] list.orgmode.org managed to parse a message in future: 2023-10-29 [9.6.1 (release_9.6.1-223-gc8d20d @ /home/yantar92/.emacs.d/straight/build/org/)] Date: Sat, 4 Feb 2023 23:02:16 +0700 Message-ID: References: <87pmarnhlr.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Content-Language: en-US In-Reply-To: <87pmarnhlr.fsf@localhost> Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 27 X-Spam_score: 2.7 X-Spam_bar: ++ X-Spam_report: (2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-0.09, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1675526607; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=NORgy+Rj9CWVimwTIlIsChQ72Ft9XoLlJo33Y4tfI0s=; b=VITmk8mXFC75Tr6ay6+2QMYV7/Ly+5BJKlsswPgKFeCLwQwNYGlG1yCDgApf2AClVybNG/ 0xvUpsEoCRWFWZ8qk3DpP1RFo3LGNCChXSgUVmuvYpaZnnibGD+87w0UB9jEGGF6ihDNGF YjKYSCif/ytVxjnAgdSYwtYJVUMwDaPtgLZXfij6624rsFMDrDTBeOvLwIiS+bAMInZr1m uDEMrBd6flp2vgphZbzN+sqtuDmb8S2fgsEU1OIcJvi2h4o2izSUnyiC+LlG411ula6vfr ZJBEb+ACsZy/yUnr9Ow5ZxAPycyIrc5gS7ZfYSXsS1+3PL8Q9+tONxCKbRwz1A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1675526607; a=rsa-sha256; cv=none; b=QUu4zvlIT4kl4R25/9zHR6MRclSMCFdnYsWe+qlXMtc6F7AdD/wOx7hFiHI29pWfFbSMne o7o0YVGZSXYqMbhsVbPko+JgHd7VvvCk3z7EbZxIxVOi9kf9nNoYmD+AvvBzBn/ITzhXmJ FMoR2xUH/Dmj4fIfYN0gPXasdOPRkU+5McweA2duYGGGlERr/eleVVXzfb3tuyO86PE0Jo LFvLhnRTBr6XOs7FBUhAzMIMaEumCyJE0AbjhLJ1ySnI7FhOCkWJ+0Q3zdqggRdp9J+RcH GToJxIfdREBGjWLq99UUHKEewtT2BRwvssxrl9LfB9B1Ear16wYapjDzN5Fg8w== X-Migadu-Queue-Id: 278E31C29B X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.62 X-Spam-Score: 2.62 X-TUID: ryUlmy4M8oyq On 03/02/2023 17:55, Ihor Radchenko wrote: > > We currently have a message in future on top of > https://list.orgmode.org/ At the epoch of livejournal some users intentionally assign some date in the the future to pin posts at the top of their blogs. > The message is > https://list.orgmode.org/ZT2vNKsf3Lp5xit3@protected.localdomain/raw, and > it does not contain the future dates in headers. Just in the body. See the "Date" header > Date: Sun, 29 Oct 2023 04:02:44 +0300 > Are we observing public inbox bug? Earlier I have seen spam messages from the future. I think, it just was easier to take time from the Date header. Parsing of "Received" headers is more complicated and it is necessary to configure which one can be trusted. Sender may add some fake "Received" headers as well. Moreover it is necessary to ensure that time is correct on the trusted server. (It must be done anyway, incorrect time may lead to failure of TLS handshake before message transfer.) I am not convinced that mail list must drop messages with future date. Public inbox may have some feature like override map Message-ID -> correct date or parsing "Received" headers. The latter may increase server load during mail processing.