A plugin for Roundcube that just strips the domain part from usernames when they log in