Features > Incoming Mail > Using multiple domains Using multiple domainsMailtraq is most often used to route the email for a single domain, however Mailtraq can also be used to route mail for multiple domains.
Basic 'multi domain' configuration
Mailtraq will handle messages for the domain entered at 'Domain name' and any other domain that is entered in the dialog-box shown below titled "Domain Aliases and other machine names".
So Mailtraq will automatically accept mail for ann@this.com and bob@another.com without any further configuration.
Mailtraq's method of handling multiple domains is to treat them as simple aliases. This means that Usernames should be unique in Mailtraq, as without additional configuration, for example, mail for john@this.com and mail for john@another.com is all routed to the same mailbox john.
The additional configuration is simple, and is decribed below
Additional 'multi domain' configuration
Mailtraq's method of handling multiple domains is to treat them as simple aliases. To avoid 'name collisions' the usernames should be unique in Mailtraq, as mail for john@this.com and mail for john@another.com is all routed to the same mailbox john.
How to avoid 'name collisions'
You may need a way of keeping the mail separate: you may want mail to john@this.com and john@another.com to go to separate mailboxes.
Method
This solution can be extended to handle any number of users and domains.
Step 1.
Add the domains this.com and another.com to Options | Server | Domain aliases and other machine names
Mailtraq will now accept mail for both domains
Step 2.
Create a User for each separate mailbox that you want. As you add a User a mailbox will be created
Configuration note: It would be nice if the mailbox-name could be the same as the email address, however mailbox names cannot contain @ signs. So we use a simple naming convention, for example: john-this for the john mailbox in john@this.com and john-another for the john mailbox in john@another.com You may find it convenient to use the Mail Group feature to group Users' mailboxes in separate Domains together in the Console for administrative purposes

In each mailbox, enter an alias with the full email address. For example:
In the Mailbox Properties for: john-this at the Aliases tab enter: john@this.com
In the Mailbox Properties for: john-another at the Aliases tab enter: john@another.com
Configuration Tip:
If you were to create a User and a mailbox called simply john it will receive a copy of emails for both mailboxes. This is often very useful.
Collecting mail
The John who works in the domain this.com sets his email client (for example, Outlook 2003) to collect his mail from Mailtraq from the mailbox called john-this.
The John who works in the domain another.com sets his email client to collect his mail from Mailtraq from the mailbox called john-another
Sending Mail

In ordinary clients (for example, Outlook) the Account settings control the From: Reply-to etc settings
In Mailtraq webmail, if allowed by the Administrator, the user can set a Mail Profile in Webmail | Options | Mail Settings to their desired Domain. This may also be set by the Administrator and then the privilege revoked to lock the setting.
This means that John who works in the domain another.com collects his mail from the Mailtraq mailbox called john-another and sends email as john@another.com
Read more about this topic here
|