Rodolfo Medina <rodolfo.med...@gmail.com> writes: > A friend of mine let me know that he receives my emails with a time stamp one > hour into the future. It seems my computer or my service that forwards to > gmail is set to the wrong time or time zone. From my header: > > Received: from hda6-hyundai ([151.83.162.201]) > by mx.google.com with ESMTPS id 15sm1318852fxm.2.2010.01.16.09.20.40 > (version=TLSv1/SSLv3 cipher=RC4-MD5); > Sat, 16 Jan 2010 09:20:41 -0800 (PST) > From: Rodolfo Medina <rodolfo.med...@gmail.com> > Date: Sat, 16 Jan 2010 18:21:18 +0000 > ^^^^^^^^^^^^^^ > | > > this is wrong > > 09:20:41 -0800 equals 17:20:41 +0000, not 18:21:18 +0000. The friend suggests > that my time zone "+0000" should be "+0100" i.e. CET. > > Can anybody suggest how I can recover this?
Andrei Popescu <andreimpope...@gmail.com> writes: > To set the timezone it should be enough to do > > dpkg-reconfigure tzdata > > ...but, > > - do you have Windows installed (and used) on the same computer? > - is the BIOS clock set to UTC or local time? > - what does you system think about it? (check UTC= setting in > /etc/default/rcS) > > For a linux-only computer it is recommended you set UTC=yes, make sure > your BIOS clock is set to UTC and configure the timezone via the above > command. > > OTOH Windows expects the BIOS to be set to *local* time, so you would > want to set UTC=no, but you still have to set the correct timezone > because internally Linux is using UTC. > > If you make changes to the clock you might also experience issues on the > next (re)boot, because e2fsck doesn't like it if the last mount time of > a filesystem appears to be in the future. This is easily fixed with a > > fsck.ext3 /dev/sdXY > > from the "maintenance shell", but you should be prepared for it ;) Thanks! With `dpkg-reconfigure tzdata' it came out that my local time was London, wheras it should be Rome. I changed it. I have also a Windows partition, so I let UTC=no in /etc/default/rcS, as you suggested. I rebooted and no problem seemed to occur. Now I sent a test message to myself, and these are the headers: X-From-Line: rodolfo.med...@gmail.com Tue Jan 19 20:16:54 2010 Return-Path: <rodolfo.med...@gmail.com> Received: from hda6-hyundai ([151.81.20.42]) by mx.google.com with ESMTPS id 13sm1649564bwz.10.2010.01.19.11.17.03 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 19 Jan 2010 11:17:04 -0800 (PST) From: Rodolfo Medina <rodolfo.med...@gmail.com> To: rodolfo.med...@gmail.com Subject: test3 Date: Tue, 19 Jan 2010 20:16:54 +0100 Is the problem solved now? Thanks, Rodolfo -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org