Package: leafnode Version: 1.11.6-5 Severity: important Tags: patch Hi,
leafnode generates Path: -headers if the news reader skips this task. The generated Path: -header consists of the value of the hostname config line, a "!" and the value of the NEWS_USER macro, i.e. "news". The user is referred to README-FQDN.txt in order to choose a valid host name for the generation of unique Message-Ids. In my case, I've chosen the FQDN of my upstream news-server. This works fine for me, but is not an optimal solution (if possible, the suggestion of the news-server should be chosen -- tin seems to work like this). However, the header line "Path: <nntp-server-fqdn>!news" causes a problem with the news-servers lying upstream to my provider's news-server and my articles are rejected. I figured out, that the entry "news" is responsible for this and I suggest to use "Path: not-for-mail" in general, since leafnode should (IMO) behave like a news-client, not like a server. Cheers, Michael -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.22.1 Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Versions of packages leafnode depends on: ii debconf [debconf-2.0] 1.5.11etch1 Debian configuration management sy ii libc6 2.3.6.ds1-13etch4 GNU C Library: Shared libraries ii libpcre3 6.7+7.4-2 Perl 5 Compatible Regular Expressi ii logrotate 3.7.1-3 Log rotation utility ii openbsd-inetd [inet-su 0.20050402-6 The OpenBSD Internet Superserver ii tcpd 7.6.dbs-13 Wietse Venema's TCP wrapper utilit leafnode recommends no packages. -- debconf information excluded
--- leafnode-1.11.6.orig/nntpd.c 2006-03-16 17:59:43.000000000 +0100 +++ leafnode-1.11.6/nntpd.c 2008-01-09 23:51:52.000000000 +0100 @@ -1195,9 +1195,9 @@ if (!havepath) { if (fputs("Path: ", out) == EOF) err = 1; - if (fputs(fqdn, out) == EOF) - err = 1; - if (fprintf(out, "!%s\r\n", NEWS_USER) < 0) + /*if (fputs(fqdn, out) == EOF) + err = 1;*/ + if (fprintf(out, "not-for-mail\r\n") < 0) err = 1; } if (!havedate) {