INN - create your first group
< INN - configuration | Configure the INN nntp server (2021/2022) | INN - get a look at what happen >
Create your first group
For example, as user news, type:
/usr/lib/news/bin/ctlinnd newgroup local.test
Check internally
You have to start INN for these commands to work.
To check the install, do "/usr/lib/news/bin/ctlinnd mode", "/usr/lib/news/bin/ctlinnd checkfile" and others. If you are asked to give "reason", type some words to identify the change.
inncheck -a
should give you hints on what don't works, having nothing is good.
inncheck -a -v -f --pedantic --perm
should give you hints about files permissions that have to be set, and in case of error give you the command that have to be used (as root).
Test from outside
with this you server may be visible from the net. But to be fair, you have to open the port 119 in your Firewall if any.
You can check this from home with:
telnet <your server> 119
it should respond
$ telnet dodin.xx 119 Trying 142.4.aaa.bbb... Connected to dodin.xx. Escape character is '^]'. 200 ns507557.dodin.xx InterNetNews NNRP server INN 2.6.2 ready (posting ok)
Then, list groups
LIST 215 Newsgroups in form "group high low status" control 0000000000 0000000001 n control.cancel 0000000000 0000000001 n control.checkgroups 0000000000 0000000001 n control.newgroup 0000000000 0000000001 n control.rmgroup 0000000000 0000000001 n junk 0000000000 0000000001 n test 0000000001 0000000001 y linux-31 0000000000 0000000001 y .
Then try to post a message (below, in red, it's the inn answer, type only what is in black):
POST
340 Ok, recommended message-ID <sosl56$13k$7@ns507557.dodin.xx>
From: jdd@dodin.org Subject: test Newsgroups: test (type a carriage return, then some text with CR between lines) test Fin . (this is the main keyboard dot, not the numerical pad one)
240 Article received <sosl56$13k$7@ns507557.dodin.xx>
Warning: Telnet is very picky, it don't allow nearly any fix to typing errors, The three headers are mandatory and have to get the semi colon (:). If any error, type "quit" et do it again...
The final dot (.) send the message...
< INN - configuration | Configure the INN nntp server (2021/2022) | INN - get a look at what happen >