Refreshing Python filters?

Julien ÉLIE julien at trigofacile.com
Sun Jun 8 12:20:02 UTC 2008


Hi David,

> Hello Julien , thank you for you effort anyway. I am getting closer
> and i am restarting innd every time i made a change to my python
> hooks.

It seems to be useless to totally restart it if there is no syntax
error in your scripts. (At least for innd filters; I have not tested
nnrpd filters.)


> When my access module returns : {'read':'*','post':'*'} , it works
> just fine and i am getting access to all newsgroups, but when my
> access module returns :
> {'read':'local.sandbox,'write':'local.sandbox'} i will get an error in
> client Windows Mail and all others too (no in news.notice logs)

Did you also try this one?
    {'newsgroups':'local.sandbox','access':'RPA'}


And what if you telnet your server?

14:16 news at news ~% telnet news.trigofacile.com 119
Trying 91.121.26.68...
Connected to news.trigofacile.com.
Escape character is '^]'.
200 news.trigofacile.com InterNetNews server INN 2.5.0 (20080608 prerelease) ready
mode reader
200 news.trigofacile.com InterNetNews NNRP server INN 2.5.0 (20080608 prerelease) ready (posting ok).
group news.software.nntp
211 1186 149 4780 news.software.nntp
body
222 149 <468bf4ab$0$322$e4fe514c at news.xs4all.nl> body
[...]
.
quit
205 .
Connection closed by foreign host.

-- 
Julien ÉLIE

« -- Ouvre l'œil, et le bon !
  -- L'autre, je peux pas encore l'ouvrir, je risque pas de me tromper ! » (Astérix) 



More information about the inn-workers mailing list