How to configure the time zone or calendar? (2024)

Post Reply

  • Print view

18 posts

  • 1
  • 2
  • Next
whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

How to configure the time zone or calendar?

  • Quote

Postby whk102 »

Hello, I can do so that a particular user has a specific time zone for your calendar from bash on CentOS?

From my WEB panel I entered preferences and have selected the time zone -4 but every time I want to create a new appointment tells me that zimbra could not determine the user's time zone and throws me -3 (wrong time), I select see all zones and then selecting -4, the problem is that after I schedule still appears -3.

"can not identify the time zone for your area; Please select the time zone from the list" This message appears each time entry and when I set calendar appointments -4 generated with area -3.

Top

ldiedrich
Posts: 8
Joined: Thu May 12, 2016 12:26 pm

Re: How to configure the time zone or calendar?

  • Quote

Postby ldiedrich »

I think this link could help you: https://wiki.zimbra.com/wiki/Time_Zones_in_ZCS

Top

whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: How to configure the time zone or calendar?

  • Quote

Postby whk102 »

Proof of concept: https://www.youtube.com/watch?v=K4_qbkcDmlc

Code: Select all

[zimbra@drawcoders ~]$ zmprov ga demo@drawcoders.cl | grep -i timezonezimbraPrefTimeZoneId: America/SantiagozimbraPrefUseTimeZoneListInCalendar: FALSE

I have configured time zone in /opt/zimbra/conf/timezones.ics but the calendar does not works.

Code: Select all

BEGIN:VTIMEZONETZID:America/SantiagoLAST-MODIFIED:20100501T070259ZX-ZIMBRA-TZ-PRIMARY:TRUEX-ZIMBRA-TZ-MATCH-SCORE:100X-ZIMBRA-TZ-ALIAS:(GMT-04.00) SantiagoX-ZIMBRA-TZ-ALIAS:(UTC-04.00) SantiagoX-ZIMBRA-TZ-ALIAS:Chile/ContinentalBEGIN:STANDARDTZNAME:CLTDTSTART:16010101T000000TZOFFSETTO:-0400TZOFFSETFROM:-0300RRULE:FREQ=YEARLY;WKST=MO;INTERVAL=1;BYMONTH=10;BYDAY=2SUEND:STANDARD

Code: Select all

[zimbra@drawcoders ~]$ dateWed May 18 16:29:11 CLT 2016[zimbra@drawcoders ~]$ ls -l /etc/localtimelrwxrwxrwx. 1 root root 37 Mar 26 22:46 /etc/localtime -> /usr/share/zoneinfo/Chile/Continental

Chile is -4, Argentina is -3. I need set all to -4 Chile, the mail, calendar, etc.

I read this:
http://wiki.synaptic.cl/wiki/HowTo_Como ... tablecidas
http://soporte.itlinux.cl/hc/es/article ... na-Horaria
https://wiki.zimbra.com/wiki/Time_Zones_in_ZCS
https://wiki.zimbra.com/wiki/Changing_ZCS_Time_Zones
Etc...

I have modified the timezones.ics, i have executed the tzdata, y have configured my System Operative, etc etc etc.

Top

whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: How to configure the time zone or calendar?

  • Quote

Postby whk102 »

I did a test, has captured the HTTP query when I save preferences calendar time zone and I replied:

Code: Select all

$ ncat -v --ssl 192.99.9.15 443Ncat: Version 6.40 ( http://nmap.org/ncat )Ncat: SSL connection to 192.99.9.15:443.Ncat: SHA-1 fingerprint: ...POST /service/soap/ModifyPrefsRequest HTTP/1.1Host: 192.99.9.15:443User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: en-USDNT: 1Content-Type: application/soap+xml; charset=utf-8X-Zimbra-Csrf-Token: ...Content-Length: 536Cookie: ZM_AUTH_TOKEN=...; JSESSIONID=...; ZM_TEST=trueConnection: keep-alive<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"><soap:Header><context xmlns="urn:zimbra"><userAgent xmlns="" name="ZimbraWebClient - FF46 (Linux)" version="8.6.0_GA_1153"/><session xmlns="" id="1351"/><account xmlns="" by="name">demo@drawcoders.cl</account><format xmlns="" type="js"/><csrfToken xmlns="">...</csrfToken></context></soap:Header><soap:Body><ModifyPrefsRequest xmlns="urn:zimbraAccount"><pref xmlns="" name="zimbraPrefTimeZoneId">America/Santiago</pref></ModifyPrefsRequest></soap:Body></soap:Envelope>HTTP/1.1 200 OKDate: Wed, 18 May 2016 22:05:04 GMTServer: ApacheX-Frame-Options: SAMEORIGINX-XSS-Protection: 1; mode=blockContent-Type: text/javascript; charset=utf-8Cache-Control: no-store, no-cacheVary: Accept-Encoding,User-AgentContent-Length: 198Keep-Alive: timeout=5, max=100Connection: Keep-Alive{"Header":{"context":{"session":{"id":"...","_content":"..."},"change":{"token":...},"_jsns":"urn:zimbra"}},"Body":{"ModifyPrefsResponse":{"_jsns":"urn:zimbraAccount"}},"_jsns":"urn:zimbraSoap"}

In the log /opt/zimbra/log/mailbox.log:

Code: Select all

A_1153;] soap - ModifyPrefsRequest elapsed=22016-05-18 19:02:15,206 INFO [qtp509886383-1413:https://127.0.0.1:60443/service/soap/BatchRequest] [name=demo@drawcoders.cl;mid=30;oip=...;ua=ZimbraWebClient - FF46 (Linux)/8.6.0_GA_1153;] soap - BatchRequest2016-05-18 19:02:15,206 INFO [qtp509886383-1413:https://127.0.0.1:60443/service/soap/BatchRequest] [name=demo@drawcoders.cl;mid=30;oip=...;ua=ZimbraWebClient - FF46 (Linux)/8.6.0_GA_1153;] soap - (batch) GetMailboxMetadataRequest elapsed=0

But I refresh the WEB panel and I reorders the time zone in the calendar, this means you are not keeping preferences.

It seems to be a bug Zimbra.

Top

Gren Elliot
Advanced member
How to configure the time zone or calendar? (3)
Posts: 183
Joined: Tue Jun 10, 2014 4:45 am

Re: How to configure the time zone or calendar?

  • Quote

Postby Gren Elliot »

ZWC uses the timezone of the client machine (as configured at the OS level) when creating appointments.
For some reason, that is not mapping to something Zimbra understands. What OS / version are you using? What is the timezone you have specified for the OS? Have you fully updated your client machine OS?

What version of Zimbra are you running?

Top

whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: How to configure the time zone or calendar?

  • Quote

Postby whk102 »

In the server:

Code: Select all

[root@drawcoders ~]# cat /etc/centos-releaseCentOS Linux release 7.2.1511 (Core) [root@drawcoders ~]# uname -aLinux drawcoders.cl 3.10.0-327.13.1.el7.x86_64 #1 SMP Thu Mar 31 16:04:38 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux[root@drawcoders ~]# su - zimbraÚltimo inicio de sesión:jue may 19 03:10:07 CLT 2016[zimbra@drawcoders ~]$ zmcontrol -vRelease 8.6.0_GA_1153.RHEL7_64_20141215151110 RHEL7_64 FOSS edition.[zimbra@drawcoders ~]$ ls -l /etc/localtimelrwxrwxrwx. 1 root root 37 Mar 26 22:46 /etc/localtime -> /usr/share/zoneinfo/Chile/Continental[zimbra@drawcoders ~]$ zmprov ga demo@drawcoders.cl | grep -i zimbraPrefTimeZoneIdzimbraPrefTimeZoneId: America/Santiago

In the client:

Code: Select all

whk@machine:~$ lsb_releaseDistributor ID:UbuntuDescription:Ubuntu 14.04.4 LTSRelease:14.04Codename:trustywhk@machine:~$ uname -aLinux machine 3.19.0-59-generic #66~14.04.1-Ubuntu SMP Fri May 13 17:27:10 UTC 2016 x86_64 x86_64 x86_64 GNU/Linuxwhk@machine:~$ datejue may 19 12:12:33 CLT 2016whk@machine:~$ cat /etc/timezoneAmerica/Santiago

I use Firefox 46.0.

Top

evilside
Advanced member
How to configure the time zone or calendar? (5)
Posts: 62
Joined: Sat Sep 13, 2014 3:24 am
Location: Chile
ZCS/ZD Version: zcs-8.8.15_GA_3918.UBUNTU14_64

Re: How to configure the time zone or calendar?

  • Quote

Postby evilside »

Hola

Yo soy de Chile y tuve el mismo problema, antes del último cambio de hora yo tenía a todos los equipos de mis clientes (Windows y Linux) configurados en la zona horaria Argentina -3, en Zimbra tenía también configurada la Clase de Servicio a la cual pertenecen todos con Argentina -3.

Una vez aplicados los parches de Windows y Linux que contienen la nueva zona horaria de Chile, regresé las estaciones a la zona horaria correcta Santiago -4, la zona horaria de la clase de servicio de Zimbra a -4 Sudamerica Región del Pacifico. Con esa configuración a todos les funciona bien el calendario.

El error que describes me ocurrió con un usuario que había ajustado manualmente su zona horaria en Argentina -3 y por lo tanto no se cambió automáticamente por lo iniciado en la clase de servicio. Sólo tuve que ajustar en sus preferencias que usara la zona horaria de la clase de servicio y problema resuelto.

Espero te sirva, saludos.

Top

whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: How to configure the time zone or calendar?

  • Quote

Postby whk102 »

Hola compadre, no sabes el parto que es tener que usar el traductor de google para que me entiendan a medias xD

En el zimbra que tengo tengo configurado por defecto la zona horaria de pacifico (que según zimbra es el alias de la zona horaria de America/Santiago), el tema es que hice dos cuentas de correo y desde una me hago la invitación a traves de la agenda y m,e llega con la zona -3 y mas de encima dice argentina y en ambas cuentas tengo configurada la zona horaria del pacifico... entonces, es un bug de zimbra? o es que algo hice mal?

De todas maneras zimbra no es muy amigable con el manejo de los cambios de zona, debieran tener un panel donde indiquen qe zona usará la gente en el correo y en la agenda, yo logré desde el teminal configurar todas las cuentas a zona horaria de santiago pero ni aun asi me funciona.

No creo que sea un tema de zona horaria, yo creo que es un problema de que zimbra no está guardando las preferencias de zona horaria ya que cada ves que hago click en la agenda me pide seleccionar la zona horaria y a pesar de que despues me dice "guardado" cuando refresco la pagina web y vuelvo a clickear la agenda me vuelve a pedir mi zona horaria.

Yo creo que esto es un bug del front end, pero si fuera así me extraña que a ti te haya funcionado xD realmente esto de administrar un servidor de correos es para osados, a pesar de que he resuelto todos los problemas que he tenido en el camino hay muchas cosas como estas donde uno replantea seriamente la necesidad de tener un servicio propio.

Top

evilside
Advanced member
How to configure the time zone or calendar? (7)
Posts: 62
Joined: Sat Sep 13, 2014 3:24 am
Location: Chile
ZCS/ZD Version: zcs-8.8.15_GA_3918.UBUNTU14_64

Re: How to configure the time zone or calendar?

  • Quote

Postby evilside »

Bueno como más o menos describí antes, en mi caso funciona cuando el usuario tiene configurada la zona horaria Sudamérica Región del Pacifico en sus preferencias de Zimbra y a la vez en su computador tiene configurada la zona horaria de Santiago. Si estas dos difieren Zimbra pregunta la zona horaria al crear las citas porqué no sabe cual usar.

La zona horaria u hora del servidor donde se ejecuta Zimbra no influye ya que todo se guarda todo en tiempo universal, las horas que se ven en mensajes y calendario dependen de la zona horaria del usuario.

Se me ocurre que tal vez no tienes actualizado el sistema operativo o navegador desde donde ingresas a Zimbra, más específicamente tener instalado el parche KB3153731 en el caso de Windows y el paquete tzdata v2016d en el caso de Linux. Teniendo eso actualizado a mi me funciona con estas versiones de Zimbra y Navegadores:

Zimbra 8.5.1_GA_3056 y Zimbra 8.0.8_GA_6184
Chrome/Chromium/Iron 50.0.2661.94
Firefox 46.0.1

Top

whk102
Posts: 20
Joined: Thu May 05, 2016 11:47 am

Re: How to configure the time zone or calendar?

  • Quote

Postby whk102 »

Hola, no creo que me sirva ese parche porque uso Linux en el pc y en mi empresa por temas de seguridad todos usan distribuciones de gnu/linux, pero de todas maneras si la hora la saca del pc del cliente entonces no debiera influir el sistema operativo sino el navegador web. Trataré de averiguar que función es la que está determinando la zona horaria del navegador, talves están usando algo no estandar, quien sabe, el tema es que funciona mal.

Top

Post Reply

  • Print view

18 posts

  • 1
  • 2
  • Next

Return to “Administrators”

Jump to

  • Zimbra Collaboration Server
  • ↳ Administrators
  • ↳ Installation and Upgrade
  • ↳ Migration
  • ↳ Virtualization
  • ↳ Developers
  • ↳ Zimlets
  • ↳ Users
  • ↳ Zimbra Connector for Outlook
  • ↳ Zimbra Connector for Blackberry
  • ↳ CalDAV / CardDAV / iSync
  • ↳ Zimbra Collaboration 8.8 Beta
  • ↳ Mobility
  • ↳ Zimbra Talk
  • ↳ Universal UI
  • ↳ Zimbra Chat
  • ↳ Zimbra Drive
  • Zimbra Suite Plus
  • ↳ Installation and Upgrade
  • ↳ Zimbra Admin Plus
  • ↳ Zimbra Backup Plus
  • ↳ Zimbra HSM Plus
  • ↳ Zimbra Mobile Plus
  • Zimbra Desktop
  • ↳ General Questions
  • ↳ Error Reports
  • ↳ Installation Help
  • ↳ Zimbra Desktop Beta/RC
  • General Zimbra
  • ↳ General Zimbra Feedback
  • ↳ Announcements
  • ↳ Community News
  • ↳ Zimbra Success Stories
  • Portability
  • ↳ BSD
  • Other
  • ↳ /etc
  • ↳ International
  • ↳ I18N/L10N - Translations
  • ↳ Русский язык-фор
  • ↳ French
  • ↳ Italian
  • ↳ German
  • ↳ Spanish
  • ↳ Scandinavian
  • ↳ Portuguese
How to configure the time zone or calendar? (2024)
Top Articles
Latest Posts
Article information

Author: Barbera Armstrong

Last Updated:

Views: 6579

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Barbera Armstrong

Birthday: 1992-09-12

Address: Suite 993 99852 Daugherty Causeway, Ritchiehaven, VT 49630

Phone: +5026838435397

Job: National Engineer

Hobby: Listening to music, Board games, Photography, Ice skating, LARPing, Kite flying, Rugby

Introduction: My name is Barbera Armstrong, I am a lovely, delightful, cooperative, funny, enchanting, vivacious, tender person who loves writing and wants to share my knowledge and understanding with you.