#!/usr/bin/perl -w
-use strict;
-# Copyright 2019-2020 all contributors <meta@public-inbox.org>
+use v5.12;
+# Copyright all contributors <meta@public-inbox.org>
# License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
print <<EOF;
my $rfcs = [
3977 => 'NNTP',
977 => 'NNTP (old)',
+ 1036 => 'Standard for Interchange of USENET Messages',
+ 5536 => 'Netnews Article Format',
+ 5537 => 'Netnews Architecture and Protocols',
+ 1738 => 'Uniform resource locators',
+ 5092 => 'IMAP URL scheme',
+ 5538 => 'NNTP URI schemes',
6048 => 'NNTP additions to LIST command (TODO)',
8054 => 'NNTP compression',
4642 => 'NNTP TLS',
822 => 'Internet message format (1982)',
2822 => 'Internet message format (2001)',
5322 => 'Internet message format (2008)',
- # TODO: flesh this out
+ 3501 => 'IMAP4rev1',
+ 2177 => 'IMAP IDLE',
+ 2683 => 'IMAP4 Implementation Recommendations',
+ # 5032 = 'WITHIN search extension for IMAP',
+ 4978 => 'IMAP COMPRESS Extension',
+ # 5182 = 'IMAP Extension for Referencing the Last SEARCH Result',
+ # 5256 => 'IMAP SORT and THREAD extensions',
+ # 5738 => 'IMAP Support for UTF-8',
+ # 8474 => 'IMAP Extension for Object Identifiers',
+
+ # 8620 => JSON Meta Application Protocol (JMAP)
+ # 8621 => JSON Meta Application Protocol (JMAP) for Mail
+ # ...
+
+ # examples/unsubscribe.milter and PublicInbox::Unsubscribe
+ 2369 => 'URLs as Meta-Syntax for Core Mail List Commands',
+ 8058 => 'Signaling One-Click Functionality for List Email Headers',
+
+ 1081 => 'Post Office Protocol – Version 3',
+ 1939 => 'Post Office Protocol – Version 3 (STD 53)',
+ 2449 => 'POP3 extension mechanism',
+ 2595 => 'STARTTLS for IMAP and POP3',
+ 2384 => 'POP URL Scheme',
+ # TODO: flesh this out
];
my @rfc_urls = qw(tools.ietf.org/html/rfc%d
Other relevant documentation
----------------------------
+* IMAP capabilities registry and response codes:
+ https://www.iana.org/assignments/imap-capabilities
+ https://www.iana.org/assignments/imap-response-codes
+
* Documentation/technical/http-protocol.txt in git source code:
https://public-inbox.org/git/9c5b6f0fac/s
Copyright
---------
-Copyright (C) 2019-2020 all contributors <meta@public-inbox.org>
+Copyright (C) all contributors <meta@public-inbox.org>
License: AGPL-3.0+ <https://www.gnu.org/licenses/agpl-3.0.txt>
EOF