Thread View: news.software.nntp
3 messages
3 total messages
Started by Rainer Enders
Sat, 27 Mar 1999 00:00
problems with hostname in incoming.conf
Author: Rainer Enders
Date: Sat, 27 Mar 1999 00:00
Date: Sat, 27 Mar 1999 00:00
26 lines
1479 bytes
1479 bytes
[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ] [ here, so that someone will see and answer it. Please email your ] [ answer to the original author in addition to posting it. ] Hi, I have problems with UUNET News feed. Lately they are changing around machines that are feeding news from. They told me to put a whole class C network in the access file. Does this work with inn?? They also suggest to put in 15 hostnames. If I try that I get an error message "syntax error in incoming.conf". Since the hostnames are quite long it looks like the hostname: parameter takes only a certain amount of characters. Is it possible to work around this problem somehow. Please send me a response via email. Thanks, Rainer.
Re: problems with hostname in incoming.conf
Author: Heiko Schlichting
Date: Sun, 28 Mar 1999 00:00
Date: Sun, 28 Mar 1999 00:00
32 lines
1884 bytes
1884 bytes
Rainer Enders <rainer@erilab.com> writes:
>They also suggest to put in 15 hostnames. If I try that I get an error
>message "syntax error in incoming.conf". Since the hostnames are quite
>long it looks like the hostname: parameter takes only a certain amount of
>characters.
>
>Is it possible to work around this problem somehow.
Unfortunately there is a line length limit for incoming.conf and the limit
is 255 bytes which often makes problems. This should be dynamic and only
limited by to amount of RAM but at this time it isn't. The error messages
for lines too long are often very confusing (e.g. reporting problems with a
host '}' in line 0). A workaround is the following patch: it increases the
limit to 8191 chars per line. A real solution would be dynamic allocation of
memory.
Heiko
--- rc.c.org Wed Jan 27 16:27:29 1999
+++ rc.c Tue Mar 16 22:30:58 1999
@@ -532,7 +532,7 @@
register char *s;
register char *t;
char *word;
- static char buff[SMBUF];
+ static char buff[BIG_BUFFER]; /* HSG */
register BOOL flag;
if (*buff == '\0') {
Re: problems with hostname in incoming.conf
Author: David Spigelman
Date: Mon, 29 Mar 1999 00:00
Date: Mon, 29 Mar 1999 00:00
49 lines
2090 bytes
2090 bytes
In article <36FC1186.A0981D2D@erilab.com>,
Rainer Enders <rainer@erilab.com> wrote:
> I have problems with UUNET News feed. Lately they are changing
> around machines that are feeding news from. They told me to put
> a whole class C network in the access file. Does this work with
> inn??
>
> They also suggest to put in 15 hostnames. If I try that I get an
> error message "syntax error in incoming.conf". Since the hostnames are
> quite
> long it looks like the hostname: parameter takes only a certain
> amount of characters.
>
> Is it possible to work around this problem somehow.
I'm having problems with my newsfeed, so I may not be the best person give
advice on this, but my problems seem to be outbound - not inbound.
Here's what I did:
group UUNet {
peer nntp-out1.uu.net {
}
peer nntp-out2.uu.net {
}
peer nntp-out3.uu.net {
}
peer nntp-out4.uu.net {
}
peer nntp-out5.uu.net {
}
peer nntp-out6.uu.net {
}
etc...
It seems to be working for the inbound connections. Good luck!!
-- DS
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads