1

Topic: sogo-ealarms-notify[20319] No local time zone specified.

==== Required information ====
- iRedMail version: 0.9.0
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Linux/BSD distribution name and version: Centos 6.8
- Related log if you're reporting an issue: Email
====
I am getting the following email sent to my postmaster inbox at the rate of one e-mail per minute and I can't make it stop.

Subject:    Cron <sogo@mail> /usr/sbin/sogo-ealarms-notify
From:    Cron Daemon <root@mail.{deleted to prevent spam}.com>
Date:    Sunday, February 22, 2015 19:25 PST
To:    sogo@mail.{deleted to prevent spam}.com
Reply-To:    Cron Daemon <root@mail.{deleted to prevent spam}.com>

2015-02-23 03:25:01.336 sogo-ealarms-notify[20319] No local time zone specified.
2015-02-23 03:25:01.337 sogo-ealarms-notify[20319] Using time zone with absolute offset 0.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: sogo-ealarms-notify[20319] No local time zone specified.

edit /usr/share/apache2/iredadmin/libs/default_settings.py , and give it a line:

LOCAL_TIMEZONE = 'GMT+06:00' <--- change this to your timezone

3

Re: sogo-ealarms-notify[20319] No local time zone specified.

do you have setting 'SOGoTimeZone' in / etc/sogo/sogo.conf like below?

    SOGoTimeZone = "America/New_York";
dorpha wrote:

edit /usr/share/apache2/iredadmin/libs/default_settings.py

this iredadmin config file, SOGO doesn't read it at all.

4

Re: sogo-ealarms-notify[20319] No local time zone specified.

According sogo mail list investigation
sogo-ealarms-notify dont read SOGoTimeZone
instance must to create file /etc/timezone ( not soft link )
/etc/timezone content in my case America/Caracas as plain text

cheers

5

Re: sogo-ealarms-notify[20319] No local time zone specified.

There's ... weird... it doesn't read global setting in sogo.conf, and not per-user setting in SQL db.
This should be reported as a bug, could you please open a bug ticket in SOGo bug tracker?
http://www.sogo.nu/bugs/