Using perl_access in readers.conf

Rogerio M. S. Novo rogerio at dr.ufu.br
Mon Jul 21 11:31:06 UTC 2003


Didn't work.


--
Rogério Moreno da Silva Novo
UFU - Universidade Federal de Uberlândia


--------- Mensagem Original --------
De: Erik Klavon <erik at eriq.org>
Para: Rogerio. M. S. Novo <rogerio at dr.ufu.br>
Cópia: inn-workers at isc.org
Assunto: Re: Re: Using perl_access in readers.conf
Data: 18/07/03 18:00

>
> Hi
>
> This is just a wild guess: can you change
>
> "max_rate" => "10000",
>
> to
>
> "max_rate" => "10000 ",
>
> and let us know if that fixes your problem?
>
> Thanks
>
> Erik
>
> On Thu, Jul 17, 2003 at 10:02:08AM -0300, Rogerio. M. S. Novo wrote:
> > The problem appear when i append the command perl_access in the
> > readers.conf.
> > Without the perl_access the system works perfectly.
> >
> >
> > I using the script example only to test.
> > Here is the script..
> >
> >
****************************************************************************
> > my %hosts = ( "example.com" => "example.*",
"isc.org" => "isc.*" );
> >
> > sub access {
> > %return_hash = (
> > "max_rate" => "10000",
> > "addnntppostinghost" => "true",
> > );
> >
> > if( defined $attributes{username} &&
> > $attributes{username} =~ /.*@*/ )
> > {
> > $return_hash{"virtualhost"} = "true";
> > $return_hash{"path"} = $1;
> > $return_hash{"newsgroups"} = $hosts{$1};
> > } else {
> > $return_hash{"read"} = "*";
> > $return_hash{"post"} = "local.*"
> > }
> > return %return_hash;
> > }
> >
****************************************************************************
> >
> >
> > --
> > Rog?rio Moreno da Silva Novo
> > UFU - Universidade Federal de Uberl?ndia
> >
> >
> > --------- Mensagem Original --------
> > De: Jeffrey M. Vinocur <jeff at litech.org>
> > Para: Rogerio. M. S. Novo <rogerio at dr.ufu.br>
> > C?pia: inn-workers at isc.org
> > Assunto: Re: Using perl_access in readers.conf
> > Data: 17/07/03 12:45
> >
> > >
> > > On Thu, 17 Jul 2003, Rogerio. M. S. Novo wrote:
> > >
> > > &gt; But when i append the option perl_access in my
readers.conf the
> > system
> > > &gt; doesn't work.
> > >
> > > You're sure that's the change responsible for the error?
> > >
> > > &gt; Jul 17 09:17:14 marcos nnrpd[16074]: marcos.dr.ufu.br
syntax error in
> > > &gt; (null)(2),
> > > &gt; Unexpected token:
> > >
> > > *blink*  Weird.
> > >
> > > I don't see what control flow path through perm.c could result
in that
> > > output, where the filename is null and the token is not
printable.  Or,
> > > for that matter, where the '(null)' comes from.
> > >
> > > --
> > > Jeffrey M. Vinocur
> > > jeff at litech.org
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > ________________________________________________
> > Mensagem enviada utilizando UFU Mail 1.0
> >
> >
>
> --
> erik         | "It is idle to think that, by means of words, |
Maurice
>   kl at von     | any real communication can ever pass | Maeterlinck
>     eriq.org | from one [human] to another." | Silence
>
>
>
>
>
>

________________________________________________
Mensagem enviada utilizando UFU Mail 1.0



More information about the inn-workers mailing list