_Brief Description_: when sending an email using squirrelmail web
interface, there are problems about time. Squirrelmail shows good time,
mail clients not.
_Long Description:_ Our mail server on timezone +2 (Amsterdam) works
perfectly, runs postfix and mails sent/received from anywhere in the
world are shown with the correct time. When sending from SquirrelMail
web interface, then the problem occurs. Squirrelmail shows the correct
time, while on mail client the time is shown 4 hours in the future. Eg:
i sent an email at 14:00. Squirrelmail shows 14:00 while mail client
shows 18:00. It occurs on any mail client.
Investigating a bit deeper, i found out a problem in the header of the
email sent from SquirrelMail:
----------
Return-Path: <my address>
X-Original-To: xxxxxxxxxxxxx
Delivered-To: xxxxxxxxxxxxxxxxxxxxxx
Received: from xxxxxxxxxxxx (localhost [127.0.0.1])
by xxxxxxxxxxxxxx (Postfix) with ESMTP id 8B4DE17E28
for <xxxxxxxxxxxxxxxxx>; Thu, 16 Aug 2012 15:22:03 *+0200* (CEST)
Received: from xxxxxxxxxxxxxxxxx
(SquirrelMail authenticated user my user)
by xxxxxxxxxxxxxx with HTTP;
Thu, 16 Aug 2012 15:22:03 *-0200*
Message-ID: <c38a21efeb4156509f0340e0d8184142.squirrel@xxxx>
Date: Thu, 16 Aug 2012 15:22:03 -*0200*
Subject: now is 15:22
From: my address
To: my address
User-Agent: SquirrelMail/1.4.21
MIME-Version: 1.0
Content-Type: text/plain;charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
shown time on the client is 19:22.
-------
If i send an email from my mail client, then the header is:
same stuff as above...
for <xxxxxxxxxxxxxx>; Thu, 16 Aug 2012 15:25:44 *+0200* (CEST)
Message-ID: <502CF4D6.7000206@xxx>
Date: Thu, 16 Aug 2012 15:25:42 +*0200*
From: Fabio <xxxxxxxxxxx>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120714
Thunderbird/14.0
MIME-Version: 1.0
...
note that now we can see the correct timezone. +2
-----------
some more infos to help debugging:
system is Linux Debian Squeeze 64 bit
Squirrelmail 1.4.21
no plugins installed
system time is correct:
date Thu Aug 16 15:31:35 CEST 2012
date +%z +0200
php.ini:
[Date]
; Defines the default timezone used by the date functions
date.timezone = Europe/Amsterdam
php -version
PHP 5.3.3-7+squeeze13 with Suhosin-Patch (cli) (built: Jun 10 2012
07:31:32)
squirrelmail's time for my user is configured to be "same as server"
The problem occurs for every user, on every browser anyway.
Any help is strongly appreciated.
Fabio
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@lists.sourceforge.net
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options):
https://lists.sourceforge.net/lists/listinfo/squirrelmail-users