๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #45674

Re: force date of an article

#45674
From: laurent gauthier
Date: Tue, 11 Apr 2000 00:00
45 lines
1991 bytes
Russ Allbery a ๏ฟฝcrit :

> laurent gauthier <lgauthier@ungi.net> writes:
>
> > I'm writing a moderator script for inn and I want an article to be
> > registered on the server with the date the sender post it and not with
> > the date of the moderation, wich is the date given by the server anyway.
>
> > I tried to write the date header in my script but inn always ovewrites
> > it, can this be avoid ?
>
> innd and nnrpd themselves don't overwrite Date headers.  How is your
> script posting?

There is the test I made, I got this file with the date header forced to an
earlier date:

    From: Laurent Gauthier <laurent.gauthier@ungi.net>
    Newsgroups: ungi
    Subject: essai
    Date: 01 Apr 2000 00:34:11 +0200
    Organization: UNGI

    Essai
    --
    Laurent GAUTHIER
    UNGI
    Tel: 01.40.34.88.39                     Fax: 01.40.34.83.72
    mailto:laurent.gauthier@ungi.net        http://www.ungi.net


and I post it with inews:

    inews -h < myfife

the article appear in the right group but with the date of the posting and
not the I one I've tried to force.

Is inews ovewriting it ?


Laurent Gauthier


Technical Details
Message-ID: <38F2EAEF.F4FE55F8@ungi.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <38F262B9.EDE0551B@ungi.net> <ylog7hcw4z.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <38F2EAEF.F4FE55F8@ungi.net>
Subject: Re: force date of an article
Date: Tue, 11 Apr 2000 00:00:00 +0000
From: laurent gauthier <lgauthier@ungi.net>
References: <38F262B9.EDE0551B@ungi.net> <ylog7hcw4z.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 609580510
Content-Transfer-Encoding: 8bit
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
X-Complaints-To: abuse@isdnet.net
X-Trace: news5.isdnet.net 955447485 36057 212.198.130.9 (11 Apr 2000 10:04:45 GMT)
Mime-Version: 1.0
NNTP-Posting-Date: 11 Apr 2000 10:04:45 GMT
Newsgroups: news.software.nntp