Not an expert, but I don’t think that’s actually possible, or at least not without using an external authentication provider, because as I mentioned, SOGo redirects to the Mailcow login for authentication.
I mean, there are Cloudflare Enterprise plans that can also proxy SMTP and IMAP, in which case you could just use mail
for everything, but I’d guess those plans aren’t exactly cheap. 😉
So, not really sure, except that maybe you could just not use Cloudflare at all!? 😉
…or maybe others here have some more ideas.