Moving servers

James "Reggie" Reilly fun at redbrick.dcu.ie
Fri Mar 4 10:15:24 UTC 2011


On Fri, Mar 04, 2011 at 10:34:20AM +0100, Florian Schlichting wrote:
> Hello,
> 
> On Thu, Mar 03, 2011 at 10:53:56PM +0100, Julien ÉLIE wrote:
> > The "Numerical argument out of domain" error reported by innxmit
> > would be explained with:
> >     <hostname>:::
> > 
> > It is exactly EDOM and generated by lib/sendpass.c here, during the
> > parsing of the file:
> > 
> >             if (strcmp(style, "authinfo") != 0) {
> > 	                errno = EDOM;
> > 	                break;
> 
> ah, I didn't know that. But it's not a very telling error message, given
> that we're not dealing with anything numeric here?! How about E2BIG, 
> 'Argument list too long'? (EINVAL is already used earlier)
> 
> ...or just convert passwd.nntp to the new configuration file syntax and
> parser, with detailed error messages and line numbers and...
> 
> > 
> > but with:
> >     <hostname>::
> > 
> > I still do not understand the error.
> 
> Well, it could be any line prior to a matching <hostname>, which is not
> empty or starts with a hash, but contains a third colon somewhere that
> is not followed by "authinfo"
> 
> BTW inncheck doesn't catch this kind of error. Small improvement:
> 
> --- a/scripts/inncheck.in
> +++ b/scripts/inncheck.in
> @@ -876,7 +876,7 @@ passwd_nntp
>      input: while ( <$IN> ) {
>         next input if &spacious($file, ++$line);
>  
> -       unless ( ($name, $pass) = /[\w\-\.]+:(.*):(.*)(:authinfo)?$/ ) {
> +       unless ( ($name, $pass) = /[\w\-\.]+:([^:]*):([^:]*)(:authinfo)?$/ ) {
>             eprint "$file:$line: malformed line.\n";
>             next input;
>         }
> 
> 
> Florian
> 

Hi guys,

The only lines in my passwd.nntp file were:

deathray.internal::
#192.168.0.3::

Which I tried one at a time and no joy. I was under the impression they needed 
to be in eachothers passwd.nntp file, after your suggestion that the default 
should be all lines commented out, I tried that and it worked fine. 

So much time wasted.

Thanks guys,

James Reilly


> _______________________________________________
> inn-workers mailing list
> inn-workers at lists.isc.org
> https://lists.isc.org/mailman/listinfo/inn-workers



More information about the inn-workers mailing list