I just created a new mailbox with a catchall alias and connected my phone via Activesync to it (never logged into SOGo).
I then got a mail (to the catchall) that has been marked as spam (saw it in rspamd logs) and it was now showing in the spam folder on my phone.
Then I logged into SOGo and there was also no number next to the spam folder.
So I still went into the spam folder the mail was there.
After clicking at the Spam shortcut in SOGo there was showing 1 (new message) next to Spam shortcut.
Now the mail is also showing on the phone…?
Is this expected?