Author |
|
jpveen Newbie
Joined: 02 May 2017 Location: Netherlands
Online Status: Offline Posts: 2
|
Posted: 02 May 2017 at 11:08am | IP Logged
|
|
|
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 |
|
|
Alex AfterLogic Support
Joined: 19 November 2003
Online Status: Offline Posts: 2206
|
Posted: 02 May 2017 at 11:14am | IP Logged
|
|
|
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 |
|
|
jpveen Newbie
Joined: 02 May 2017 Location: Netherlands
Online Status: Offline Posts: 2
|
Posted: 02 May 2017 at 11:29am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 03 May 2017 at 3:45am | IP Logged
|
|
|
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 |
|
|
lurch Newbie
Joined: 24 June 2017 Location: United Kingdom
Online Status: Offline Posts: 2
|
Posted: 24 June 2017 at 9:10am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 26 June 2017 at 1:25am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 27 June 2017 at 2:48am | IP Logged
|
|
|
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 |
|
|
lurch Newbie
Joined: 24 June 2017 Location: United Kingdom
Online Status: Offline Posts: 2
|
Posted: 27 June 2017 at 1:42pm | IP Logged
|
|
|
Happy to help, and happy to see this fixed
|
Back to Top |
|
|