Action Based Emails Ingore Timezone

Use this forum to report bugs and to check for bugfixes and new releases of OpenEMM

Moderator: moderator

Action Based Emails Ingore Timezone

Postby blix88 » Fri Dec 05, 2008 4:49 pm

After doing some testing. I found that action based emails ignore the timezone information.

I'm using CentOS and OpenEMM 5.5.1 for this example.

Lets say I initially setup the system with a timezone -2 hours GMT. I test everything and it works great. Emails go out, action based emails get sent right away. Then I notice the timezone is incorrect. So I change /etc/localtime to a timezone that is -8 hours GMT. I go through send some emails, works great. The generation time matches and they get sent out. But when I have an action based email get sent, it eventually sends the email but on a 6 hour delay.

To test I then moved the timezone to -3 hours GMT. Tested everything again, normal emails go through no problem. Then action emails go through, but with a 1 hour delay.

Perhaps there is a setting I'm missing. But I find it odd that normal emails honor the change while action based emails do not.

If you require any configuration or system settings please let me know.

Thanks,
Blix88
blix88
 
Posts: 4
Joined: Thu Dec 04, 2008 8:45 pm

Fixed It.

Postby blix88 » Tue Dec 09, 2008 7:18 pm

Fixed the Time Zone issue.

The system was originally setup with UTC.

When I changed the timezone, I modified /etc/localtime to link to /usr/share/zoneinfo/US/Eastern. Then I would get a delay sending action based emails.

To fix the issue I also modified /etc/sysconfig/clock from the following code.

Code: Select all
ZONE="Europe/Berlin"
UTC=true
ARC=false


And changed it to this code.

Code: Select all
ZONE="US/Eastern"
UTC=false
ARC=false


After making this change and restarting the server, the action based emails go out with no delay. Not sure why the action based emails behave differently then normal emails. But I hope this helps other people out there.

Blix88
blix88
 
Posts: 4
Joined: Thu Dec 04, 2008 8:45 pm


Return to Bugs, bug fixes & releases

Who is online

Users browsing this forum: No registered users and 1 guest