Quantcast
Channel: iRedMail — iRedMail Support
Viewing all articles
Browse latest Browse all 12095

iredadmin. Date problems

$
0
0

==== Required information ====
- iRedMail version (check /etc/iredmail-release): 0.9.2
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Web server (Apache or Nginx): Apache
- Linux/BSD distribution name and version: Debian 8
- Related log if you're reporting an issue:
====

Iredadmin does not respect timezone when logging to admin.log. Problem is that datetime is inserted in log file using now() which does not respect timezone on Unix servers where absolute time is always UTC. Either time should be entered respecting timezone or displaying time in iredadmin should convert logged time to current user timezone.

My setting in php.ini: date.timezone = Europe/Copenhagen
From server just after login:
$ date
Wed Jun 24 17:40:18 CEST 2015
Login logged in admin.log:
2015-06-24 15:39:09     postmaster@foo.bar     192.168.2.79     Login success


Viewing all articles
Browse latest Browse all 12095

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>