How To |
|||||||||||||||||||||||||||||||||||||||||
|
Open the Domain Settings for that domain and set the Mail to Unknown option:
Here domain.dom is the name of this CommuniGate Pro Domain and otherserver.dom is the DNS name of the other [old] server. If the DNS name for the other server does not exist, you can use the IP address instead:When the CommuniGate Pro server receives any message directed to aname@domain.dom, and the domain does not have an account/group/forwarder/mailing list with that aname name, the message is Rerouted (the envelope address is changed) to aname%domain.dom@otherserver.dom.via. The .via suffix tell the Router module to accept this address, and to cut off the domain name, using that part only as a name of the server to connect to (the Router module always cuts off the IP-address domain parts, too). The resulting envelope address (aname%domain.dom) is converted to the standard form (aname@domain.dom) before it is sent to that other server. As a result, the other server receives such a message with the unmodified envelope data and header fields.
As soon the aname account is created in the CommuniGate Pro server domain.dom domain, mail starts to go to that account automatically. You can copy all messages from the aname account on the old server to the aname account on the new server and phase out the aname account on the old server.
To safely back-up the friend.com domain place the following record into the Router table:
Read the Protection section to learn the meaning of the Relay: prefix (you can omit it, or you may want to use the RelayAll: prefix instead).
If you want to relay mail for the friend.com domain, but it should go to via a different server firewall.friend.com, use the following Router record:
If you want to bypass the MX records and relay all mail to a certain IP address (specified explicitly or using a DNS A-record), then see the Bypassing MX section.
The SMTP module does not look at the MX records if the port number of a remote host is explicitly specified. By specifying the standard (25) SMTP port number, you tell the SMTP module to look for the relay.domain DNS A-record, and ignore its MX records.
Note: You may want to add a Relay:, NoRelay: or RelayAll: prefix
To relay mail to the "sibling" server running on the port 26, you can redirect to the domain other-port if you put the following record into your Router table:
To relay mail to the "sibling" server running on the port 25, but on a different IP address 11.22.33.44, you can redirect to the domain other-ip if you put the following record into your Router table:
For example, if all mail to the domain client57.com should go to the sibling server running on a different port, place the following records into the Router:
or simply:
To serve such a customer (the client.com mail domain), you should:
To deliver mail to those sites, you should configure your CommuniGate Pro server as their mail relay. Depending on the customer server capabilities, your can use either the ATRN or the Unified Domain-Wide Account (RPOP) method.
If the customer server supports the On-Demand Mail Relaying (ATRN) method, you should:
If the customer server supports the Unified Domain-Wide Account method, you should:
To let mail to all customer domains being released with one ETRN or ATRN command, you should enqueue mail sent to the customer "secondary" domains into the customer "main domain" queue.
If the remote server should receive mail for the domain1.dom, domain2.dom, and domain3.dom domains, but it sends ETRN or ATRN commands only for the domain1.dom domain, use the following Router domain-level records:
Mail to all customer domains will be placed into the domain1.dom queue, and if you want to hold that queue till the ATRN/ETRN command is sent, include the domain1.dom name into the Hold Mail for Domains setting of the SMTP module.
Note: if your company chooses to copy employee mail, it MUST notify all server users about this policy.
To copy mail sent from certain domains, use a Server-wide Rule:
The account security should already exist in the main domain, and the mailbox outgoing should already exist in that account.
The simplest way to implement restrictions is to organize these groups of users into CommuniGate Pro Domains. If all users in the Domain dept1.company.dom (except the user boss) are allowed to send mail only to the users in the same Domain and to the supervisor@hq.company.dom address, then the following Server-wide Rule should be used:
You can use the same method to send non-text attachments:
The easiest way to compose such a message is to send the required file to your CommuniGate Pro account using MIME-encoding, and then open the message using the WebUser Interface. After verifying that the message has arrived intact, click the "Undecoded Letter" icon in the message header panel. The undecoded text of the message will be displayed in a new browser window. You can copy the encoded message body text and paste it to the Rule text field.
To use a Shared Mailbox, two steps must be taken: first, potential users of the shared mailbox should be granted access rights for that mailbox. On the second step the user mailers should be configured to access shared mailbox(es). Since these shared mailboxes belong to a different account, they are called foreign mailboxes.
First, the owner of the shared mailbox should create a regular mailbox within his/her account. It is useful to create a special account public and create shared mailboxes in that account. To grant others access rights to the shared mailbox, the account owner should use either a decent IMAP client that can deal with ACL (Access Control Lists) or the WebUser Interface. The WebUser Interface section describes how you can set the desired Mailbox Access Rights.
If a shared mailbox is created inside the public account, it is useful to grant all Mailbox Access Rights to the real shared mailbox owner, so the owner can perform all operations with that mailbox without logging in as the user public.
To access shared mailboxes, user mailers should be configured to display both the user account's own mailboxes, and the available shared (foreign) mailboxes. The most universal method is to use the account Mailbox Subscription list. This list is a simple set of mailbox names, and both account's own mailbox and foreign mailbox names can be included into that list.
Many IMAP clients can only use the Mailbox Subscription list, but they cannot modify that list, or they do not allow a user to enter a foreign mailbox name into that list. In this case IMAP users should use the WebUser Interface to fill their subscription lists. If a shared mailbox announce has been created in the account marketing, users should put the ~marketing/announce foreign mailbox name into their subscription lists.
The domain administrator can use the Account Template to specify the initial Mailbox Subscription list, so all new accounts automatically get subscriptions to some shared mailboxes.
When shared mailboxes are included into the Account Subscription List, the users should configure their mail clients to display all mailboxes listed in the Subscription List:
Some clients (including Microsoft Outlook and Outlook Express) cannot display foreign mailboxes even if those mailbox names are included into the account subscription list. Users of these mailers can access foreign mailbox via mailbox aliases. They should use the WebUser Interface to specify aliases for foreign mailboxes they want to access. If a shared mailbox announce has been created in the account marketing, users should create the mkt-announce mailbox alias for the ~marketing/announce foreign mailbox. Their IMAP clients will display the mkt-announce name and will provide access to the ~marketing/announce mailbox messages.
The domain administrator can use the Account Template to specify the initial Mailbox Aliases, so all new accounts automatically get a predefined set of mailbox aliases for the specified shared mailboxes.
The Server Administrator with the All Accounts access right has unlimited access rights to all mailboxes in all accounts on the Server. The Domain Administrator with the CanAccessMailboxes access right has unlimited access rights to all mailboxes in that domain accounts.
Administrators can use any decent IMAP client to access user mailboxes. That client should be able to let users enter the mailbox name directly. To open the INBOX in the username account, administrators should log in under their own names and tell the IMAP client to open the ~username/INBOX mailbox.
The WebUser Interface can be used for the same purpose. Administrators can log in under their own names, open the Subscription page and type the user mailbox name in the Open Mailbox panel.
You may want to provide better looking http://username.domain.dom/ URLs for your Account Personal File Sites. This feature is based on the method the CommuniGate Pro Server uses to process HTTP requests sent to the WebUser port(s).
For users in a secondary domain domain.dom, add the following records to the Router:
If the domain.dom is your Main Domain, then add the following records:
These records route the LoginPage@username.domain.dom addresses to username@domain.dom addresses (or username addresses if domain.dom is the main domain).
Finally, you have to update your DNS server to ensure that all username.domain.dom names point to your server IP address. You may want to use wildcard records (*.domain.dom CNAME domain.dom) if your DNS server supports them.