readers.conf with python_access and python_auth

David Hláčik david at
Sat Jun 7 14:05:46 UTC 2008

Hello, what to put in readers.conf, in order to be able to log in
using python_auth hook and get access to groups using python_auth hook

When i have readers.conf :

access "pdg" {
    users: "*"
    newsgroups: "*"
    access: RPA

auth "pdg" {

   python_auth: ""

Python authentification (authenticate(atributes) method) works fine
for me , and i am able to login.

But when i comment access "pdg" and add to auth line python_access to
have in readers.conf just:

auth "pdg" {
   python_access: ""
   python_auth: ""

i will get in logs :

Jun  7 16:03:32 dev01 nnrpd[2303]: group
polarion.research 0
Jun  7 16:03:32 dev01 nnrpd[2303]: times user
0.012 system 0.012 idle 0.000 elapsed 232.738
Jun  7 16:03:32 dev01 nnrpd[2396]: ? reverse lookup for
failed: reverse lookup validation failed -- using IP address for

Which looks like python_access is working , but i did not get auth
from python_auth so my client (Outlook Express) will response TCP/IP
connection was unexpectly terminated by server.

Where is the problem? :)


More information about the inn-workers mailing list