Koozali.org: home of the SME Server

Multiple virtual domain question

Librarian

Multiple virtual domain question
« on: September 28, 2006, 09:19:22 AM »
Hi there

I have successfully added a couple of virtual domains on my test SME server. But now I want to move selected users to selected domains.

For the sake of clarity, the following will apply :

Three domains have been created - domain1.com, domain2.com and domain3.com

Each domain have 3 users, a total of 9 users.

For the first domain, the email adresses is correct, viz user1@domain1.com, user2@domain1.com and user3@domain1.com

However, the snafu arrives when wanting to assign domain2 to user4, user5, user6 and domain3 to user7, user8 and user 9 - these default to user4@domain1.com and not user4@domain2.com

One can force these to reflect correctly by the use of pseudonyms and(in Horde) the creation of a new identity and the deletion of the old identity, so it will be user4@domain2.com and user8@domain3.com - but, however, this is a bit of a time waster.

Isn't there any other way with which you can assign the correct user to the correct domain, so that they will look like this :

user1@domain1.com
user2@domain1.com
user3@domain1.com
user4@domain2.com
user5@domain2.com
user6@domain2.com
user7@domain3.com
user8@domain3.com
user9@domain3.com


Because if you don't do this, and just keeps on adding users, they all will default to the following :

user1@domain1.com
user2@domain1.com
user3@domain1.com
user4@domain1.com
user5@domain1.com
user6@domain1.com
user7@domain1.com
user8@domain1.com
user9@domain1.com


Yes, it is for a small startup ISP which will host more than one web site. For now we will be using no more than two domains, but may host more than two domains one day.

Another question : To enable quotas you have to do this on an user-by-user basis - isn't there a way to assign a default to a group of users?

I have introduced a couple of people to SME, and they're impressed with it.

Regards

Libs

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Multiple virtual domain question
« Reply #1 on: September 28, 2006, 01:11:15 PM »
Librarian

> One can force these to reflect correctly by the use of pseudonyms and
> (in Horde) the creation of a new identity and the deletion of the old
> identity, so it will be user4@domain2.com and user8@domain3.com -
> but, however, this is a bit of a time waster.

That is how it is done in sme.


> Yes, it is for a small startup ISP which will host more than one web site.

sme's default design does not suit that type of usage as there is only one common user set, and only one admin.
...

Librarian

Re: Multiple virtual domain question
« Reply #2 on: September 28, 2006, 02:51:30 PM »
Quote from: "RayMitchell"
Librarian

> One can force these to reflect correctly by the use of pseudonyms and
> (in Horde) the creation of a new identity and the deletion of the old
> identity, so it will be user4@domain2.com and user8@domain3.com -
> but, however, this is a bit of a time waster.

That is how it is done in sme.


Ah well, then they'll have to do it that way then - but at least they'll be able to verify that that specific email account login is working... :D

Quote

> Yes, it is for a small startup ISP which will host more than one web site.

sme's default design does not suit that type of usage as there is only one common user set, and only one admin.


What else do you recommend then if it is not suited to this task?

Thanks for the replies

Libs

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Multiple virtual domain question
« Reply #3 on: September 30, 2006, 04:39:55 PM »
For a *really* small ISP, you could use SME as follows:

1. Make the "primary" domain imaginary (e.g. myisp.local).
2. Create all of your "real" domains as virtual domains (e.g. realdom.net, cust1.com)
3. Create all user accounts including a domain specifier:
- realdom.user1
- realdom.user2
- cust1.user1
- cust1.user2
4. Now use the "pseudonym" panel to create the appropriate pseudonyms:
- realdom.user1 => user1@realdom.net
- realdom.user2 => user2@realdom.net
- cust1.user1 => user1@cust1.com
- cust1.user2 => user2@cust1.com

Pop3, IMAP, webmail login uses "realdom.user1", "cust1.user1", etc.

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Multiple virtual domain question
« Reply #4 on: October 01, 2006, 01:35:10 AM »
Librarian

> Yes, it is for a small startup ISP which will host more than one web site.
> sme's default design does not suit that type of usage as there is only
> one common user set, and only one admin.
> What else do you recommend then if it is not suited to this task?

I didn't mean sme couldn't be used, but depending on what you wanted to do, it may be more or less convenient (& therefore practical to use).
See this thread re email setup for multiple domains which I think will be informative to you

http://forums.contribs.org/index.php?topic=33864.msg145663#msg145663
...

Offline raem

  • *
  • 3,972
  • +4/-0
Multiple virtual domain question
« Reply #5 on: October 01, 2006, 01:52:26 AM »
mmccarn

> 1. Make the "primary" domain imaginary (e.g. myisp.local).
> 2. Create all of your "real" domains as virtual domains (e.g. realdom.net, cust1.com)
> Pop3, IMAP, webmail login uses "realdom.user1", "cust1.user1", etc.

As I see it, in Webmail. that still does not resolve the need to manually change the profile and return email address for each user, or they will get the fake primary domain return email address as default ie realdom.user1@myisp.local etc etc.

I suppose at least that default return address won't work as it has not been published and therefore it will force users to edit their profile.
They could be cranky though the first time around, when they don't get email sent back to them because they didn't know or forgot to edit the profile.
...