Renaming a virtual server's administration group - how to?

Title says it all. :) While renaming the administration user of a domain is no problem, I could not find where to rename the administration group (which upon creation is set to the administration username, or the "custom group" if entered).

Status: 
Closed (fixed)

Comments

You can change the group on the "Change Domain Name" page - if you select a different username and also set "Change mailbox name suffix?" to "Automatically chosen", the group will be updated to match the username.

Yep that worked, thanks Jamie!

You may feel free to consider this a feature request then, to change that term "mailbox name suffix" to something that better indicates that the group name is involved.

Also, I think there is some inconsistency involved there. The mailbox suffix of existing mailbox names is not changed when I enter "Automatically chosen" or a custom name there. All that happens is that the administrative group is modified - set to the admin username (even if I enter a custom text).

Can you figure this one out quickly, or should I open up a bug report with more detail about my test?

Thanks - I'll fix all those up in the 3.86 release.

Automatically closed -- issue fixed for 2 weeks with no activity.

Some follow-up:

The text line was changed correctly.

The other issue though is still active -- at least if I did not understand something incorrectly there:

The mailbox suffix of existing mailbox names is not changed when I enter "Automatically chosen" or a custom name there.

Nor is the suffix of new email accounts that I create after using the "Rename" feature changed. It is still the same suffix as before.

Some details... I have this configured:

Include domain name in usernames? Always
Domain name style in username: Full domain name
Format for usernames that include domain: username@domain

The email suffix before the Rename therefore is "example.com", resulting in a username "user1@example.com".

I then rename the group/suffix to "example". The existing user "user1" is not changed, and still has username "user1@example.com". Creating a new user also yields "user2@example.com" as username instead of the expected "user2@example".

I think this is actually expected - if mailbox usernames are in username@domain.com format, the suffix isn't actually used at all, and so changing it won't rename existing users. The rules for this are so complex that it is hard for me to remember the intended behavior in Virtualmin, even though I wrote it :-)

Is your aim here to move away from user@domain.com mailbox names to user@domain ? The latter format doesn't really make sense ..

LOL, well may I suggest to re-inspect those rules and make some document about it? How are your users supposed to correctly apply a feasible configuration if the coders even have no clue? ;-)

E.g.: What exactly is the "suffix" in that regard? In what cases is it used? How do I set it initially? Is it the "Format for usernames that include domain" option in the template?

As for "formats not making sense": you're quite right, and nope, I wasn't going for any "aim" with that "domain.com -> domain" thing, that was just a test and example to try out the renaming feature. :)

So the suffix only applies when you have a domain like example.com and users are named like bob-example .. in this case example is the suffix.

If you were to rename this domain to foo.com , the suffix would change to foo and all users are renamed depending on the "Rename mail / FTP users too?" option on the rename form.

In the case where usernames are in name@domain.com format, they will only be renamed if the domain name changes. I will update the fields / help on that page to make this clearer..

Okidoki! Got it, and this matches with some tests I did earlier today.