🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
8 messages
8 total messages Started by Manuel manetta Thu, 10 Apr 2003 12:42
INN, slrn & date problem
#64815
Author: Manuel manetta
Date: Thu, 10 Apr 2003 12:42
31 lines
1511 bytes
Hi all

i have this kind of problem.
On the PC running inn, if i post (with slrn) i have these headers:

..
Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
NNTP-Posting-Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
..

if i post from another PC:

..
Date: Thu, 10 Apr 2003 11:31:33 +0200
NNTP-Posting-Date: Thu, 10 Apr 2003 09:29:17 +0000 (UTC)
..

for example, that doesn't happen with mutt and postfix (on the same
machine of INN server).
from mutt headers:
Date: Thu, 10 Apr 2003 14:27:52 +0200

Thanks a lot
Manuel
--
"Walk on, walk on, with hope in your heart
And you'll never walk alone
You'll never walk alone"


Re: INN, slrn & date problem
#64821
Author: Jeffrey M. Vinocur
Date: Thu, 10 Apr 2003 17:05
15 lines
1296 bytes
In article <b73or7$apjq2$1@ID-91057.news.dfncis.de>,
Manuel manetta <manetta@mediacom.it> wrote:
>
>i have this kind of problem.

I'm not sure exactly what your problem is.

For reference, the Date header is added by your newsreader
(slrn), and the NNTP-* headers are added by INN.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INN, slrn & date problem
#64854
Author: Bill
Date: Mon, 14 Apr 2003 06:46
12 lines
1429 bytes
On Thu, 10 Apr 2003 14:42:14 +0200, Manuel manetta wrote:

> Hi all
> 
> i have this kind of problem.
> On the PC running inn, if i post (with slrn) i have these headers:

Make sure that you are running a time sync program on all the computers.  Ntp is
good for Unix/Linux and Tardis works well on Windows.


Re: INN, slrn & date problem
#64856
Author: Dr.Ruud
Date: Mon, 14 Apr 2003 10:22
18 lines
1580 bytes
Bill skribis:
> Manuel manetta:

>> i have this kind of problem.
>> On the PC running inn, if i post (with slrn) i have these headers:

> Make sure that you are running a time sync program on all the
> computers.  Ntp is good for Unix/Linux and Tardis works well on
> Windows.

Windows 2000/XP has SNTP-support.
http://www.microsoft.com/windows2000/docs/wintimeserv.doc

-- 
Affijn, Ruud


Re: INN, slrn & date problem
#64857
Author: Manuel manetta
Date: Mon, 14 Apr 2003 12:27
27 lines
1779 bytes
"Jeffrey M. Vinocur" <jeff@litech.org> ha scritto

> For reference, the Date header is added by your newsreader
> (slrn), and the NNTP-* headers are added by INN.

(excuse for my english :)

do you know where INN & slrn get the date?
it's different from the date settings of the machine:

if i change the configuration by timeconfig (red hat), i can view the
changes when i try the date command.
but it has no effect on the Date and NNTP- headers....

on the same machine, mutt use the same hour displayed by date command.

mutt:        Date: Thu, 10 Apr 2003 14:27:52 +0200 (CEST)
slrn & inn:  Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
             NNTP-Posting-Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)


Thanks
Manuel



Re: INN, slrn & date problem
#64859
Author: Dirk Nimmich
Date: Mon, 14 Apr 2003 19:19
36 lines
2224 bytes
Manuel manetta wrote:
> i have this kind of problem.

There is no problem as far as I can see.

> On the PC running inn, if i post (with slrn) i have these headers:
> 
> Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
> NNTP-Posting-Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)

Slrn does not set a date header, so your newsserver inserts it.
NNTP-Posting-Date is always set by your newsserver.  That's why they
are the same in this case.

> if i post from another PC:
> 
> Date: Thu, 10 Apr 2003 11:31:33 +0200
> NNTP-Posting-Date: Thu, 10 Apr 2003 09:29:17 +0000 (UTC)

In this case, the program used on the other PC set a date header
using the current local time zone information. 11:31:33 +0200 is
09:31:33 +0000, so that PC's local time is about 2 minutes off
(assuming that the server's time is the correct one). That's not
really a problem, though.

> for example, that doesn't happen with mutt and postfix (on the same
> machine of INN server).
> from mutt headers:
> Date: Thu, 10 Apr 2003 14:27:52 +0200

I don't know what you wanted to say with this one.

What exactly did you expect to happen or not happen? And why do
you think it should be that way?

Re: INN, slrn & date problem
#64867
Author: Manuel manetta
Date: Tue, 15 Apr 2003 07:22
75 lines
3275 bytes
"Dirk Nimmich" <nimmich@muenster.de> ha scritto

> Slrn does not set a date header, so your newsserver
> inserts it.
> NNTP-Posting-Date is always set by your newsserver.
> That's why they are the same in this case.

> > for example, that doesn't happen with mutt and postfix (on the same
> > machine of INN server).
> > from mutt headers:
> > Date: Thu, 10 Apr 2003 14:27:52 +0200
>
> I don't know what you wanted to say with this one.

i think there's something strange...
if i send a message with mutt, the date is correct
(DATE: day month year, hour, minute, +0200 is correct)
and every system and daemon log reports the correct hour and minute.
(i can check with my watch)

only inn & slrn use a hour with exactly 2 hours less than the current
time on the machine
in the form day month year, (current hour-2), minute, +0000

> What exactly did you expect to happen or not happen? And why do
> you think it should be that way?

i would like that inn and slrn use the same way of all the other
services to display the date

in example:

> Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
> NNTP-Posting-Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)

i wrote this message at 11:38:59 on my machine
and i think it should be

Date: Thu, 10 Apr 2003 11:38:59 +0200
NNTP-Posting-Date: Thu, 10 Apr 2003 11:38:59 +0200

because in the log file i find:

Apr 10 11:38:59 relay nnrpd[9875]: relay.orobiacom.it post ok
<b73e3j$9kj$1@relay.orobiacom.it>

this is the header of my message:

Path: relay.orobiacom.it!not-for-mail
From: Manuel manetta <manuel@relay.orobiacom.it>
Newsgroups: local.test
Subject: test 10/4 ore 11.38
Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
Organization: Manuel LTD.
Lines: 8
Message-ID: <b73e3j$9kj$1@relay.orobiacom.it>
Reply-To: manuel@relay.orobiacom.it
NNTP-Posting-Host: relay.orobiacom.it
X-Trace: relay.orobiacom.it 1049967539 9875 127.0.0.1 (10 Apr 2003
09:38:59 GMT)
X-Complaints-To: usenet@relay.orobiacom.it
NNTP-Posting-Date: Thu, 10 Apr 2003 09:38:59 +0000 (UTC)
X-Operating-System: Red Hat Linux 7.3
X-Disclaimer: Linux - The Choice of a GNU generation!
X-URL: http://relay.orobiacom.it/~manuel
User-Agent: slrn/0.9.7.4 (Linux)
Xref: relay.orobiacom.it local.test:29


Thanks much
Manuel



Re: INN, slrn & date problem
#64872
Author: Jeffrey M. Vinocur
Date: Tue, 15 Apr 2003 13:54
25 lines
1917 bytes
In article <b7gc0g$k79o$1@ID-91057.news.dfncis.de>,
Manuel manetta <manetta@mediacom.it> wrote:
>
>i think there's something strange...
>if i send a message with mutt, the date is correct
>(DATE: day month year, hour, minute, +0200 is correct)
>and every system and daemon log reports the correct hour and minute.
>(i can check with my watch)
>
>only inn & slrn use a hour with exactly 2 hours less than the current
>time on the machine
>in the form day month year, (current hour-2), minute, +0000

That's not incorrect.  It's just in a different time zone.

Perhaps you can configure slrn to use the local timezone, try
checking the slrn documentation (or asking in
news.software.readers).  If not, and it's really important to
you, you could implement this in INN with a Perl posting filter.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads