🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #167073

Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)

#167073
From: Steve Crook
Date: Tue, 05 Jul 2016 09:01
76 lines
4138 bytes
On Mon, 4 Jul 2016 03:11:36 -0000 (UTC), Henry Jones wrote in
Message-Id: <nlck57$bg7$1@news.mixmin.net>:

> Question for newsserver admins on date headers
> (especially Steve Crook)
>
> This question originally came from the windows newsgroups, but it applies 
> more to newsservers and news agents than to Windows, per se.
>
> Q: Where does the date header actually come from?

The Date header is a mandatory field, usually added by the posting
agent. If the agent doesn't supply one, the server could either reject
it, or (more commonly) add one itself.

> 1) If we telnet to aioe.org and then run a test post without using a date 
> header, the resulting date header shows up in UTC time in "+0000 (UTC)" 
> format.
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 (UTC)
>
> 2) If we telnet to aioe.org and supply a valid date header, then whatever 
> valid date header was supplied is what results.
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 (UTC)
> For example: Date: Sun, 3 Jul 2016 15:24:46 -0000 (UTC)
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 (foobar)
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 
> For example: Date: Sun, 3 Jul 2016 15:24:46 -1234 
> For example: Date: Sun, 3 Jul 2016 15:24:46
> etc.
The Date header spec is pretty loose.  This has come about by changing
requirements over several decades.  According to the current spec, the
"+/- 4Digit" element specifies the timezone but it makes allowances for
virtually freeform text after it due to the obsolete formats that still
exist in many agents.

>
> 3) Then, if we post from Pan 0.140 on WinXP with a local time zone set, 
> and we post to aioe, we *always* get a date header using the "+0000 (UTC)" 
> format.
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 (UTC)
>
> 4) Similarly, if we post from Pan 0.140 on WinXP with a local time zone 
> set, and we post to netfront, we *always* get a date header using the same 
> "+0000 (UTC)" format.
> For example: Date: Sun, 3 Jul 2016 15:24:46 +0000 (UTC)
>
> 5) However, if we post from Pan 0.140 on WinXP with a local time zone set, 
> and we post to mixmin (port 563), we *always* get a date header using a 
> different "-0000 (UTC)" format.
> For example: Date: Sun, 3 Jul 2016 15:24:46 -0000 (UTC)
>
> What is going on?
The +0000 format SHOULD be used to indicate UTC but -0000 is also
acceptable.  Both mean zero hours deviation from UTC.

> It seems from our tests above as if Pan isn't sending *any* date header 
> (and there is no setting to set a date header anyway); so the date header 
> *seems to be* whatever defaults on the newsserver.
Yes, that certainly appears to be the case.  It's not ideal as the
server cannot convey what timezone the user is in.

> Is that the case?
>
> PS: We're are of the ± syntax:
> +0000 means UTC is local time.
> -0000 means UTC without indicating local time.
> (UTC) is a comment which can be anything inside the (_).
>
> REFERENCES:
> RFC 2822 Sec. 3.3 specifies the ANSI standard for legal characters
> RFC 3339 specifies the Unknown Local Offset Convention
> RFC 5536 specifies the "Date" header field.
> RFC 5322 specifies the 'date-time' token.

-- 
And with glasses high we raised a cry for freedom had arrived
Technical Details
Message-ID: <slrnnnmtqp.1iv.steve@fleegle.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
References: <nlck57$bg7$1@news.mixmin.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrnnnmtqp.1iv.steve@fleegle.mixmin.net>
Subject: Re: Question for newsserver admins on date headers on Mixmin (Steve Crook)
Date: Tue, 05 Jul 2016 09:01:13 +0000
From: Steve Crook <steve@mixmin.net>
References: <nlck57$bg7$1@news.mixmin.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!news.usenet.farm!..!..!not-for-mail
Newsgroups: alt.free.newsservers
Organization: Mixmin
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 5 Jul 2016 09:01:13 -0000 (UTC)
Injection-Info: news.mixmin.net; posting-host="a221f30aeedf01125ccf3d4ec04b58c8675fab76";
User-Agent: slrn/pre1.0.3-10 (Linux)
Lines: 75