[leafnode-list] leafnode and Message-ID's

Andrey Slusar vasallia at ukr.net
Sat Jul 3 13:45:43 CEST 2004


 Hi.

> > > 441 Invalid header "Message-ID: <gdjgasdjsh at localhost>", article not
> > > posted

> > Leafnode doesn't allow you to post with a hostname of "localhost":

> > http://leafnode.sourceforge.net/doc_en/README-FQDN.html

>  Thanks.

>  Outlook Express generate:
> Message-ID: <030801c46006$3d32b4a0$1572a8c0 at Ymolgach>.

>  Article is not posted, but leafnode rejecting this is message-id :(

 In sources:
--8<---------------cut here---------------start------------->8---
int is_validfqdn(const char *f) {
    if (/* reject unqualified names */
>>	!strchr(f, '.')
	/* Red Hat list the FQDN on the same line as localhost, thus,
	 * the qualification returns two "localhost*" aliases */
	|| 0 == strncasecmp(f, "localhost", 9)
	/* protect against broken hosts or DNS */
	|| 0 == strncmp(f, "127.0.0.", 8)
	/* SuSE default hostname on some installs is linux.local */
	|| 0 == strcasecmp(f, "linux.local")
	)
    {
	return 0;
    }
    return 1;
}
--8<---------------cut here---------------end--------------->8---
'>>' - domain only contains '.'?

--anray



More information about the leafnode-list mailing list