1 (edited by mike175de 2023-08-07 18:21:02)

Topic: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release):  1.6.4 - latest
- Deployed with iRedMail Easy or the downloadable installer? installer
- Linux/BSD distribution name and version:  Debian 12
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): MySQL
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hey there,

after I upgraded from Buster to Bookworm yesterday everything was working with Sogo.
But today in the morning I checked all the automatic iRedMail-Messages and find that Sogo was deinstalled, removed. I don't know how, but Sogo isn't there anymore. Maybe because of the cron-backups?

When I try to reinstall Sogo i recieve the following error:

apt install sogo
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
sogo : Depends: libgnustep-base1.27 (>= 1.27.0) but it is not installable
        Depends: libsbjson2.3 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-appserver4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-core4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-gdl1-4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-ldap4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-mime4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: libsope-xml4.9 (>= 4.9.r1664.20230705) but it is not going to be installed
        Depends: sope4.9-libxmlsaxdriver but it is not going to be installed
        Depends: sope4.9-db-connector
E: Unable to correct problems, you have held broken packages.


The apt source list of Sogo ist still only for Buster and the buglist of Sogo mentiones no Bookworm source list yet. Other than in the compatibility list of iRedMail.

Any one with the same problems? And with some hints?

Greets, mike

----

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

2

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

mike175de wrote:

Sogo was deinstalled, removed. I don't know how

OS upgrade will disable third-party apt repos.

mike175de wrote:

The apt source list of Sogo ist still only for Buster and the buglist of Sogo mentiones no Bookworm source list yet. Other than in the compatibility list of iRedMail.

SOGo team doesn't build (nightly) packages for Debian 12 (bookworm) yet:
https://packages.sogo.nu/nightly/5/debian/dists/

Fire a bug report to push SOGo team to build for Debian 12:
https://bugs.sogo.nu

3

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

Thanks.

There is a report already opened:

https://bugs.sogo.nu/view.php?id=5787

For those who are looking forward for a Debian 12 support as well.

Greets

4

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

FYI

Debian 12 is now available in nightly package
sudo tee /etc/apt/sources.list.d/SOGo.list <<EOF
deb https://packages.sogo.nu/nightly/5/debian/ bookworm bookworm
EOF

5 (edited by mike175de 2023-08-03 19:49:27)

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

After reinstalling Sogo I am able to use Sogo via the WebGUI.

But the syncronisation with ActiveSync (Thunderbird with TBSync and also Android phone) is not working. It throws:

Aug 03 10:00:55 sogod [256641]: |SOGo| request took 0.012200 seconds to execute
Aug 03 10:00:55 sogod [256641]: mbox.mail.de "OPTIONS /SOGo/Microsoft-Server-ActiveSync HTTP/1.0" 200 0/0 0.015 - - 1M - 12
Aug 03 10:00:55 sogod [256641]: |SOGo| starting method 'POST' on uri '/SOGo/Microsoft-Server-ActiveSync?Cmd=Settings&User=xx%40xx.net&DeviceType=TbSync&DeviceId=MZTB5c64f798fb285b3a915f7121a9e4'
Aug 03 10:00:55 sogod [256641]: |SOGo| request took 0.001142 seconds to execute
Aug 03 10:00:55 sogod [256641]: mbox.mail.de "POST /SOGo/Microsoft-Server-ActiveSync?Cmd=Settings&User=xx%40xx.net&DeviceType=TbSync&DeviceId=MZTB5c64f798fb285b3a915f7121a9e4 HTTP/1.0" 200 0/108 0.002 - - 0 - 12
Aug 03 10:00:57 sogod [256641]: |SOGo| starting method 'POST' on uri '/SOGo/Microsoft-Server-ActiveSync?jRIJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA=='
Aug 03 10:00:57 sogod [256641]: |SOGo| request took 0.001181 seconds to execute
Aug 03 10:00:57 sogod [256641]: mbox.mail.de "POST /SOGo/Microsoft-Server-ActiveSync?jRIJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA== HTTP/1.0" 200 0/1089 0.003 - - 0 - 12
Aug 03 10:01:04 sogod [256641]: |SOGo| starting method 'POST' on uri '/SOGo/Microsoft-Server-ActiveSync?jQAJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA=='
Aug 03 10:01:04 sogod [256641]: |SOGo| request took 0.001351 seconds to execute
Aug 03 10:01:04 sogod [256641]: mbox.mail.de "POST /SOGo/Microsoft-Server-ActiveSync?jQAJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA== HTTP/1.0" 200 0/120 0.003 - - 0 - 12
Aug 03 10:01:05 sogod [256641]: |SOGo| starting method 'POST' on uri '/SOGo/Microsoft-Server-ActiveSync?jRIJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA=='
Aug 03 10:01:05 sogod [256641]: |SOGo| request took 0.000918 seconds to execute
Aug 03 10:01:05 sogod [256641]: mbox.mail.de "POST /SOGo/Microsoft-Server-ActiveSync?jRIJBBBOaW5lMzdFODUwNDI5RkYyBAAAAAAHQW5kcm9pZAcBAA== HTTP/1.0" 200 0/1089 0.002 - - 0 - 12

Seems like Nginx returns an 200 message that everything is ok. But when I put the post-url of the tbsync request into the browser I receive a redirect error and there are a lot of "view" attached into the url: SOGo/Microsoft-Server-ActiveSync/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view/view?Cmd=Settings&DeviceId=

I use the subdomain-template for Sogo that was working in Debian 11 like a charm. But also the Sogo-maindomain-template (mail.de/SOGo) throws the same error.

Any hints on that? Maybe a Nginx problem?

Greets

6 (edited by mike175de 2023-08-03 20:08:34)

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

After some digging (on the server via tunnel):

Calling http://127.0.0.1:20000/SOGo/Microsoft-Server-ActiveSync gives me

Status 302
Moved Temporarily
Version HTTP/1

What matches the error messages within Tbsync in Thunderbird that says "unexpected empty reply from server".

I'm confused...


EDIT: I posted also a bug report: https://bugs.sogo.nu/view.php?id=5835

7

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

Push: No one else having the same problems?

Greets

8 (edited by mike175de 2023-08-07 18:20:48)

Re: [CLOSED] Sogo in Bookworm available, but ActiveSync not working

For those running into the same issue:

1. backup your sogo.config (/etc/sogo/sogo.conf)
2. apt purge sogo sogo-activesync
3. apt install sogo sogo-activesync
4. service sogo stop
5. overwrite sogo.conf with your backup (1.)
6. service start sogo

After all there was a file missing in the repo so that the installation wasn't completed. The sogo guys at sogo.nu added the missing file today and sogo should run on Debian 12 again.

Greets mike