When using auth_default_realm in dovecot configuration to setup a default domain name (to allow users to login with only a username instead of the full e-mail address), it breaks the compatibility with imapsync and sogo/sieve vacation.
Adding a domain name to dovecot master user/pass fixes this.
This never made it do the master branch, so I'm trying a PR again :)
See: https://github.com/mailcow/mailcow-dockerized/pull/1331#issuecomment-386534307