Start a conversation

Resolving Time delivery mismatch for emails

Overview

While sending emails, the real-time of the sent email might be different, earlier or later, than the time displayed in Kerio Connect monitoring (System Health). It usually happens when the Kerio Connect server is joined to the Active Directory and the time is synchronized with the AD controller.

Additionally, Mail logs may report incorrect timestamps, ie. time is moved backward.

Preconditions

Kerio Connect installed on Virtual Appliance or Linux environment

SSH access to the Kerio Connect VA or server

Solution

  1. Verify time zone settings from Kerio Connect Virtual Appliance, make sure that it's set to the correct timezone.
    timezone_settings_console.png

    timezone_confirm.png
  2. If the timezone is not propagated, reconfigure the Timezone using tzdata package:
    Run dpkg-reconfigure tzdata
    tzdata_reconfigure.png
    Follow the prompts to set the correct timezone and city.
    tzdata_reconfigure2.png
  3. Verify the current date and time.
    • Run the following command: date
    • Verify if the output date and time are correct.
  4. If you notice that time from step 2 is incorrect you can set it manually by using the following command:
    date --set 21:08:00 where 21:08:00 corresponds to the time in the following format: hh:mm:ss
  5. Alternatively, you can install NTP to set the time automatically, by running the following command:
    apt-get install ntp
    Please refer to the article Debian NTP article for additional details.
  6. Because the pool is global, we would advise changing the default NTP pool.
    1. You can do this by editing the ntp.conf file using a nano text editor, run the following command in the console:
      nano /etc/ntp.conf
    2. To use local sources change the server pool.ntp.orgline to server XX.pool.ntp.org, where XX is your continent or two-letter country code, i.e. ua.pool.ntp.org
      ntp_pool.png
  7. Once the time in Linux is adjusted then please restart the virtual appliance.

Testing

After restart verify if log entries in the Kerio Connect admin panel show the correct time. Also, use date command to compare the timestamps between the host and the virtualized Kerio Connect VA.

date_match.png

Try to send a new test email as adjusting the time should correct both time in logs and email delivery time mismatch.

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted
  3. Updated

Comments