Thread View: news.software.nntp
1 messages
1 total messages
Started by Tom Limoncelli
Wed, 14 Jul 1993 18:59
Re: What causes '441 Can't generate Message-ID, Error 0'?
Author: Tom Limoncelli
Date: Wed, 14 Jul 1993 18:59
Date: Wed, 14 Jul 1993 18:59
69 lines
3760 bytes
3760 bytes
In <220sao$q16@NS1.PeachNet.EDU> Charles Menser <charles@peachnet.edu> writes:
>Using INN 1.4 I can't post to my server.
>I am still trying to move my primary news server to a Sparc Classic.
>I believe I have found my last roadblock. News transfers work great,
>but when you try to post you get:
>441 Can't generate Message-ID, Error 0
>Any ideas? There is no difference in the news setup I am using on my
>working server, an ELC running SunOS 4.1.3, and the Classic running
>Solaris 2.2.
I assume you mean "besides all the changes to config.data required
when you move between a BSD-based OS and a SVR4-based OS".
From the FAQ I find this things:
----------------- cut here -----------------
Other problems are usually the result of not being able to find the
"inn.conf" file (copy it to the client or make it available via NFS) or
you are using Sun's brain-dead NIS/DNS stuff which doesn't do reverse
name lookups well. If inews tells you that it can't generate a
Message-ID, this is because it can't figure out your domain. Force it
to know your domain by adding a "domain:" line in "inn.conf".
----------------- cut here -----------------
I also found in my "things to be added to the FAQ" list find:
In the file getfqdn.c I had to change:
----------------- cut here -----------------
*** 34,45 ****
/* See if DNS (or /etc/hosts) gives us a full domain name. */
if ((hp = gethostbyname(buff)) == NULL)
return NULL;
! if (strchr(hp->h_name, '.') == NULL) {
/* Try to force DNS lookup if NIS/whatever gets in the way. */
! (void)strncpy(temp, buff, sizeof buff);
! (void)strcat(temp, ".");
! hp = gethostbyname(temp);
! }
if (hp != NULL && strchr(hp->h_name, '.') != NULL) {
if (strlen(hp->h_name) < sizeof buff - 1)
return strcpy(buff, hp->h_name);
--- 35,46 ----
/* See if DNS (or /etc/hosts) gives us a full domain name. */
if ((hp = gethostbyname(buff)) == NULL)
return NULL;
! /* if (strchr(hp->h_name, '.') == NULL) { */
/* Try to force DNS lookup if NIS/whatever gets in the way. */
! /* (void) strncpy(temp, buff, sizeof buff); */
! /* (void) strcat(temp, "."); */
! /* hp = gethostbyname(temp); */
! /* } */
if (hp != NULL && strchr(hp->h_name, '.') != NULL) {
if (strlen(hp->h_name) < sizeof buff - 1)
return strcpy(buff, hp->h_name);
----------------- cut here -----------------
To get it to work on Solaris. This is because Solaris's gethostbyname()
does not return a FQDN in hp->h_name.
Tom
--
Tom Limoncelli -- tal@warren.mentorg.com (work) -- tal@plts.org (play)
"Some people run 'biff' to alert them that | Disclaimer: I do not
they have new email. I run '/bin/true'". | speak for Mentor Graphics.
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