How to test an NNTP (news) server by using telnet

What you need

What to do

Please post test messages only in test groups.

The initial telnet: > symbolises your shell prompt.

The empty line between the headers and the body is important, as is the line containing only a full stop at the end of the article body.

telnet: > telnet news.example.com nntp
telnet: Trying 192.0.2.2...
telnet: Connected to news.example.com.
telnet: Escape character is '^]'.
server: 200 news.example.com DNEWS Version 5.5d1, S0, posting OK
client: POST
server: 340 Ok, recommended ID <400da85b@news.example.com>
client: From: sender@example.com
client: Newsgroups: misc.test
client: Subject: Test article
client: Message-ID: <400da85b@news.example.com>
client: 
client: This is a test.
client: .
server: 240 article posted ok
client: GROUP misc.test
server: 211 24 269620 269643 misc.test selected
client: ARTICLE 269643
server: 220 269643 <400da85b@news.example.com> article retrieved - head and body follows
server: From: sender@example.com
server: Newsgroups: misc.test
server: Subject: Test article
server: Message-ID: <400da85b@news.example.com>
server: NNTP-Posting-Host: client.example.com
server: Date: 21 Jan 2004 00:16:08 +0200
server: X-Trace: news.example.com 1074636968 client.example.com (21 Jan 2004 00:16:08 +0200)
server: Lines: 2
server: Path: news.example.com
server: Xref: news.example.com misc.test:269643
server: 
server: This is a test.
server: .
client: quit
server: 205 closing connection - goodbye!

More information

Answers to frequently asked questions relating to this article are available.

Google’s use of the DART cookie enables Google to serve ads to you based on your visits to this and other websites. If you do not wish to use the DART cookie, please opt out on the privacy policy page for Google’s ad-and-content network. Additionally, you can usually specify your cookie preferences in your browser settings.

All content © 2000–2013 Thor Kottelin t/a Turvasana Tmi, unless otherwise indicated. Any trademarks or registered trademarks mentioned on this site belong to their respective owners. Content and techniques used on this site may be available for licensing; for details, please contact the webmaster. — Conventional hyperlinking to this site is welcome. However, none of the content on this site may be shown, even partly, in a context inferring or claiming it to be part of or sponsored by any other organisation or site. Such prohibited techniques include (but are not limited to) framesets, interstitial pages, kiosk mode pop-ups and reverse proxies. — For information on advertising, please click on the ‘Ads by Google’ or ‘AdChoices’ link next to any advertisement.

107.22.127.92 ec2-107-22-127-92.compute-1.amazonaws.com
(none) CCBot/2.0
/misc/telnet-troubleshooting/nntp.shtml /misc/telnet-troubleshooting/nntp.shtml Wednesday, 22-May-2013 22:52:52 EEST