Author Topic: Email sync doesn't work on email clients after update  (Read 690 times)

Booola

  • Zen Apprentice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Email sync doesn't work on email clients after update
« on: February 25, 2022, 07:30:40 pm »
Hi Folks,
I did update on my "production" home Zentyal server 7.0.4 (Ubuntu server 20.04LTS on KVM host Ubuntu server 20.04LTS), below packages:

Quote
2022-02-24 11:27:50 upgrade motd-news-config:all 11ubuntu5.4 11ubuntu5.5
2022-02-24 11:27:50 upgrade base-files:amd64 11ubuntu5.4 11ubuntu5.5
2022-02-24 11:27:52 upgrade ubuntu-advantage-tools:amd64 27.5~20.04.1 27.6~20.04.1
2022-02-24 11:27:52 upgrade libdrm-common:all 2.4.105-3~20.04.2 2.4.107-8ubuntu1~20.04.1
2022-02-24 11:27:52 upgrade libdrm2:amd64 2.4.105-3~20.04.2 2.4.107-8ubuntu1~20.04.1
2022-02-24 11:27:52 upgrade python-apt-common:all 2.0.0ubuntu0.20.04.6 2.0.0ubuntu0.20.04.7
2022-02-24 11:27:52 upgrade ubuntu-release-upgrader-core:all 1:20.04.36 1:20.04.37
2022-02-24 11:27:52 upgrade python3-distupgrade:all 1:20.04.36 1:20.04.37
2022-02-24 11:27:53 upgrade initramfs-tools:all 0.136ubuntu6.6 0.136ubuntu6.7
2022-02-24 11:27:53 upgrade initramfs-tools-core:all 0.136ubuntu6.6 0.136ubuntu6.7
2022-02-24 11:27:53 upgrade initramfs-tools-bin:amd64 0.136ubuntu6.6 0.136ubuntu6.7
2022-02-24 11:27:53 upgrade linux-firmware:all 1.187.25 1.187.26
2022-02-24 11:30:32 upgrade snapd:amd64 2.54.3+20.04.1ubuntu0.1 2.54.3+20.04.1ubuntu0.2
2022-02-24 11:57:02 upgrade python3-apt:amd64 2.0.0ubuntu0.20.04.6 2.0.0ubuntu0.20.04.7

and the server stoped to sync with all the email clients (Android devices, Outlook, Win10 mail client), also when I create a new mail account on a device it won't start synchronize. I use ActiveSync on all the clients and email boxes are very small.
There is no error in /var/log/mail.log or syslog, just lots of this kind of records (much more then usually - many sync attempts per second):

Quote
Feb 25 11:37:38 mailserver dovecot: imap(info@email.com)<23541><cHKZSdXY0Mx/AAAB>: Logged out in=235 out=3440 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 25 11:37:38 mailserver dovecot: imap-login: Login: user=<info@email.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=23543, secured, session=<SuygSdXY1Mx/AAAB>
Feb 25 11:37:38 mailserver dovecot: imap(info@email.com)<23543><SuygSdXY1Mx/AAAB>: Logged out in=235 out=3440 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 25 11:37:39 mailserver dovecot: imap-login: Login: user=<info@email.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=23545, secured, session=<zKWoSdXY2Mx/AAAB>
Feb 25 11:37:39 mailserver dovecot: imap(info@email.com)<23545><zKWoSdXY2Mx/AAAB>: Logged out in=235 out=3432 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 25 11:37:39 mailserver dovecot: imap-login: Login: user=<info@email.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=23549, secured, session=<x8CtSdXY3Mx/AAAB>
Feb 25 11:37:39 mailserver dovecot: imap(info@email.com)<23549><x8CtSdXY3Mx/AAAB>: Logged out in=235 out=3432 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 25 11:37:39 mailserver dovecot: imap-login: Login: user=<info@email.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=23552, secured, session=<k2S1SdXY4Mx/AAAB>
Feb 25 11:37:39 mailserver dovecot: imap(info@email.com)<23552><k2S1SdXY4Mx/AAAB>: Logged out in=206 out=2923 deleted=0 expunged=0 trashed=0 hdr_count=0 hdr_bytes=0 body_count=0 body_bytes=0
Feb 25 11:37:40 mailserver dovecot: imap-login: Login: user=<info@email.com>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=23554, secured, session=<LCS9SdXY5Mx/AAAB>

A newly recieved emails are normally available in SOGo Webmail but email clients try to sync without success.
All suggestions are appreciated.
Thank you,
JB

mkugler

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Email sync doesn't work on email clients after update
« Reply #1 on: February 26, 2022, 11:56:51 am »
Hello, I have the same problem, but with version 6.1 Commercial Version of Zentyal after the update. I would like to switch to CardDAV for contacts and email, calendar works with CalDav (I have these problems only with IOS under MACOS everything works correctly), but here I always get an SSL error and get nowhere here. How must the Zentyal server be set up correctly, is there a tutorial for this. I have unfortunately found nothing. Or can you undo the update, so that ActiveSync works again.

Thanks MK

mkugler

  • Zen Apprentice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: Email sync doesn't work on email clients after update
« Reply #2 on: February 27, 2022, 09:30:24 am »
Hello under Email and Groupware / Sogo xml parse error is stored the solution for the problem. Thank you very much for the help, attached is the workaround to get ActiveSync working correctly again.

zs sogo stop
zs mail stop
wget http://us.archive.ubuntu.com/ubuntu/pool/main/e/expat/libexpat1_2.2.9-1build1_amd64.deb
dpkg -i libexpat1_2.2.9-1build1_amd64.deb
zs mail start
zs sogo start

MK

Kiszuglo

  • Zen Apprentice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Email sync doesn't work on email clients after update
« Reply #3 on: March 04, 2022, 08:49:27 pm »
Many thanks. The method works!