mail's idea of dates

David Goodenough dg at lakart.UUCP
Tue Apr 18 03:32:38 AEST 1989


Here is a script that shows a rather odd problem with dates in our system
(Integrated Solutions V24; 68020; 4.3 BSD)
-----------------------------------------------------
Script started on Mon Apr 17 13:18:55 1989

lakart!dg(tmp)[61]-> date
Mon Apr 17 13:19:01 EDT 1989

lakart!dg(tmp)[62]-> mail dg 
hello
^D
EOT

lakart!dg(tmp)[63]-> su
Password:

lakart# date -t300 1320
Mon Apr 17 13:20:00 EDT 1989

lakart# ^D

lakart!dg(tmp)[64]-> date
Mon Apr 17 13:20:07 EDT 1989

lakart!dg(tmp)[65]-> mail dg
goodbye
^D
EOT

lakart!dg(tmp)[66]-> cat /usr/spool/mail/dg
..............
>From dg Mon Apr 17 13:19:16 1989
Received: by lakart.UUCP (5.51/5.17)
	id AA00502; Mon, 17 Apr 89 13:19:15 PDT		<<<<<<<<<<<<<<
Date: Mon, 17 Apr 89 13:19:15 PDT
From: dg (David Goodenough)
Message-Id: <8904171719.AA00502 at lakart.UUCP>
To: dg

hello

>From dg Mon Apr 17 13:20:18 1989
Received: by lakart.UUCP (5.51/5.17)
	id AA00513; Mon, 17 Apr 89 13:20:17 EDT		<<<<<<<<<<<<<<
Date: Mon, 17 Apr 89 13:20:17 EDT
From: dg (David Goodenough)
Message-Id: <8904171720.AA00513 at lakart.UUCP>
To: dg

goodbye

lakart!dg(tmp)[70]-> ^D
script done on Mon Apr 17 13:20:56 1989
-----------------------------------------------------

The two highlighted lines show the problem - it only manifests itself after
a reboot: date shows the timezone properly, but mail gets it wrong (thinking
we're in the Pacific timezone). When I do a 'date -t300' the system date
stays put, but mail falls back into line.

What's going on?????
-- 
	dg at lakart.UUCP - David Goodenough		+---+
						IHS	| +-+-+
	....... !harvard!xait!lakart!dg			+-+-+ |
AKA:	dg%lakart.uucp at xait.xerox.com		  	  +---+



More information about the Comp.unix.questions mailing list