🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #81035

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

#81035
From: Julien ÉLIE
Date: Sat, 16 May 2009 11:34
32 lines
2707 bytes
Hi Jon,

>> IMHO mailpost shouldn't insert a date header but exit with an error
>> message if the date header is missing, but I don't use mailpost and
>> if I would I wouldn't feed mails without a date header to it (and I
>> consider doing so a layer 8 problem).
>
> I prefer flexible software that fixes problems with the input when
> it is easy to do so.

It is not at all easy to do so; mailpost cannot guess when the article
was written.

Note that you could put the current date when giving your bad-formatted
mail to mailpost, instead of removing the Date: header.
INN is shipped with "convdate".

% convdate
Sat May 16 13:31:50 2009

It prints the current time in a format INN will accept.
See <http://www.eyrie.org/~eagle/software/inn/docs/convdate.html>.

So just replace the bad Date: header with "Date: `convdate`\n", and
it will work fine.

-- 
Julien ÉLIE

« -- Le bureau des renseignements ?
  -- Sais pas. Adressez-vous aux renseignements, ils vous renseigneront. » (Astérix) 
Technical Details
Message-ID: <gum8c4$efh$1@news.trigofacile.com>
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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!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> <gujs7h$hqh$1@news4.rz.uni-karlsruhe.de> <gujsk7$1n4o$1@munin.diku.dk> <gukrh1$ufq$1@news4.rz.uni-karlsruhe.de> <gulpi2$1s19$2@munin.diku.dk>

Show Full Headers
Complete Article Headers
Message-ID: <gum8c4$efh$1@news.trigofacile.com>
Subject: Re: GRRRR, why does it have to be so stupid
Date: Sat, 16 May 2009 13:34:18 +0200
From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid>
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> <gujs7h$hqh$1@news4.rz.uni-karlsruhe.de> <gujsk7$1n4o$1@munin.diku.dk> <gukrh1$ufq$1@news4.rz.uni-karlsruhe.de> <gulpi2$1s19$2@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.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.freenet.de!newsfeed0.kamp.net!newsfeed.kamp.net!gegeweb.org!news.trigofacile.com!not-for-mail
Newsgroups: news.software.nntp
Organization: TrigoFACILE -- http://www.trigofacile.com/
Lines: 32
NNTP-Posting-Host: aaubervilliers-151-1-37-189.w83-112.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original
Content-Transfer-Encoding: 8bit
X-Trace: news.trigofacile.com 1242473668 14833 83.112.148.189 (16 May 2009
X-Complaints-To: abuse@trigofacile.com
NNTP-Posting-Date: Sat, 16 May 2009 11:34:28 +0000 (UTC)
In-Reply-To: <gulpi2$1s19$2@munin.diku.dk>
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6001.18000
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6001.18049