cancel feed - what am I doing wrong?

Julien ÉLIE julien at trigofacile.com
Sun Dec 27 00:23:45 UTC 2009


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)?


It is one of the thing I fixed in INN 2.5.2 so that innd accepts
commands ending with only "\n".
Could you please either try with INN 2.5.2 or make sure that you
send "\r\n" with INN 2.5.1?

netcat on Debian does not know the -U flag :-/

-- 
Julien ÉLIE

« Avez-vous remarqué qu'à table les mets que l'on vous sert vous mettent
  les mots à la bouche ? » (Raymond Devos) 




More information about the inn-workers mailing list