🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81025

Re: GRRRR, why does it have to be so stupid

#81025
From: Urs Janßen
Date: Fri, 15 May 2009 13:54
18 lines
2124 bytes
In <gujlut$1mme$1@munin.diku.dk>, Jon Bendtsen wrote:
> i just upgraded to debian lenny
>        ii  inn2                2.4.5-5             'InterNetNews' news server
> 
> news@dknntp:~$ cat tarticle | /usr/lib/news/bin/mailpost -a approved
> test
> inews failed: inews: cannot send article to server: 441 Can't parse
> "Date" header inews: article not posted

akk3% grep -n dateHdr inn-2.4.5/frontends/mailpost.in
131:my $dateHdr= "MAILPOST-UNKNOWN-DATE" ;
267:$dateHdr = $date if $date ;
308:${real_news_hdrs}Date: ${dateHdr}

according to mailpost(8) mailpost expects a "a properly formatted
e-mail message" which has a Date:-header in the absence of a Date
header it inserts "Date: MAILPOST-UNKNOWN-DATE" (to avoid
reinsertions?) which inews of course can't parse.
Technical Details
Message-ID: <gujs7h$hqh$1@news4.rz.uni-karlsruhe.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
References: <guefb7$19rd$1@munin.diku.dk> <874ovokg4s.fsf@windlord.stanford.edu> <guf6s7$7pb$1@news.trigofacile.com> <gugsm1$1fqh$2@munin.diku.dk> <guhjs0$gi7$1@news.trigofacile.com> <gujc0k$1lvp$1@munin.diku.dk> <gujlut$1mme$1@munin.diku.dk>

Show Full Headers
Complete Article Headers
Message-ID: <gujs7h$hqh$1@news4.rz.uni-karlsruhe.de>
Subject: Re: GRRRR, why does it have to be so stupid
Date: Fri, 15 May 2009 13:54:57 +0000
From: Urs Janßen <urs@buil.tin.org>
References: <guefb7$19rd$1@munin.diku.dk> <874ovokg4s.fsf@windlord.stanford.edu> <guf6s7$7pb$1@news.trigofacile.com> <gugsm1$1fqh$2@munin.diku.dk> <guhjs0$gi7$1@news.trigofacile.com> <gujc0k$1lvp$1@munin.diku.dk> <gujlut$1mme$1@munin.diku.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.ams.giganews.com!nntp.giganews.com!xlned.com!feeder1.xlned.com!newsfeed.freenet.de!news.tu-darmstadt.de!news.belwue.de!rz.uni-karlsruhe.de!news.rz.uni-karlsruhe.de!not-for-mail
Newsgroups: news.software.nntp
Organization: tin.org
Lines: 18
NNTP-Posting-Host: akkuser-dmz.akk.uni-karlsruhe.de
X-Trace: news4.rz.uni-karlsruhe.de 1242395697 18257 172.22.9.237 (15 May 2009
X-Complaints-To: abuse@uni-karlsruhe.de
NNTP-Posting-Date: Fri, 15 May 2009 13:54:57 +0000 (UTC)
Cancel-Lock: sha1:WP3VFAg0nzOgHXhgVW6aM0Boelg=
X-No-Archive: yes
X-No-HTML: yes
User-Agent: tin/1.9.5-20090507 ("Rieclachan") (UNIX) (Linux/2.6.24-23-generic
 (x86_64))