about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-13 20:44:37 +0000
committerEric Wong <e@yhbt.net>2020-08-13 20:47:30 +0000
commit3d4f0bbffae8eb4a111f5ef9cfc4f8997e774187 (patch)
treec74ba0d48c5cf0c30d78f50d7a15bc55cf050691
parent9958e4ea86dee4a2f65656356759ac537e1bfc47 (diff)
downloadcmogstored-3d4f0bbffae8eb4a111f5ef9cfc4f8997e774187.tar.gz
public-inbox.org started supporting IMAP + IMAPS a few months
ago, and has always supported Tor .onions via NNTP.  Non-TLS is
still supported for older systems and users with oppressive
firewalls.
-rw-r--r--HACKING10
-rw-r--r--README13
-rwxr-xr-xbuild-aux/txt2pre2
3 files changed, 20 insertions, 5 deletions
diff --git a/HACKING b/HACKING
index 2008261..e0fee0e 100644
--- a/HACKING
+++ b/HACKING
@@ -51,6 +51,12 @@ subscribe by sending an email to <cmogstored-public+subscribe@yhbt.net>
 and answering the confirmation.
 
 HTML archives are available at https://yhbt.net/cmogstored-public/
-and via NNTP:
+and via NNTP(S) and IMAP(S):
 
-  nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
+  nntps://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
+  imaps://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored.0
+
+Tor users may also use .onions:
+
+  nntp://ou63pmih66umazou.onion/inbox.comp.file-systems.mogilefs.cmogstored
+  imap://ou63pmih66umazou.onion/inbox.comp.file-systems.mogilefs.cmogstored.0
diff --git a/README b/README
index 995206e..36a84d3 100644
--- a/README
+++ b/README
@@ -51,9 +51,18 @@ No subscription is neccessary, so reply-to-all on replies.
 HTML email is not welcome and will be bounced.
 
 Our archives are at https://yhbt.net/cmogstored-public/
-and via NNTP:
+and via NNTP(S) and IMAP(S):
 
-  nntp://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
+  nntps://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored
+  imaps://news.public-inbox.org/inbox.comp.file-systems.mogilefs.cmogstored.0
+
+Tor users may also use .onions:
+
+  nntp://ou63pmih66umazou.onion/inbox.comp.file-systems.mogilefs.cmogstored
+  imap://ou63pmih66umazou.onion/inbox.comp.file-systems.mogilefs.cmogstored.0
+
+AUTH=ANONYMOUS is supported if your IMAP(S) client supports it,
+but any username + password combination also works.
 
 We also piggy-back onto the public MogileFS mailing list for public
 discussions:
diff --git a/build-aux/txt2pre b/build-aux/txt2pre
index 0e1b2a2..e7b94f5 100755
--- a/build-aux/txt2pre
+++ b/build-aux/txt2pre
@@ -37,7 +37,7 @@ unless (defined $title) {
 # temporarily swap &gt; for escape so our s!! to add href works.
 # there's probably a way to do this with only a single s!! ...
 $str =~ s!&gt;!\e!g;
-$str =~ s!\b((nntp|ftp|https?)://[\w+\+\&\?\.\%\;/#=\!\@-]+)!<a
+$str =~ s!\b((nntps?|ftp|https?|imaps?)://[\w+\+\&\?\.\%\;/#=\!\@-]+)!<a
 href="$1"\n>$1</a>!g;
 
 $str =~ s!\e!&gt;!g; # swap escapes back to &gt;