bug#41960: nntp.el: Switch back to CAPABILITIES command?
In Emacs 24.4 , the command used in nntp.el for detecting NNTP
capabilities changed from CAPABILITIES to HELP to work around an issue
with a particular news server not recognizing the CAPABILITIES command
This probably works most the time because, according the RFC 3977 ,
it is "customary for [HELP] to list the valid commands and give a brief
definition of what they do". However, that same section says HELP
shouldn't be used as a replacement for CAPABILITIES.
A specific case where using HELP instead of CAPABILITIES causes an issue
is with public-inbox's  NNTP service, such as the one hosted at
<news.public-inbox.org>. public-inbox doesn't include a list of
commands in its HELP output. That is, it's not following the
convention, but it is still following the specification. Because
nntp-open-connection tries to detect capabilities with HELP, it doesn't
catch the properly advertised STARTTLS capability and fails to upgrade
to a TLS connection.
I'm guessing that the server from bug#12763 didn't recognize
CAPABILITIES because it was based on RFC 977. However, given RFC 3977
supersedes 977 and is from 2006, does it make sense at this point to
assume CAPABILITIES is supported?