Article View: news.software.nntp
Article #36221Re: problems with hostname in incoming.conf
From: 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') {
Technical Details
Message-ID:
<7dkavf$fac$1@fu-berlin.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<36FC1186.A0981D2D@erilab.com>Show Full Headers
Complete Article Headers
Message-ID: <7dkavf$fac$1@fu-berlin.de> Subject: Re: problems with hostname in incoming.conf Date: Sun, 28 Mar 1999 00:00:00 +0000 From: heiko@cis.fu-berlin.de (Heiko Schlichting) References: <36FC1186.A0981D2D@erilab.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 459896862 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 922595119 15692 heiko 160.45.11.131 Organization: Freie Universitaet Berlin X-Access: 16 17 19 Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 NNTP-Posting-User: heiko Newsgroups: news.software.nntp