OS type and version: Ubuntu 20.04.3 Webmin version: 1.981 Usermin version: 1.823
When logging in to usermin (haven’t checked with Webmin or VIrtualmin), someusername@example.com would work but SomeUsername@example.com won’t. Shouldn’t the username field be case insensitive?
I think that’s correct behavior, but I guess I can see how one might want it to behave otherwise…but, technically, I don’t know how we’d accomplish that without forcing normalization on the names (i.e. lowercase them before saving and lowercase when comparing). That seems more surprising than case sensitivity.
To summarize: Domain names must be case insensitive, which in practice means they should always be lowercase. Usernames may or may not be case sensitive, but you have no guarantee that all mail systems will respect that case sensitivity and you almost certainly should not do it, even if your local system supports it. Odds are good you would reduce deliverability with case sensitive usernames.
My advice is just use lowercase for everything. Going back to the actual subject of this topic, Usermin could, I guess, be modified to allow case insensitivity, but my gut tell me that’ll just make people more likely to make messes for themselves.
(sorry for the RL delay )
Since an email address includes both (username and domain/host name), that’s why it’s best, and yes @Joe, your gut is informing you well.
Over time, I’ve seen all kinds of painful email network/relay rewrites out there, including conversion to all uppercase. Bleah.
Just not worth the hassle to try to support mixed case in this context.