[imp] Horde webmail time

Graeme Wood Graeme.Wood at ed.ac.uk
Mon Aug 31 15:30:40 UTC 2009


What does

<?php echo $_ENV['LC_TIME'], $_ENV['TZ']; ?>

say? Those environment variables tell the web server the locale and 
timezone that it is running in.

On Mon, 31 Aug 2009, Khodayar Doustar wrote:

> Ah, sorry, I didn't see that, please excuse me.
> My web server is Apache and I beleive its time is correctly set to my
> locale, I get my locale time from this php script:
> <? echo date('h:i:s A'); ?>
>
> Thanks.
>
> On Mon, Aug 31, 2009 at 6:42 PM, Graeme Wood <Graeme.Wood at ed.ac.uk> wrote:
>
>> Your web *server*, not your web broswer. It isn't in horde. It is the
>> server itself that horde is installed on and specifically the web server
>> running on it.
>>
>>
>> On Mon, 31 Aug 2009, Khodayar Doustar wrote:
>>
>>  But my web browser is currently on my regional locale just like my machine
>>> time, and I guess this is not a client-based problem. I think there should
>>> be some setting in Horde which could be changed to fix it.
>>>
>>> On Mon, Aug 31, 2009 at 6:33 PM, Graeme Wood <Graeme.Wood at ed.ac.uk>
>>> wrote:
>>>
>>>  Set the locale of your web server to be the locale of where you are and
>>>> not
>>>> GMT.
>>>>
>>>>
>>>> On Mon, 31 Aug 2009, Khodayar Doustar wrote:
>>>>
>>>>  No, it doesn't look like Horde read the date in front of "Date"
>>>> directive
>>>>
>>>>> in
>>>>> mail header, for example, if this is a mail header:
>>>>>
>>>>> Received: (qmail 15295 invoked from network); 31 Aug 2009 14:45:47 -0000
>>>>> Received: from unknown (HELO mx.xxxxxxxxx.com) ([xx.xxx.xxx.130])
>>>>>  by xx.xxx.xxx.17 with ESMTPS (DHE-RSA-AES256-SHA encrypted); 31 Aug
>>>>> 2009
>>>>> 14:45:47 -0000
>>>>> Received: (qmail 12773 invoked from network); 31 Aug 2009 14:45:49 -0000
>>>>> Received: from unknown (HELO amg.xxx.ir) ([xx.xxx.xx.6])
>>>>>  by xx.xxx.xxx.130 with ESMTPS (DHE-RSA-AES256-SHA encrypted); 31 Aug
>>>>> 2009
>>>>> 14:45:49 -0000
>>>>> Received: from mail.xxx.ir ([xx.xxx.xx.3]:34146)
>>>>>      by amg.xxx.ir with esmtps (TLSv1:AES256-SHA:256)
>>>>>      (Exim 4.69)
>>>>>      (envelope-from <khodayar at xxx.ir>)
>>>>>      id 1Mi89d-00052l-3A
>>>>>      for qt1 at xxxx.xxxxxxxxx.ir; Mon, 31 Aug 2009 19:16:45 +0430
>>>>> Received: (qmail 25900 invoked by uid 48); 31 Aug 2009 14:46:45 -0000
>>>>> Received: from xx.xxx.xxx.93
>>>>>      (SquirrelMail authenticated user khodayar at xxx.ir)
>>>>>      by mail.xxx.ir with HTTP;
>>>>>      Mon, 31 Aug 2009 19:16:45 +0430 (IRDT)
>>>>> Message-ID: <3761.xx.xxx.xxx.93.1251730005.squirrel at mail.xxx.ir>
>>>>> Date: Mon, 31 Aug 2009 19:16:45 +0430 (IRDT)
>>>>> Subject: Test
>>>>> From: khodayar at xxx.ir
>>>>> To: qt1 at xxxx.xxxxxxxxx.ir
>>>>> User-Agent: SquirrelMail/1.4.8-4.0.1.el4.centos
>>>>> MIME-Version: 1.0
>>>>> Content-Type: text/plain;charset=utf-8
>>>>> Content-Transfer-Encoding: 8bit
>>>>> X-Priority: 3 (Normal)
>>>>> Importance: Normal
>>>>>
>>>>> Horde reads the time in the line starting with "Date:" and then subtract
>>>>> it
>>>>> by 4:30 and report it as mail time, so all mails in Horde webmail will
>>>>> be
>>>>> shown as GMT time. Do you know how can I trigger this?
>>>>>
>>>>> Thanks.
>>>>> Kh. Doustar
>>>>>
>>>>>
>>>>> On Mon, Aug 31, 2009 at 11:31 AM, <lst_hoe02 at kwsoft.de> wrote:
>>>>>
>>>>>  Zitat von Khodayar Doustar <khodayard at gmail.com>:
>>>>>
>>>>>>
>>>>>>
>>>>>>  Hi,
>>>>>>
>>>>>>
>>>>>>> I am using Horde with Qmail, Qmail is installed and working on a
>>>>>>> separated
>>>>>>> server with a local time, and Horde as well, these two servers use the
>>>>>>> same
>>>>>>> local time, GMT+3:30
>>>>>>> But email got a GMT timestamp in Horde webmail inbox, seems like Horde
>>>>>>> is
>>>>>>> reading qmail global GMT timezone, I cannot find where and how to fix
>>>>>>> it,
>>>>>>> have you heard anything about this?
>>>>>>> Thanks a lot,
>>>>>>> Kh. Doustar
>>>>>>>
>>>>>>>
>>>>>>>  Horde only display what is in the mail header, so the mail-client
>>>>>> sending
>>>>>> the mail sets the information.
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Andreas
>>>>>>
>>>>>>
>>>>>> --
>>>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>>
>>>>>>  --
>>>>>>
>>>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>>>> Frequently Asked Questions: http://horde.org/faq/
>>>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>>>
>>>>>
>>>>>
>>>>>  --
>>>> Graeme Wood, Unix Section of the IT Infrastructure Division,
>>>> Information Services, The University of Edinburgh
>>>> Email: Graeme.Wood at ed.ac.uk Phone: +44 131 650 5003 Fax: +44 131 650
>>>> 6552
>>>>
>>>> The University of Edinburgh is a charitable body,
>>>> registered in Scotland, with registration number SC005336.
>>>>
>>>>  --
>>> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
>>> Frequently Asked Questions: http://horde.org/faq/
>>> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>>>
>>>
>>>
>> --
>> Graeme Wood, Unix Section of the IT Infrastructure Division,
>> Information Services, The University of Edinburgh
>> Email: Graeme.Wood at ed.ac.uk Phone: +44 131 650 5003 Fax: +44 131 650 6552
>>
>> The University of Edinburgh is a charitable body,
>> registered in Scotland, with registration number SC005336.
>>
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
>
>

-- 
Graeme Wood, Unix Section of the IT Infrastructure Division,
Information Services, The University of Edinburgh
Email: Graeme.Wood at ed.ac.uk Phone: +44 131 650 5003 Fax: +44 131 650 6552

The University of Edinburgh is a charitable body,
registered in Scotland, with registration number SC005336.


More information about the imp mailing list