Topic: Sent and Received logs are in UTC and not Local time

==== Required information ====
- iRedMail version: 0.8.6
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): LDAP
- Linux/BSD distribution name and version: Debian 7.1
- Related log if you're reporting an issue:


When looking at the timestamps on the Sent and Received logs through the iRedMail-Pro panel, they are in UTC time.  When I look at the postfix log, they are in local time. 
Looking directly in the database, the time in there is UTC time (that is time_iso). 

Is the issue that Amavisd is writing in UTC, or that the panel is not converting to Local Time.  Times elsewhere seem to be correct.

This was originally a 0.8.5 install, then upgaded to 0.8.6.  Error existed in previous version.


Re: Sent and Received logs are in UTC and not Local time

With iRedAdmin-Pro, please set proper time zone in iRedAdmin-Pro config file.

*) If you're running the latest iRedAdmin-Pro-LDAP-2.1.1, you can simple add parameter 'LOCAL_TIMEZONE' with proper time zone in config file "/usr/share/apache2/iredadmin/settings.py". For example:


You can find more examples in file /usr/share/apache2/iredadmin/libs/default_settings.py.

NOTE: Restarting Apache service is required.

*) If you're running old iRedAdmin-Pro-LDAP version, you can set it in config file /usr/share/apache2/iredadmin/libs/settings.py.


Does my reply help a little? How about buying me a cup of coffee ($5) as an encouragement?

buy me a cup of coffee