* Re: [PATCH 8/8] doc: watch: expand on NNTP and IMAP-specific knobs
2020-08-27 12:17 6% ` [PATCH 8/8] doc: watch: expand on NNTP and IMAP-specific knobs Eric Wong
@ 2020-08-28 4:22 7% ` Eric Wong
0 siblings, 0 replies; 3+ results
From: Eric Wong @ 2020-08-28 4:22 UTC (permalink / raw)
To: meta
Eric Wong <e@yhbt.net> wrote:
> --- a/Documentation/public-inbox-watch.pod
> +++ b/Documentation/public-inbox-watch.pod
> @@ -78,7 +78,12 @@ public-inbox 1.6.0 supports C<nntp://>, C<nntps://>,
> C<imap://> and C<imaps://> URLs:
>
> watch = nntp://news.example.com/inbox.test.group
> - watch = imaps://mail.example.com/INBOX.test.foo
> + watch = imaps://user@mail.example.com/INBOX.test.foo
> +
That exceeds 80 columns (I only ran "make check-run", not
"make check" :x).
Will squash this in:
diff --git a/Documentation/public-inbox-watch.pod b/Documentation/public-inbox-watch.pod
index 39b8ac06..f3e622b0 100644
--- a/Documentation/public-inbox-watch.pod
+++ b/Documentation/public-inbox-watch.pod
@@ -78,7 +78,7 @@ public-inbox 1.6.0 supports C<nntp://>, C<nntps://>,
C<imap://> and C<imaps://> URLs:
watch = nntp://news.example.com/inbox.test.group
- watch = imaps://user@mail.example.com/INBOX.test.foo
+ watch = imaps://user@mail.example.com/INBOX.test
This may be specified multiple times to combine several mailboxes
into a single public-inbox. URLs requiring authentication
^ permalink raw reply related [relevance 7%]
* [PATCH 8/8] doc: watch: expand on NNTP and IMAP-specific knobs
2020-08-27 12:16 6% [PATCH 0/8] mostly watch-related odds and ends Eric Wong
@ 2020-08-27 12:17 6% ` Eric Wong
2020-08-28 4:22 7% ` Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2020-08-27 12:17 UTC (permalink / raw)
To: meta
There's a few more, but maybe they're too esoteric
to be worth documenting at the moment (batch sizes, timeouts, etc).
---
Documentation/public-inbox-watch.pod | 36 +++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
diff --git a/Documentation/public-inbox-watch.pod b/Documentation/public-inbox-watch.pod
index b07d0fb5..39b8ac06 100644
--- a/Documentation/public-inbox-watch.pod
+++ b/Documentation/public-inbox-watch.pod
@@ -78,7 +78,12 @@ public-inbox 1.6.0 supports C<nntp://>, C<nntps://>,
C<imap://> and C<imaps://> URLs:
watch = nntp://news.example.com/inbox.test.group
- watch = imaps://mail.example.com/INBOX.test.foo
+ watch = imaps://user@mail.example.com/INBOX.test.foo
+
+This may be specified multiple times to combine several mailboxes
+into a single public-inbox. URLs requiring authentication
+will require L<netrc(5)> and/or L<git-credential(1)> to fill
+in the username and password.
Default: none
@@ -119,6 +124,35 @@ are supported in public-inbox 1.6.0.
Default: none; only for L<public-inbox-watch(1)> users
+=item imap.Starttls / imap.$URL.Starttls
+
+Whether or not to use C<STARTTLS> on plain C<imap://> connections.
+
+May be specified for certain URLs via L<git-config(1)/--get-urlmatch>
+in C<git(1)> 1.8.5+.
+
+Default: C<true>
+
+=item imap.Compress / imap.$URL.Compress
+
+Whether or not to use the IMAP COMPRESS (RFC4978) extension to
+save bandwidth. This is not supported by all IMAP servers and
+some advertising this feature may not implement it correctly.
+
+May be specified only for certain URLs if L<git(1)> 1.8.5+ is
+installed to use L<git-config(1)/--get-urlmatch>
+
+Default: C<false>
+
+=item nntp.Starttls / nntp.$URL.Starttls
+
+Whether or not to use C<STARTTLS> on plain C<nntp://> connections.
+
+May be specified for certain URLs via L<git-config(1)/--get-urlmatch>
+in C<git(1)> 1.8.5+.
+
+Default: C<false> if the hostname is a Tor C<.onion>, C<true> otherwise
+
=back
=head1 SIGNALS
^ permalink raw reply related [relevance 6%]
* [PATCH 0/8] mostly watch-related odds and ends
@ 2020-08-27 12:16 6% Eric Wong
2020-08-27 12:17 6% ` [PATCH 8/8] doc: watch: expand on NNTP and IMAP-specific knobs Eric Wong
0 siblings, 1 reply; 3+ results
From: Eric Wong @ 2020-08-27 12:16 UTC (permalink / raw)
To: meta
Mostly stuff around -watch, I've finally decided NNTP and IMAP
client support aren't as horrible-to-configure as I was
imagining. Well, maybe, at least I'm finding it somewhat
useful...
One problem I've been trying to avoid is having excessive,
overwhelming amounts of documentation. I tend to get
overwhelmed myself when learning new things, too.
Moving the watch-only stuff out of the config manpage seems like
a step in the right direction in that regard.
Eric Wong (8):
watchmaildir: ensure I:/W:/E: prefixes in warnings
imaptracker: preserve WAL journal_mode if set by user
overidx: inline create_ghost sub
doc: document graceful shutdown signals
doc: speling fickses
watch: imap: only remove \Seen spam
doc: move watch config docs to -watch manpage
doc: watch: expand on NNTP and IMAP-specific knobs
Documentation/public-inbox-config.pod | 38 ++--------
Documentation/public-inbox-edit.pod | 2 +-
Documentation/public-inbox-purge.pod | 2 +-
Documentation/public-inbox-tuning.pod | 2 +-
Documentation/public-inbox-watch.pod | 100 +++++++++++++++++++++++---
lib/PublicInbox/IMAPTracker.pm | 7 +-
lib/PublicInbox/OverIdx.pm | 23 +++---
lib/PublicInbox/WatchMaildir.pm | 31 +++++---
t/over.t | 4 +-
9 files changed, 135 insertions(+), 74 deletions(-)
^ permalink raw reply [relevance 6%]
Results 1-3 of 3 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2020-08-27 12:16 6% [PATCH 0/8] mostly watch-related odds and ends Eric Wong
2020-08-27 12:17 6% ` [PATCH 8/8] doc: watch: expand on NNTP and IMAP-specific knobs Eric Wong
2020-08-28 4:22 7% ` Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.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).