CommuniGate Pro
Version 6.3
 

Objects

Each CommuniGate Pro Server has a hierarchy of objects it serves:
  • on the topmost level there is a set of Domains
  • each Domain contains Accounts, Groups, Mailing Lists, Aliases, Forwarders and Named Tasks
  • Each Account contains one or several Mailboxes
  • Each Mailbox contains some number of messages

Besides these basic objects, CommuniGate Pro supports supplementary objects: Accounts can contain File Storage and Preference Data, Domains can contain Certificates, WebUser Skin files, Real-Time Applications, etc.



Domains

Domains are the CommuniGate Pro objects that contain other objects: Accounts, Mailing Lists, Groups, Aliases, Forwarders and Named Tasks. Each Domain has a domain name (client.com, www.company1.com, etc.):

Object Schema

While each CommuniGate Pro Domain has its domain name, it is not necessary to create a separate CommuniGate Pro Domain for each domain name you want to serve. CommuniGate Pro Domains can have Domain Aliases: they allow you to assign several names to the same CommuniGate Pro Domain. For example, the CommuniGate Pro Domain company.com may have a Domain Alias mail.company.com. In this case all references to the domain name mail.company.com will be processed as references to the company.com CommuniGate Pro Domain.

There is a special CommuniGate Pro Domain, called the Main Domain. Other CommuniGate Pro Domains are called secondary domains. The Main Domain is created as soon as the Server is installed, and its name is specified in the General Settings. If your Server should serve only one Domain, the Main Domain is all you need and there is no need to create secondary domains. The Main Domain name is used as the Server Name.

Each CommuniGate Pro Domain has its own settings and a set of Domain Objects.

See the Domains section for more information about CommuniGate Pro Domains.


Domain Objects

Each Domain has its own, independent set of Objects: Accounts, Groups, Forwarders, Aliases, Mailing Lists, Named Tasks. Each Object should have a name that is unique within the Domain. Different Objects in different Domains can have the same names.

Object names are case-insensitive. Object names can contain Latin letters, digits, the underscore (_), the minus (-), and the point (.) symbols. The point symbol cannot be used as the first or the last symbol of an Object name.

Object names should not contain more than 128 symbols.

Use the WebAdmin Interface to view Domain Objects. Open the Users realm, and follow the link for the selected Domain.
To open the Domain object list, you should have the All Domains access right or a Domain Administrator right for this Domain.

If you are a Domain Administrator, then the list of Objects in your Domain appears on the main Domain Administration page.

Filter:
Accounts (2 of 345) Account Details Forwarders (1 of 10) Aliases (0 of 5) Mailing Lists (1 of 1)
Object Type  
lsmithMultiMailbox2
smith-LGroup15
supportMailing List18
susanForwardersusan@otherdomain.dom
xsmithText Mailbox34K20:34:56[10.0.8.195]1
x.smithAliasxsmith

To select Objects by name, enter a string into the Filter field, and click the Display button: only the Objects with names containing the specified string will be displayed.

The pop-up menu allows you to limit the number of Objects to be displayed.

The checkbox options specify the type of Objects you want to display: Account, Groups, Forwarders, Aliases. The information will include the selected and total number of those Objects in the Domain.

Each line in the list contains an Object name and its type.

  • If the Object is an Account, the Account type is displayed.
    If the Account Details option is selected, the line displays the information about:
    • the Mail storage used with this Account
    • the last time when the Account was opened and the network address from which it was accessed
    • the current number of real-time Devices registered with this Account
    This Account Details retrieval operation is resource-consuming: do not use it if you want to display a lot of Accounts on one page.
  • If the Object is an Alias, the real Account name is displayed.
  • If the Object is a Forwarder, the forwarding address is displayed.
  • If the Object is a Group, the number of Group members is displayed.
  • If the Object is a Mailing List, the number of List subscribes is displayed, but only if at least one List distribution has been performed.

Accounts

An Account is the basic service unit: every user served with a CommuniGate Pro Server should have an Account in one of the Server Domains.

Each Account is protected with a password, so only the Account owner (and, optionally, System and Domain Administrators) can have unrestricted access to Account data.

When the CommuniGate Pro Server is installed, the postmaster Account is automatically created in the Main Domain.
The Master (unlimited) access right is granted to that Account.

Account E-mail and Signal address is

accountname@domainname
where accountname is a name of a CommuniGate Pro Account, and domainname is the name of the CommuniGate Pro Domain in which this Account is created.

Messages directed to an Account address are delivered to the Account using the Local Delivery module.

Signals directed to an Account address are delivered using the Signal component.

An administrator can create Account Aliases to assign multiple names to one Account.

Each CommuniGate Pro Account has its own settings and Storage for the Account Mailboxes, files, and other data.

See the Accounts section for more information about CommuniGate Pro Accounts.


Groups

CommuniGate Pro Domains can contain Groups. Groups are essentially lists of Account names and/or other groups and sending a message to a group results in sending it to all group members.

See the Groups section for more information about CommuniGate Pro groups.


Forwarders

CommuniGate Pro Domains can contain Forwarders. Each Forwarder has a name and contains an E-mail address for redirection. If mail is sent to name@domain.com where name is a Forwarder object in the domain.com CommuniGate Pro Domain, then mail is re-routed to the E-mail address specified in that Forwarder object.

Group and Forwarder Objects are different:

  • a Forwarder can contain only one address, while a group can contain several addresses;
  • a Forwarder works on the Router level, substituting its own address with the specified address, while a group object actually processes a message sent to the group and generates a new message copy to be sent to the group members.

See the Forwarders section for more information about CommuniGate Pro Forwarders.


Account Aliases

An Account Alias is an alternative name assigned to a CommuniGate Pro Account. Each Account can have zero, one, or several Account Aliases.

For example, the Account j.smith in the domain2.com Domain can have aliases smith and jsmith. Mail sent to the smith@domain2.com address will be stored in the j.smith Account, and attempts to login as jsmith@domain2.com will open the same j.smith Account.

You can use Forwarders to assign alternative name for Accounts, too. If you create the Forwarder js in the domain2.com Domain, and make it point to the j.smith address, it will work as yet another alias for the j.smith Account.

If you rename the Account j.smith into james.smith, all Account Aliases will "move" with it - smith and jsmith will remain the Aliases for the james.smith Account. If you remove the Account, the Account Aliases will be removed, too.

Renaming and removing of Accounts has no effect on the Forwarders: if you rename or remove the j.smith Account, the Forwarder js will continue to point to the j.smith address.

As a result, it is not recommended to use Forwarders where you can use Aliases. Forwarders should be used to create "objects" that redirect mail to other Domains or to other mail servers.


Mailing Lists

CommuniGate Pro Domains can contain Mailing Lists. Each Mailing Lists has a name and it always belongs to some Account in the same Domain - the Mailing List owner.

A Mailing List contains a list of subscribers, and it maintains several Mailboxes in the list owner Account. Those Mailboxes are used to store and archive postings, generate digests, store subscription requests and error reports.

Groups and Mailing Lists are different:

  • Groups are designed for a small number of members, Mailing Lists are designed to handle several hundred thousand subscribers per list;
  • Groups are designed mostly for local members (Accounts) and if the subscriber Account is renamed or removed, it is also renamed in or removed from all the Groups in its Domain;
  • Mailing Lists provide a lot of features beyond basic mail distribution: automatic subscribing, bounce processing, archiving and digesting, browsing, posting policies, moderating, etc.

See the LIST section for more information about CommuniGate Pro Mailing Lists.


Named Tasks

CommuniGate Pro Domains can contain Named Tasks. Each Named Task has a name and it always belongs to some Account in the same Domain - the Named Task owner.

A Named Task is a Real-Time Application task that is automatically started with the Server when a Signal or an E-mail is addressed to the Named Task name. All those Signals and E-mails are delivered to a single instance of the Real-Time Application task, even in the Cluster environment.

Named Tasks are used to implement collaboration mechanisms such as Instant Message "chat rooms", various communication gateways, etc.

See the Named Tasks section for more information about CommuniGate Pro Named Tasks.


Database

Domain Files

All CommuniGate Pro Domain data is stored inside a file directory created in the Domains subdirectory inside the Server base directory. This directory name is the same as the Domain name.
The Main Domain data is stored inside the Accounts file directory created inside the base directory.

Inside a Domain file directory, a Settings file directory is created. This directory contains files with the domain-wide data:

Access.settings
This file has the dictionary format, it contains the names of the users that have administrative access rights to the Server or to this Domain, and the list of the granted rights. By storing all administrative access rights in one location the CommuniGate Pro Server makes it easier to maintain server security. Only the Access.settings file stored in the Main Domain Settings directory can contain the server-level administration access rights. All other Access.settings files can contain only the Domain-level Administration access rights.
Domain.settings
This file contains the Domain Settings.
Template.settings
This file contains the Account Template for this Domain and provides the Account Settings for new Accounts in this Domain.
Aliases.data
This file contains the list of all account-level aliases specified for the Domain Accounts.
LISTS
This directory contains files with the information about the mailing lists created in the Domain.
WebSkins
This directory contains custom WebUser Interface Skins for this Domain.
PBXApp
This directory contains custom PBX Application Environment for this Domain.

Account Service Files

Every CommuniGate Pro Account contains at least one (INBOX) Mailbox, and at least two service files. Service files have the following file name extensions:

.settings this dictionary file contains Account Settings, including the Account Rules.
.info this dictionary file contains volatile Account information, such as Mailbox sizes, SIP Registrations, Event subscriptions, etc.
Since the .info file is being modified rather often, the CommuniGate Pro Server is built to survive .info file corruptions. For example, if the Mailbox last UID information is corrupted, the Server rescans the Mailbox and restores the correct Mailbox info.
.prefs this dictionary file contains Account Preferences, including the preferences of WebMail and Samoware interfaces.
.dst this optional dictionary file contains the Account "DataSet", that includes Account DataSet Address Books (also known as string lists), and application preferences.
.web this optional file directory is the Account File Storage.
.balances this optional file directory contains files with Billing history information.

Account Files Location

The Account files are located in the Domain file directory or in its subdirectory (see the Domains section for the details). The GetAccountLocation CLI command can be used to learn the physical location of the Account files.

For a multi-mailbox Account, a directory with the Account name and .macnt extension is created, and all Account files are stored in that directory. The Account service files are stored as account.extension. The INBOX Mailbox is stored as the INBOX.mailboxType file.
Example: for the multi-mailbox Account John, the john.macnt directory is created, and the files INBOX.mbox, account.settings, account.info are placed in that directory.

For a single-mailbox Account, the INBOX Mailbox is created as a file in the Domain file directory or its subdirectory, and it has the accountName.mailboxType file name. The Account service files are stored in the same directory as accountName.extension.
Example: for the single-mailbox Account John, the john.mbox, john.settings, and john.info are placed into the Domain file directory.


CommuniGate Pro Guide. Copyright © 2020-2023, AO StalkerSoft