So I'm a bad planner and I want to change my Mailbox name suffix for a main virtual server

I didn't realize until recently that the login ID for subsequent users created inside a virtual server would have the ID of the master user for the domain appended to the other users. I don't know if or where I could switch that off, or where or if I could change the master users ID (Mailbox name suffix) to something better than the one I picked without foresight.

e.g. email's of iamtheadmin@domain.tld and iamnottheadmin@domain.tld

imply login's of iamtheadmin and iamnottheadmin.iamtheadmin respectively.

How do I make that better like domainabbreviation and iamnottheadmin.domainabbreviation

or just iamtheadmin and iamnottheadmin?

Status: 
Active

Comments

Howdy -- it's unfortunately not possible to change the format for existing users, though you can change it for new ones.

The format is normally "username.domain" for all email users.

That said, if the administrative username has been changed to a custom name, rather than using the domain name that it uses by default, I believe that could cause it to use the "username.adminname" that you're seeing.

Would using username@domain.tld do what you're after?

You can change that in System Settings -> Server Templates -> Default -> Mail for Domain, and there, look for the "Format for usernames that include domain" option.

You may also want to take a look at System Settings -> Virtualmin Config -> Defaults for New Domains, and there, check out the options named "Include domain name in usernames?" and "Domain name style in username".

WNYmathGuy's picture
Submitted by WNYmathGuy on Thu, 04/12/2018 - 14:32 Pro Licensee

Thanks @andreychek, you're the best! Lucky for me, I hadn't used the accounts yet for much. I noticed this after seeing how a test email looked to the recipient and seeing the login for Roundcube. I can delete those accounts and recreate them with the new settings in place.

In my case System Settings -> Server Templates -> Default -> Mail for Domain was the better choice to achieve my result.

WNYmathGuy's picture
Submitted by WNYmathGuy on Thu, 04/12/2018 - 14:50 Pro Licensee

Follow-up question on the topic of account creation, I can't get the choices I make for Character set for reply message and Minimum time between autoreplies to stick. They are in the Automatic reply options subsection of the Mail forwarding settings within the module Virtualmin -> Create User or in Virtualmin -> Edit User. All other sections seem to work fine.

I'm altering Character set for reply message to Same as original email and Minimum time between autoreplies to "1" minutes. It doesn't stick after creation and also after editing a user.

Hi,

I can't get the choices I make for Character set for reply message and Minimum time between autoreplies to stick

That happened to me to yesterday, but just one or two times then it stuck!?

//Leffe

WNYmathGuy's picture
Submitted by WNYmathGuy on Thu, 04/12/2018 - 22:27 Pro Licensee

So @Blueforce could it possibly be that you put in a block of text in the Send automatic reply field or checked the box for Yes, respond with message .. in the main Mail forwarding settings section before it finally stuck?

After seeing your post I kept retrying it, then the first save after I altered those fields it stuck.

No, i don't think so, because I always do it in this order

  • check the respond with message
  • enter my reply message in the text field
  • set the min time between auto replies
  • set the start and end date

But when I returned to the settings after seeing that the reply message had crashed our swedish characters in the "from" when received in my computer! I went back to change the character set and all settings in "Automatic reply options" was reset! Entered all the settings again and changed the character set and tested the autoreply, and the characters still was messed up when receiving the autoreply, went back again and setting was reset again... did everything all over again and this time the settings stuck.

Maybe settings still was saved even if the form fields was reset when brought up again?

//Leffe