LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-14-2010, 05:02 PM   #1
graystarr
Member
 
Registered: Dec 2001
Location: Layton, Utah
Distribution: Red Hat 8.0 and Mandrake 9.0
Posts: 85

Rep: Reputation: 15
Squirrelmail sent items are 12 hours off


I have a Ubuntu 10.4 server box running Postfix and dovecot. I use Squirrelmail as a web interface. It all works great except that sent mail from squirrelmail has exactly 12 hour difference. Example I send an email at 3:00pm it shows up in sent items as 3:00 am Can someone please help me with this?
 
Old 10-15-2010, 01:47 AM   #2
Jasper Tiemann
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
Hi,

You can check the time and the timezone by executing `date`. You'll see something like Mon 17 Jan 2005 12:15:08 PM PST, PST in this case is the current timezone.

You can correct the timezone with `tzconfig` of `dpkg-reconfigure tzdata`

To set time in Ubuntu (or any Linux), just run the following command

sudo date newdatetimestring

where newdatetimestring has to follow the format nnddhhmmyyyy.ss which is described below

•nn is a two digit month, between 01 to 12
•dd is a two digit day, between 01 and 31, with the regular rules for days according to month and year applying
•hh is two digit hour, using the 24-hour period so it is between 00 and 23
•mm is two digit minute, between 00 and 59
•yyyy is the year; it can be two digit or four digit: your choice. I prefer to use four digit years whenever I can for better clarity and less confusion
•ss is two digit seconds. Notice the period ‘.’ before the ss.
Let’s say you want to set your computer’s new time to December 6, 2007, 22:43:55, then you would use:

sudo date 120622432007.55

Regards,

Jasper
 
Old 10-15-2010, 01:38 PM   #3
graystarr
Member
 
Registered: Dec 2001
Location: Layton, Utah
Distribution: Red Hat 8.0 and Mandrake 9.0
Posts: 85

Original Poster
Rep: Reputation: 15
Thanks however the time is correct on my mail server! Squirrel mail is still exactly 12 hours off!
 
Old 10-16-2010, 01:51 AM   #4
Jasper Tiemann
LQ Newbie
 
Registered: May 2007
Posts: 8

Rep: Reputation: 0
Under Options>Personal Information, there should be a link for Time Zones... (once you're logged into SM)

Maybe that's the problem?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rerun after three hours dnaqvi Linux - General 3 04-21-2010 01:51 AM
Linux machine gets stuck after 8 hours or 12 hours fahadaziz Linux - Newbie 4 03-28-2010 04:19 PM
Squirrelmail Sent Items rickylim Linux - Software 3 05-17-2006 09:29 PM
How many hours a day???????? JrLz General 15 04-13-2004 12:42 PM
how many hours does it take ? sapilas Linux - Distributions 2 06-08-2002 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration