[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



 Hi.

> > > 441 Invalid header "Message-ID: <gdjgasdjsh@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@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
-- 
_______________________________________________
leafnode-list mailing list
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
http://www.dt.e-technik.uni-dortmund.de/mailman/listinfo/leafnode-list
http://leafnode.sourceforge.net/