From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8N2IK35MNmFBvwAAgWs5BA (envelope-from ) for ; Mon, 06 Sep 2021 19:14:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id QJH9Jn5MNmHxXQAAbx9fmQ (envelope-from ) for ; Mon, 06 Sep 2021 17:14:38 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [IPv6:2607:5300:201:3100::1657]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0144A1BFB2 for ; Mon, 6 Sep 2021 19:14:38 +0200 (CEST) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 641572031C; Mon, 6 Sep 2021 13:14:34 -0400 (EDT) Received: from smtprelay06.ispgateway.de (smtprelay06.ispgateway.de [80.67.31.102]) by mail.notmuchmail.org (Postfix) with ESMTPS id 14C2A202E1 for ; Mon, 6 Sep 2021 13:14:32 -0400 (EDT) Received: from [46.244.216.131] (helo=condition-alpha.com) by smtprelay06.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mNI9l-0003bC-4e; Mon, 06 Sep 2021 19:11:41 +0200 Message-Id: From: Alexander Adolf To: David Bremner , notmuch@notmuchmail.org Subject: Re: Is default email address in notmuch setup / lib useful? In-Reply-To: <87sfyibqhj.fsf@tethera.net> References: <87sfyibqhj.fsf@tethera.net> Date: Mon, 06 Sep 2021 19:14:29 +0200 MIME-Version: 1.0 X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= Message-ID-Hash: SPSVHBII2XVGYCCP254RHJ47YTPFDLOZ X-Message-ID-Hash: SPSVHBII2XVGYCCP254RHJ47YTPFDLOZ X-MailFrom: alexander.adolf@condition-alpha.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1630948478; h=from:from: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=1Fxybuqvh+ESCC2MpKI/GZkLOUITV9sGE68IDz/sQBY=; b=BxfCei5WUkfdh6WJV4mivsXQe+3WMod/qiiu5CkyM8sAzKixG7/1cVmPTU05KlamqlnYdA 6xgny7L+k4oWEp9RoSuhWXgqxp0Z2lU/LYIKd87j8WCDdScuu3qy1fJ2r7oxBtfgqZ7iYU PWPs73P5G2ZTmRKj1UsHQUdaTVgi4IzozOqj+fAPSEa6XG7Y6uSrZenP7YlEonUTrTRsYd WAZJaOBNC5uMlbo/pch6d5osF1O0EahEw4LkLtse5FyqCRWLlv0h9txSmtHvhpSZJQs2qG vSRz/tVBcxHWjP7VBlIvxeC+Vmu40xhvyk3OKKcKRKGlhEcovzkPuBnazyL6KQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1630948478; a=rsa-sha256; cv=none; b=qezfrZiHjffj3PJBep9Iks0hJbmXYmCKHhFCnsD+mkfztdVp2ToL93cb8JqHXj670oSzY1 x+rpPNP6lV3PkO2eDpn6dGRpB9J2q8ZAqpA4aX28brmhBE66Wj2R59H0VPSIfDmrKvWQTr 9iI15tK+wwQGHSkUaJI7Bx225c4qEnT4bLetW6P5b5lwrO7HYV9hMONrgHtvDrLE8r7gxm 7iWiF62IHL9y4PexZzyJbt794mgm7Eir5FJCzNSNjUtnO1ES11qKFaH6JmBzXVw9SoitzD OSPtwbWfsQECNih9kC7bSf4VmrUxMmF5eCOE8mv6Xf/LeAK0SEy309EXVWjUgg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: -0.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2607:5300:201:3100::1657 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 0144A1BFB2 X-Spam-Score: -0.89 X-Migadu-Scanner: scn1.migadu.com X-TUID: iqEqwDZ/x7Z3 David Bremner writes: > Currently notmuch tries to make a guess for a default email address > based on the "fully qualified hostname" of the host it is running > on. This is roughly equivalent to running "hostname -f". I have observed > two things > [...] > If people agree it's generally not useful, I'd propose to replace it > with some simpler default like "localhost" [1], equally useful to for > testing, but simpler to implement and test. > [...] I'd support David's suggestion to just default it to "localhost". If an unsuspecting user tries to send their first email with notmuch, the current behaviour could reveal information about the user's local infrastructure in the message. "localhost" is a much safer default, IMO. --alex