Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: All mails display 1-1-1970 date Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
jpveen
Newbie
Newbie


Joined: 02 May 2017
Location: Netherlands
Online Status: Offline
Posts: 2
Posted: 02 May 2017 at 11:08am | IP Logged Quote jpveen

After succesfull installation of AfterLogic Webmail Lite 7.7.0.3 on CentOS 6.8 with Plesk 12.0.18 the GUI works ok.
All mail comes in, but all mails are tagged with a date of Jan 1, 1970.

I tried changing language, timezone etc, but did not help. How to fix this?

Thanks,
Jan

Back to Top View jpveen's Profile Search for other posts by jpveen
 
Alex
AfterLogic Support
AfterLogic Support
Avatar

Joined: 19 November 2003
Online Status: Offline
Posts: 2206
Posted: 02 May 2017 at 11:14am | IP Logged Quote Alex

Hi,

You need to enable logging (in admin panel) and check if the server sends correct datetime information in the responses.

Regards,
Alex
Back to Top View Alex's Profile Search for other posts by Alex
 
jpveen
Newbie
Newbie


Joined: 02 May 2017
Location: Netherlands
Online Status: Offline
Posts: 2
Posted: 02 May 2017 at 11:29am | IP Logged Quote jpveen

I enabled the debug logging with debug trace level and I see all kinds of datetime info's.

Can you have a look at this log? You can find it here:

http://home.veenweb.nl/test/debuglog.txt

There should be the receive of 1 mail receival in this log.

Thanks!
Back to Top View jpveen's Profile Search for other posts by jpveen
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 03 May 2017 at 3:45am | IP Logged Quote Igor

Thank you. I'd say the datetime output looks correct, not sure why it's not parsed correctly. Is it possible to provide us with a test account on your mailserver so we could check this? If yes, please open a ticket at HelpDesk and share the login details there.

Also, please try adding the following item to array in data/settings/config.php file and see if the behavior changes:

Code:
'labs.use-date-from-headers' => true,


--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
lurch
Newbie
Newbie


Joined: 24 June 2017
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 24 June 2017 at 9:10am | IP Logged Quote lurch

Hi, I'm seeing exactly the same problem

I've installed AfterLogic WebMail Lite 7.7.4 on Plesk 11.0.9 Update #64 running on CentOS 5.5

Everything seems to be working okay, and all the emails get shown (and I can send and receive emails okay), but they all get listed with a date of Jan 1, 1970. If I click on "View message headers" then I do see the correct "Date: " string.

I've already set
Code:
'labs.use-date-from-headers' => true,

in /var/www/vhosts/mydomain.com/httpdocs/webmail/data/settings/config.php (I found it documented in https://afterlogic.com/docs/webmail-lite/troubleshooting/emails-are-not-sorted-correctly before finding this forum post) but unfortunately it hasn't made any difference.

Has there been any progress on fixing this bug? I have admin-level access to the server in question, so I'm happy to assist with any debugging...

Lurch
Back to Top View lurch's Profile Search for other posts by lurch
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 26 June 2017 at 1:25am | IP Logged Quote Igor

Would it be possible to provide us with access to any email account the issue can be reproduced with? We'll need the installation URL as well. You can provide access credentials privately via HelpDesk.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6038
Posted: 27 June 2017 at 2:48am | IP Logged Quote Igor

OK, it appears that one of the datetime functions we use was behaving differently prior to PHP 5.3.9. We've made a patch which addresses the situation, you can download the modified file here. It needs to be placed to the following location: libraries/MailSo/Base/DateTimeHelper.php

Note that it might still be glitchy if message dates contain extra information after timezone (for example, "GMT 0200" rather than just "GMT") but that can only be solved by upgrading PHP version.

We're going to release new 7.7.5 version today, with this fix included of course. Also I'd like to take this moment to thank lurch for the great cooperation on troubleshooting this issue.

--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
lurch
Newbie
Newbie


Joined: 24 June 2017
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 27 June 2017 at 1:42pm | IP Logged Quote lurch

Happy to help, and happy to see this fixed
Back to Top View lurch's Profile Search for other posts by lurch
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide