Re: Create tags from folders

Subject: Re: Create tags from folders

Date: Sun, 7 Aug 2022 21:49:36 +0200

To: Notmuch mailinglist

Cc: notmuch@notmuchmail.org

From: Reto


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.
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: