12 Aug
2025
12 Aug
'25
5:40 p.m.
On 8/4/25 12:18, Alex via dovecot wrote:
Hi, I'm using dovecot-2.3.21 on fedora40 and have configured it to use only usernames without domain when logging in. Now apparently the new Outlook (1.2025.617.000) no longer supports the ability to change username for IMAP. Now what? We have other users who are using older versions of Outlook and Thunderbird and webmail that still support this login method. How can I support both?
Well you're already pretty much screwed using Outlook, so you will have much bigger problems than this to look forward to. However, 20+ years ago in the process of migrating away from username to username@domain logins in Dovecot, I set up a stored function in MySQL that takes care of this transparently. In the user_query and password_query configurations I query this function. It looks for the presence of '@' and applies a default domain name if it's not present.
This is in constant use here to this day, and it works great.
-Dave
-- Dave McGuire, AK4HZ New Kensington, PA