THIS IS SOLVED. I'm leaving my comments in case someone else finds them helpful.
I'm setting up a mailserver, per the (excellent) Linode Library Postfix/Dovecot/MySQL piece.
The server seems to be receiving mail for
admin@hammeringbits.net.
BUT I cannot log in to the server to get mail with Thunderbird.
I see in the logs that the query for the authorization is failing because there is no entry where email='admin'. Unsurprising, as the insertion for this user creates email to
'admin@hammeringbits.net'. (I saw this after setting auth_debug_passwords=yes in the Dovecot main configuration.) (An experiment entering the user with email at 'admin' fails, as emails _sent_ to the user are bounced as no such user.)
At a high level it seems the fix is to amend Dovecot's authorization query to search for
'admin@hammeringbits.net'. But I have no idea how to change the Dovecot configuration to achieve that.
Any help would be appreciated.