Sorting Users and Email addresses by "Domain"


(Gabriel GHEORGHIU) #1

Hello again,

There is possibility to add one column, named “Domain”, in Management -> Email addresses and in Management -> Users?
When there are more than one Domain, it’s a good facility to sort and see users and email addresses by this criteria.

Maybe and others consider this feature useful.

Gabriel


Improve our communication
Multiple, separate domains email server
(Alessio Fattorini) #2

Imho it might be useful for “Email addresses” panel since “user” is a domain-free concept
But how do you handle multidomain entry like “joe@” ?
What do you show into the column? More than one entry?


(Stefano) #3

IMHO user@ concept is prone to problems and should be avoided


(Gabriel GHEORGHIU) #4

Hello Alessio,
Hello Stefano,

Thank you for your interest to my question.
I wish to make a correction at my post, to be more precisely: Sorting by “Domain” in Management -> Email addresses and sorting by “Company” (which can be related to “Domain”) in Management -> Users.

“I’ll be back” with some examples as soon as I will finish to write.

Best regards,
Gabriel


(Gabriel GHEORGHIU) #5

Hello again!

So, I have the following scenario:

  1. NS like standalone multi domain email server (multi domain email server only).
  2. 3 different domains (for 3 different companies): mydomain1.com (company1), mydomain2.com (company2), mydomain3.com (company3).
  3. Each company has 1 user with email accounts.

Consider NS configured for email services only.

1. Create 3 email domains in Configuration -> Email:
a. Domain: mydomain1.com; Description: Company1; Messages to this domain: Deliver locally
b. Domain: mydomain2.com; Description: Company2; Messages to this domain: Deliver locally
c. Domain: mydomain3.com; Description: Company3; Messages to this domain: Deliver locally

2. Create 1 user for each company in Management -> Users:
a. User Tab: User name: user1.ln1; First name: user1; Last name: LN1; Details Tab: Company: C1; Services Tab: Mailbox: selected; Forward messages, Custom mailbox quota, Customize spam message retention, Create default email addresses, Shared folders (Samba), Remote shell (SSH): unselected
b. User Tab: User name: user1.ln2; First name: user1; Last name: LN2; Details Tab: Company: C2; Services Tab: Mailbox: selected; Forward messages, Custom mailbox quota, Customize spam message retention, Create default email addresses, Shared folders (Samba), Remote shell (SSH): unselected
c. User Tab: User name: user1.ln3; First name: user1; Last name: LN3; Details Tab: Company: C3; Services Tab: Mailbox: selected; Forward messages, Custom mailbox quota, Customize spam message retention, Create default email addresses, Shared folders (Samba), Remote shell (SSH): unselected

In this moment, in Management -> Users there is a table like this:

User /First name /Last name Actions
user1.ln1 /user1 /LN1
user1.ln2 /user1 /LN2
user1.ln3 /user1 /LN3

Question: it’s possible to create from User DB a new column named “Company” and the table will be like this?

User /First name /Last name /Company /Actions
user1.ln1 /user1 /LN1 /C1
user1.ln2 /user1 /LN2 /C2
user1.ln3 /user1 /LN3 /C3

Now, we can sort users by Company.

3. Create email addresses for each user in Management -> Email addresses
a. Email address: user1.ln1@mydomain1.com (in DB, mydomain1 is related with C1); Description: C1; Account: user1 LN1
b. Email address: user1.ln2@mydomain2.com (in DB, mydomain2 is related with C2); Description: C2; Account: user1 LN2
a. Email address: user1.ln3@mydomain3.com (in DB, mydomain3 is related with C3); Description: C3; Account: user1 LN3

In this moment, in Management -> Email addresses there is a table like this:

Email /Account /Attributes /Actions
user1.ln1@mydomain1.com /user1.ln1
user1.ln2@mydomain2.com /user1.ln2
user1.ln3@mydomain3.com /user1.ln3

Question: it’s possible to create from DB a new column named “Domain” and the table will be like this?

Email /Account /Domain /Attributes /Actions
user1.ln1@mydomain1.com /user1.ln1 /mydomain1.com
user1.ln2@mydomain2.com /user1.ln2 /mydomain2.com
user1.ln3@mydomain3.com /user1.ln3 /mydomain3.com

Now, we can sort users/emails/account by Domain.

Thank you for your patience!

Kind regards,
Gabriel