From 02aa6668458ad66afdea5ba1b60a95fa632ed148 Mon Sep 17 00:00:00 2001 From: Manos Pitsidianakis Date: Sun, 24 Nov 2019 20:44:24 +0200 Subject: [PATCH] Doc: add glob for subscribed_folders field info --- meli.conf.5 | 7 +++++-- sample-config | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/meli.conf.5 b/meli.conf.5 index f50ad36f..5722da3c 100644 --- a/meli.conf.5 +++ b/meli.conf.5 @@ -51,7 +51,7 @@ root_folder = "/path/to/root/folder" format = "Maildir" index_style = "Compact" identity="email@address.tld" -subscribed_folders = ["folder", "folder/Sent"] +subscribed_folders = ["folder", "folder/Sent"] # or [ "*", ] for all folders display_name = "Name" # Set folder-specific settings @@ -99,7 +99,10 @@ the backend-specific path of the root_folder, usually INBOX. .It Ic format Ar String Op maildir mbox imap notmuch the format of the mail backend. .It Ic subscribed_folders Ar [String,] -an array of folder paths to display in the UI. Paths are relative to the root folder (eg "INBOX/Sent", not "Sent") +an array of folder paths to display in the UI. Paths are relative to the root folder (eg "INBOX/Sent", not "Sent"). +The glob wildcard +.Em \&* +can be used to match every folder name and path. .It Ic identity Ar String your e-mail address that is inserted in the From: headers of outgoing mail .It Ic index_style Ar String diff --git a/sample-config b/sample-config index c3b862b9..d2ff7b82 100644 --- a/sample-config +++ b/sample-config @@ -37,6 +37,9 @@ #index_style = "Conversations" #identity = "username@server.tld" #display_name = "Name Name" +## match every folder: +#subscribed_folders = ["*" ] +## match specific folders: #subscribed_folders = ["INBOX", "INBOX/Sent", "INBOX/Drafts", "INBOX/Junk"] # Setting up an account for an already existing notmuch database