cancel feed - what am I doing wrong?
Kamil Jońca
kjonca at poczta.onet.pl
Sun Dec 27 02:39:05 UTC 2009
Julien ÉLIE <julien at trigofacile.com> writes:
> Hi Kamil,
>
>>I tried to test canceling posts from my spool:
>> ==========================
>> news at alfa:~$ nc -U /var/run/news/nntpin
>> 200 news.kjonca InterNetNews server INN 2.5.1 ready
>> MODE CANCEL
>> 500 Syntax error or bad command
>> ==========================
>
> I think that the whole command is not recognized.
> That is to say even MODE.
>
> Otherwise, you would have received "501 Bad subcommand" in the
> terminology of INN 2.5.1.
>
> Is your command terminated with "\r\n" (CRLF)?
Shame on me :( that was the issue.
echo "mode cancel\r"|nc -U /var/run/news/nntpin
200 news.kjonca InterNetNews server INN 2.5.1 ready
284 CancelOK.
>
> netcat on Debian does not know the -U flag :-/
Try to install "netcat-openbsd".
KJ
--
You never know how many friends you have until you rent a house on the beach.
More information about the inn-workers
mailing list