After looking at the NNTP standard, I have figured out how to extract a header from the message, how to fold headers, and how to separate the header label from the header text. What I can't find is an official list of standard NNTP headers. The standard lists Subject, From, Date, Message-id, Reference
but not Groups
which I know needs to be there.
Is there an official list of all the official NNTP headers? For bonus marks, is there a list of commonly-used, unofficial headers?
EDIT
I found the list of standard headers. Is there a similar list of non-standard, but common, headers?
You are not looking at the correct RFC the one you link to is the general message format.
Netnews is explicitly addressed in the Netnews Article Format RFC 5536 which lists the headers (with the page numbers of the RFC where they are defined) as