From 8d3e3bd820f8177557281554470e9fbbc3a7487b Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 9 Oct 2019 13:21:14 +0000 Subject: [PATCH] doc: explain publicinbox..watchheader It wasn't clear to me exactly what this does -- in particular, what happens if it isn't specified? Does it support multiple values? A very brief explanation can answer both of these questions without making somebody look at the code. --- Documentation/public-inbox-config.pod | 3 +++ Documentation/public-inbox-watch.pod | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/Documentation/public-inbox-config.pod b/Documentation/public-inbox-config.pod index 4e8ba4da..8d545f7a 100644 --- a/Documentation/public-inbox-config.pod +++ b/Documentation/public-inbox-config.pod @@ -80,6 +80,9 @@ Default: none; only for L users [publicinbox "test"] watchheader = List-Id: +If specified, L will only process mail matching +the given header. Multiple values are not currently supported. + Default: none; only for L users =item publicinbox..nntpmirror diff --git a/Documentation/public-inbox-watch.pod b/Documentation/public-inbox-watch.pod index 3f282f0f..198c170a 100644 --- a/Documentation/public-inbox-watch.pod +++ b/Documentation/public-inbox-watch.pod @@ -15,7 +15,11 @@ In ~/.public-inbox/config: mainrepo = /path/to/test.example.com.git ; config keys specific to public-inbox-watch: + watch = maildir:/path/to/maildirs/.INBOX.test/ + + ; optional, emails that don't have a header matching + ; value will be skipped watchheader = List-Id: [publicinboxwatch] -- 2.44.0