Hi,
In this context,you can read "realm" as meaning domain. More-or-less the same concept.
I've tried using test@xxxxxxxxxxx as the username, but the "@example.org" is stripped off and only the username is passed through to saslauthd. I don't think it is a PAM issue, because the realm(domain) is not being passed through to it.
imapd.conf:
virtdomains: userid
Later this week (assuming I get the time), I'm going to blow away the vm and rebuild. Currently using Ubuntu 22.04 on ARM64, but I'll try Ubuntu 23.04 on x86_64 and see if that changes enough variables. 23.04 comes with cyrus-imap 3.8.0, too.