🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #66808

Re: How can i standard all of the post must use server time ?

#66808
From: Jeffrey M. Vinocur
Date: Thu, 09 Oct 2003 11:28
20 lines
1903 bytes
In article <11b2f0f2.0310082026.4c2b36af@posting.google.com>,
Chris Kwan <chkwan@skybird.ws> wrote:
> 
>> You can write an nnrpd Perl posting filter that will replace the
>> Date header with one generated by the server.  There is no
>> builtin support for forcing server time.
>
>Can you give me some idea how to do that ? I really want to change all
>of the post time is server time.

You'll want to read README.perl_hook from INN 2.3.x or
doc/hook-perl from INN 2.4.x, paying particular attention to the
$modify_headers variable.

A much better way to do this is to reject articles that have
drastically incorrect clock, forcing users to fix the computers.

-- 
Jeffrey M. Vinocur
jeff@litech.org
Technical Details
Message-ID: <bm3gpd$l1o$1@puck.litech.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!news.litech.org!not-for-mail
References: <11b2f0f2.0310012228.7dbef75c@posting.google.com> <blgvtr$kai$1@puck.litech.org> <11b2f0f2.0310082026.4c2b36af@posting.google.com>

Show Full Headers
Complete Article Headers
Message-ID: <bm3gpd$l1o$1@puck.litech.org>
Subject: Re: How can i standard all of the post must use server time ?
Date: Thu, 09 Oct 2003 11:28:45 +0000
From: jeff@litech.org (Jeffrey M. Vinocur)
References: <11b2f0f2.0310012228.7dbef75c@posting.google.com> <blgvtr$kai$1@puck.litech.org> <11b2f0f2.0310082026.4c2b36af@posting.google.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.20140818.mbox.gz!text1.nnrp.aus1!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!wn14feed!worldnet.att.net!128.230.129.106!news.maxwell.syr.edu!news.litech.org!not-for-mail
Newsgroups: news.software.nntp
Organization: Litech Systems Design
Lines: 20
Sender: jeff@litech.org
NNTP-Posting-Host: puck.litech.org
X-Trace: puck.litech.org 1065698925 21560 66.218.0.75 (9 Oct 2003 11:28:45 GMT)
X-Complaints-To: usenet@litech.org
NNTP-Posting-Date: Thu, 9 Oct 2003 11:28:45 +0000 (UTC)
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
Originator: jeff@litech.org (Jeffrey M. Vinocur)