就像很多古早网络协议一样,NNTP是可以用netcat之类的工具手动执行的。

比如

nc raye.mistivia.com 119

或者用TLS:

openssl s_client -connect raye.mistivia.com:563

连上之后,服务器会回复:

200 newsd news server ready - posting ok

然后可以查看服务商上有哪些组:

LIST

选中其中的sharknews组:

GROUP sharknews

返回:

211 24 1 24 sharknews group selected

其中,211是返回码,表示成功。后面三个数字分别是文章数和文章的编号范围。

可以阅读服务器上的第一篇文章:

ARTICLE 1

致敬一下中国的第一封电子邮件:

From: Mistivia
Subject: Hello, World
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit

Across the Great Wall we can reach every corner in the world.

因为协议很简单,所以如果想要写自己客户端也很简单。