Re: Create tags from folders

Subject: Re: Create tags from folders

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

To: Notmuch mailinglist


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..


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 --
To unsubscribe send an email to