From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sLCdGg0e8WJpRAAAbAwnHQ (envelope-from ) for ; Mon, 08 Aug 2022 16:30:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KJ2dGg0e8WKNQwEA9RJhRA (envelope-from ) for ; Mon, 08 Aug 2022 16:30:37 +0200 Received: from mail.notmuchmail.org (yantan.tethera.net [IPv6:2a01:4f9:c011:7a79::1]) (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 3666D3F56C for ; Mon, 8 Aug 2022 16:30:37 +0200 (CEST) Received: from yantan.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 891465F370; Mon, 8 Aug 2022 14:30:34 +0000 (UTC) Received: from meesny.iki.fi (meesny.iki.fi [195.140.195.201]) by mail.notmuchmail.org (Postfix) with ESMTPS id B8CAD5E545 for ; Mon, 8 Aug 2022 14:30:31 +0000 (UTC) Received: from c53 (gw1.nor.fi [185.218.193.67]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: too) by meesny.iki.fi (Postfix) with ESMTPSA id 520C320093; Mon, 8 Aug 2022 17:30:30 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1659969030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YPFEIVtnVQT6gMjYr16rv37lg8ZoNkanV5u3amIxn8Y=; b=gzQTpK7qgNWkq/ezLbim2W/EOombVkvehn1B0etNqf3dJwl6UO1++q46zDZ+WmYf/8ffKl H+DIoAnQDk9zq4mwaYOGjHnw5hQJAXTPLx6SQgGYdBxPEI/L58aIAkCcUBBFd+0oBl5SVx L7+KjF9qJCbjjZ0mSMv/WexXMdWriMc= From: Tomi Ollila To: Notmuch mailinglist , notmuch@notmuchmail.org Subject: Re: Create tags from folders In-Reply-To: <165989993313.7.8480352458042595298.55989238@8shield.net> References: <165989993313.7.8480352458042595298.55989238@8shield.net> User-Agent: Notmuch/0.36+55~gfb9633d (https://notmuchmail.org) Emacs/27.1 X-Face: HhBM'cA~ MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; s=meesny; t=1659969030; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YPFEIVtnVQT6gMjYr16rv37lg8ZoNkanV5u3amIxn8Y=; b=lHmiXH/SdN4BHBgRZR8dUEObLsWepNRSzSL10tcQ2oStJlSj+mM5V8bqSYU+TRoebRrKcf ZMZMtnIu/6D7nU/YwF2PktPUmaOc867Oe5b32HRnxYZjuR31xkQbxSiF5N53aEaBxxUJNy FfV0rkKuv31VB5O9lrTrJmjRj65j4cE= ARC-Authentication-Results: i=1; ORIGINATING; auth=pass smtp.auth=too smtp.mailfrom=tomi.ollila@iki.fi ARC-Seal: i=1; s=meesny; d=iki.fi; t=1659969030; a=rsa-sha256; cv=none; b=Xih9J8R8eBE9E2H16vywdctUpii4M9ccbTzVFVQ/KJG95acw60cXt8E5s8245gtXUokBlQ zXaU2e62uepk/VnkhZ38FmtH5UzLWsKNCDoSNMA+r1sz6AKcSOIgTYHhzY8c2+fzN5bV6v boaRy6KhTxw6TWI3f5Li4nC/nn/tvvw= Message-ID-Hash: HPZAPNFQEMME67WKCHQU2XS3MHXTPB3H X-Message-ID-Hash: HPZAPNFQEMME67WKCHQU2XS3MHXTPB3H X-MailFrom: tomi.ollila@iki.fi 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 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=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1659969037; 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-owner:list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=OVJUQgxGw2R3SWu+748a4lCvkog99N5f1uTbmlFdFdU=; b=I4u4Bj7bkGQmJ8KXb2oqzd7bZejgMDVr38WmGMEmNFtF9zDc2FFwo+On6suJocXxRvyof3 iNgsV116FJ5rkVXdG7Rh2OmNXHOzj5S2WQpREcke8HYxko1YFeagqc6Fqf0qzQ/yylOVtM 84lxGiXegrkFbPFYEq6s2fBMPklKRLcPNsWkb/WO0SdcaTnMektCXseNUY69SUQBDRpjeW z82a7BcVWE+W2SWco6ZSfhafxdF6bWPcphMX7loWaeJ9/JA80A7xxudjwI89F9eNv20z01 yFG2QpC+x4PRNyrqpw4i4NvSpp186DhBxKMHLWfVgADdhQ0yD6pPJFLXygsrkw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1659969037; a=rsa-sha256; cv=fail; b=lcT4GLLfV2eiipC155flAMisEqMeV/LWUe479sfITvhvIR7ocfL33kA77jqBfDlrbhppv3 QKMWAwgG2JRyNl6nF3GiDkbih143wVNMqVEyWyIjabR8uG2pPkYFUm2T9+Fs11uvZmeIde WcSLSywOhXotHmyWDiqWgyn3jDeWfcHVyPaCGioMPDZ0FJe3Tx++AmBfnaBwIeEe0IOu8l 0GtFQhc+HI6usDdGenk7EVz8++s2ZcST6mBD5YLoah7kUXT3x9Qt5P75u7zlw4z1/kaV1a p8YSSeBTJScKbqgC1Jj+JbzhLmHn8OF1zbydE///c0zDhtyUYrvvn4ip7P13NQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=gzQTpK7q; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Spam-Score: 2.86 Authentication-Results: aspmx1.migadu.com; dkim=fail ("body hash did not verify") header.d=iki.fi header.s=meesny header.b=gzQTpK7q; arc=reject ("signature check failed: fail, {[1] = sig:iki.fi:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 2a01:4f9:c011:7a79::1 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Migadu-Queue-Id: 3666D3F56C X-Spam-Score: 2.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: C/mfP/0biUw3 On Sun, Aug 07 2022, Notmuch mailinglist wrote: > Hello, > > I've managed to get mbsync, notmuch and neomutt all setup. But its now time for fine tuning and tinkering. > My email is from Protonmail and I use sieve filters to organise my mail as needed into folders. > Mbsync creates a folder structure which mirrors what is on my proton mail account. > But is it possible for notmuch to create tags based on the folders within my mail directory and tagging the mails.. > > Basically what I want is > "if mail in folder1 tag as folder1" > > Hope this makes sense. The question one can make based on the other reply is why tag based on folders, and just not use folder queries finding the mails in these folders. It is kinda duplicate information to have mail tagged with same name as the folder it is located in... but there may be reasons one would like to do such a thing -- and at least I am interested (at least a bit) why. Tomi