From: Reto <reto@labrat.space>
To: Notmuch mailinglist <notmuch.pbn7u@8shield.net>
Cc: notmuch@notmuchmail.org
Subject: Re: Create tags from folders
Date: Sun, 7 Aug 2022 21:49:36 +0200 [thread overview]
Message-ID: <20220807194936.g5laji54wfufzast@feather> (raw)
In-Reply-To: <165989993313.7.8480352458042595298.55989238@8shield.net>
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:<maildir-folder> or folder:/<regex>/
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.
next prev parent reply other threads:[~2022-08-07 20:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-07 19:18 Create tags from folders Notmuch mailinglist
2022-08-07 19:49 ` Reto [this message]
2022-08-08 14:30 ` Tomi Ollila
2022-08-08 22:10 ` Reto
2022-08-09 1:39 ` David Bremner
2022-08-09 5:58 ` Reto
2022-08-09 11:28 ` David Bremner
2022-08-08 18:50 ` Thomas Schneider
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220807194936.g5laji54wfufzast@feather \
--to=reto@labrat.space \
--cc=notmuch.pbn7u@8shield.net \
--cc=notmuch@notmuchmail.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://yhetil.org/notmuch.git/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).