From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id kBLzACob8GJ8zQAAbAwnHQ (envelope-from ) for ; Sun, 07 Aug 2022 22:06:02 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AE0IACob8GIQEwEAG6o9tA (envelope-from ) for ; Sun, 07 Aug 2022 22:06:02 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [135.181.149.255]) (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 97DBAFF25 for ; Sun, 7 Aug 2022 22:06:01 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 351B35E01E; Sun, 7 Aug 2022 19:57:41 +0000 (UTC) X-Greylist: delayed 479 seconds by postgrey-1.36 at yantan; Sun, 07 Aug 2022 19:57:38 UTC Received: from mariecurie.labrat.space (mariecurie.labrat.space [116.203.185.229]) by mail.notmuchmail.org (Postfix) with ESMTPS id 804715E00F for ; Sun, 7 Aug 2022 19:57:38 +0000 (UTC) Received: from labrat.space (adsl-178-38-36-59.adslplus.ch [178.38.36.59]) by mariecurie.labrat.space (Postfix) with ESMTPSA id C9C143D11FDB; Sun, 7 Aug 2022 21:49:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=labrat.space; s=201904; t=1659901778; bh=UjiTYU6r1/oXxJBIpL4Rr++tKhIYaDZ8ZO0mPNdYpno=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To:From:To:CC:Date: Subject:Content-Type:Content-Disposition:Reply-To:In-Reply-To: MIME-Version:Message-ID:References; b=i2PhOuMk1PUySw6+IysEAa1pVlcFx7K01Vj9KjXrtZvR4jzCdesn+cEE+KiNAjGjo MfExWEqHaA6Uxd510KaZBtP6jwozjCLMnoYL0CvOdNx8KTUbeBDxqYUywiTuW4U/Ra N+lgQpXjnNoZlX2ZYw8yF7NDtykvj3lC1gB9qwGiyflSClSoX3QGbabtEnzXAdFQCe GhBMu9lpazy2678Wc2U1+jhk8q3Mw2LJTXy/41UbLDvj27Ch86CaVrFu1PL2WHXM4o S0LDf/qqpP7Hi+S2Dw5ozJJRiZBJ6e1Ax/CR9+W6KTz2LqrITtKhE51gh8VmIyEimc 8p9NqXcEgeHGw== Date: Sun, 7 Aug 2022 21:49:36 +0200 From: Reto To: Notmuch mailinglist Subject: Re: Create tags from folders Message-ID: <20220807194936.g5laji54wfufzast@feather> Mail-Followup-To: Notmuch mailinglist , notmuch@notmuchmail.org References: <165989993313.7.8480352458042595298.55989238@8shield.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <165989993313.7.8480352458042595298.55989238@8shield.net> Message-ID-Hash: 34AQSIXAE55WP36M63CYKIY4XOOKZDUX X-Message-ID-Hash: 34AQSIXAE55WP36M63CYKIY4XOOKZDUX X-MailFrom: reto@labrat.space 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; digests; suspicious-header CC: notmuch@notmuchmail.org X-Mailman-Version: 3.3.3 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: DE ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659902761; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc: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-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=gFc4Eukp+olPzg4etmvRNCPHsUUTFY/TJOrx10kj7C0=; b=cFg89VCTR+KZMZQMTIz7zOI+0pawkAJ8bSX3pvlk+cyh5GLVvFCTCvn+pPcpYA1iJ+G6sQ XvscPW2cRpYboLM8Vexx3nP3gFlisBmf4T1L1hTZW035jsOGWrZNlLHJay/ZBTPfoyFZrS Nhid0xevH5b6jnXpT2kGtY/fe4H5WBFIehl5tDAvdkbC39YZaVpj7Bhv4QMLzNgEnUsqXK IuNt7I9UQkNCNZe0pTDFEGZ0buXUfZVxgTJuJPCWLmHE8fi6mlZB1OlCfLFMsNafXxkCQo F7bVymm0JtcZ4bCILmJuTkgXnr+/mBXnfqtZA6g1dNkYg7E5QqvPi02yWzGKZw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659902761; a=rsa-sha256; cv=none; b=FQxL0dVBnvKBV8xdR6UohMDUTTc5T/iWqQq9xwiKfNQPXpo3b6V8DDSm+sfx2Ugr+9kkD+ immKTVtMOcD34R29n3dzG7UnVHMxh3Qcto9K/aP/173w3LWyozE5z0SrZYDbBwKNZZ8mVt y/tDJV6MK2Uv2cbPiejQrLKjZkH3YaDHq1wyY9jjNMHSDzG90WX4Xt2yDTnUS8Sn8+gySH VHCrgZzh52K3fc8u1+JeK2QkJwm1lKCSXp7jsETUwJKFpITu3HaUHssHLE8l54bTthqdnZ oxPq/QNvnaGewSXOfKLJtQiDqZrdBxGz89h3PVQa2VqviKp5GpUTcd9RxcICeQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=labrat.space header.s=201904 header.b=i2PhOuMk; dmarc=fail reason="SPF not aligned (strict)" header.from=labrat.space (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 6.98 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=labrat.space header.s=201904 header.b=i2PhOuMk; dmarc=fail reason="SPF not aligned (strict)" header.from=labrat.space (policy=none); spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 135.181.149.255 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 97DBAFF25 X-Spam-Score: 6.98 X-Migadu-Scanner: scn1.migadu.com X-TUID: 6TLiTThmMdiL On Sun, Aug 07, 2022 at 07:18:48PM +0000, Notmuch mailinglist wrote: > But is it possible for notmuch to create tags based on the folders within my mail directory and tagging the mails.. notmuch-search-terms(7) folder: or folder:// The folder: prefix searches for email messages by maildir or MH folder. For MH-style folders, this is equivalent to path:. For maildir, this includes messages in the "new" and "cur" subdirectories. The exact syntax for maildir folders depends on your mail configuration. For maildir++, folder:"" matches the inbox folder (which is the root in maildir++), other folder names always start with ".", and nested folders are separated by "."s, such as folder:.classes.topology. For "file system" maildir, the inbox is typically folder:INBOX and nested folders are separated by slashes, such as folder:classes/topology. folder: will find a message if any copy of that message is in the specific folder.