User creation

2 posts / 0 new
Last post
#1 Wed, 02/17/2016 - 09:16
daves

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?

Wed, 02/17/2016 - 12:19
andreychek

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

Topic locked