User creation

**** Nevermind found it is to work around postfix and @ in username.

When I create a user for a virtual server it creates two users, one with an @ and one with a - like so:

test@domain.com:x:1213:1007::/home01/domain.com/homes/test:/dev/null

test-domain.com:x:1213:1007::/home01/domain.com/homes/test:/dev/null

Is this normal?

Howdy,

Sounds like you figured this out!

You are correct though, Postfix doesn’t handle usernames with an ‘@’ in it, so to allow email delivery to such users, Virtualmin creates a second user with the same UID/GID, and delivers email to it. The other services handle that ‘@’ without a problem, so users in most cases won’t even realize that there is a second username being used behind the scenes.

-Eric