[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [leafnode-list] leafnode and Message-ID's
- To: leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
- Subject: Re: [leafnode-list] leafnode and Message-ID's
- From: Andrey Slusar <vasallia@xxxxxxx>
- Date: Sat, 03 Jul 2004 14:45:43 +0300
- Delivery-date: Sat, 03 Jul 2004 13:48:27 +0200
- List-id: Discussions on the Leafnode Usenet software package <leafnode-list.dt.e-technik.uni-dortmund.de>
- Organization: Santinel
- Reply-to: vasallia@xxxxxxx
- User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity)
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/