mail user name in postfix

7 posts / 0 new
Last post
#1 Mon, 03/09/2009 - 17:21
alanoarraes

mail user name in postfix

Hi,

I created a virtual server and I notice that the user are been created as user.domain@domain.com. Is it possible to have the users created without this sufix (.domain) or is this the virtualmin way to work?

Thanks in advance for your help,

Alano

Tue, 03/10/2009 - 13:33
alanoarraes

Hi Eric,

in that case of joe@xpto1.com and joe@xpto2.com, when they access the email with outlook express or the ftp site, they have to entry with the complete user name (joe.xpto1, joe.xpto2) or only joe?

Is it possible have only virtual user for the virtual server or at least for postfix?

Thank in advance,

Alano

Tue, 03/10/2009 - 15:05 (Reply to #2)
Joe
Joe's picture

<div class='quote'>they have to entry with the complete user name (joe.xpto1, joe.xpto2) or only joe?</div>

They need to enter the full user name. Always, no matter what client. (Actually, Usermin can manufacture the full username from the domain name and the first part of the name, but that's not relevant to discussions about any other clients.)

The name is listed on the Virtualmin Edit Mail/FTP Users page. By default, it'll be of the form joe.virtualmin (for joe in the domain virtualmin.com), but this is wholly configurable.

--

Check out the forum guidelines!

Tue, 03/10/2009 - 16:04 (Reply to #3)
alanoarraes

Thank you Joe and Eric for your help

Mon, 03/09/2009 - 17:30
andreychek

Hi Alano,

There's two areas you may want to tweak for that:

1. In System Settings -&gt; Server Templates -&gt; Default Settings -&gt; Mail for Domain -- and from there you can change &quot;Format for usernames that include domain&quot;.

2. System Settings -&gt; Module Config -&gt; Defaults for New Domains -- there's several options in there that may be of interest.

Mon, 03/09/2009 - 19:11 (Reply to #5)
alanoarraes

Hi Andrey,

thank you for your answer.

Let me check if I understand, all user created for a domain have to combine user name plus domain name in one of those formats offered by Virtualmin to avoid a clash..Is it correct?

In Virtualmin, it is not possible to have two user with the same name for two distinct domain, for example: for a domain xpto1.com I would have a user name joe@xpto1.com and for a domain xpto2.com I could have another user with the same name: joe@xpto2.com. Is it correct?

Thank you,

Alano

Mon, 03/09/2009 - 19:21 (Reply to #6)
andreychek

Hi Alano,

That is correct -- users are all added to /etc/passwd, and no two users can have the same name.

But you can have joe@xpto1.com and joe@xpto2.com, that is no problem -- those are two completely different users.

Have a good one!
-Eric

Topic locked