Hello again!
So, I have the following scenario:
- NS like standalone multi domain email server (multi domain email server only).
- 3 different domains (for 3 different companies): mydomain1.com (company1), mydomain2.com (company2), mydomain3.com (company3).
- 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