wrong "From" domain

Hi Jamie,
i found a little bug in usermin. When i login to my mail account for example:
martin@domainone.de in usermin

i could log in with martin.domainone oder with martin@domainone.de

when i log in to martin@domainone.de for the first time and go to read mail, the system wants to have another login for me for the imap server. Then i have to login with martin.domainone and the password and everything is fine. Why is that so?

Another bug: when you click on Compose and you are logged in over https://domaintwo:20000 and NOT with https://domainone:20000, as it SHOULD be and you used mailuser@domainone.de, then the "From" placeholder contains the wrong domain. When you log in with mailuser.domainone at https://domaintwo:20000 everythin is fine, but before you have to change Webmin > Usermin Module Configuration > Read Mail > Default hostname for From: addresses > 'From real hostname' TO 'From URL' otherwise it always shows only the servers domain for example server1.domain.de behind the @.
Ok actually this is not a bug as the users usually don't know the other domains the server is hosting and only use the login the administrator tells them. It's just another small step to the flawless hosting software ;)

Status: 
Closed (fixed)