> I found a few things related to this on google, in the SM documentation, > and on the archives for the list, but nothing that answered the question. > > I have 3 servers that are very similar. Each is a Sun E250 running > Solaris 9. Call them A, B, & C, configured last August, November and > this January respectively. A has php 5.0.2 and squirrelmail 1.4.4. It has > moderate useage and doesn't use php for other things. B has php 4.4.2 and > squirrelmail 1.4.6. It has very light usage of mail, but heavier usage of > the web and uses php extensively. C has php 4.4.2 and squirrelmail 1.4.6 > also. It has heavy useage of mail, and moderate useage of the web with > light use of php for the web. > > I personally built all 3 servers, secured them, configured ntp and all > applications. `date` on all 3 reports the time and date correctly. > > Squirrelmail on A and C reports time as GMT. In the mail headers it puts > a line that reports GMT. The subsequent line from sendmail reports the time > in EST. On the Web page, left panel, Squirrelmail reports the time as GMT > but does not indicate that it is GMT -- it's simply 5 hours later than one > would expect.
Switch to international time format in folder prefs and see reported time zone. > Squirrelmail on B reports time as EST. > > > I recently updated php and Squirrelmail on B and C and followed > identical procedures on both. > > I did not update A, because the php 5.1.2 configure script failed. > Separate issue, but explains the difference in versions. > > > If I go to my personal options on the web connection and specify a time > zone of America/New_York, I get the correct display of time for myself. > However, this does not fix the problem for all my users. I also cannot > say if this is a new problem or an old problem. Nobody reported it until > this week. I also looked at some pref files in smdata on all 3 and didn't > see any specifications of time zones. Then SquirrelMail is running in default time zone and PHP functions fail to report your server's time zone correctly. > Seems like there must be some sort of global configuration somewhere > that controls this. But, I couldn't find it. I even poked around in > Squirrelmail's code a bit, but I'm not a php programmer. SquirrelMail does not have global time zone configuration option. It uses your server's time zone by default. If you use PHP 5.1.x - date functions are rewritten and SquirrelMail does not support date_default_timezone_set() function yet. -- Tomas ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: squirrelmail-users@lists.sourceforge.net List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users