Local Delivery Module |
|||||||||||||||||||||||||||||||||||||||||||||||
|
Use a Web browser to connect to the CommuniGate Pro administrator port and open the LOCAL page in the Settings section.
The Outgoing Flow control settings are applied to the messages submitted from authenitcated sources. All messages submitted by a CommuniGate Pro Account user via SMTP using the AUTH operation, via the WebUser Interface, via the MAPI module, and via the POP module XTND XMIT command are counted. If the amount of messages submitted during the specified period of time exceeds the specified limit, the Account user's ability to submit messages is suspended.
Note: some of your system users can send messages via SMTP without using the AUTH operation, because they send from the network addresses specified in the Client IP Addresses list, or because they use the Read-then-Send method. In this case the messages they submit cannot be attributed to any system user and those messages are not counted. If you want to apply the Outgoing Flow Control settings to all messages submitted by your users, you should force all of them to use the SMTP AUTH operation by enabling the Force AUTH option in the SMTP module settings.
When the Router passes an address to the Local Delivery module, the module checks the domain name: if the domain name ends with the string .local, the Local Delivery module accepts the address, removes the .local suffix from the domain name, and stores the message in the Main Domain Account with that name. This feature is used to create Unified Domain-Wide Accounts.
Sometimes, a Unified Domain-Wide Account should be created in a Secondary Domain, rather than in the Server Main Domain. Use the .domain suffix to direct mail to an Account in a secondary Domain. The last component of the address "local part" will be used to specify the name of the Secondary Domain Account:
When the Router calls the Local Delivery module for "first attempt", the module does not process any other addresses.
When the Router calls the Local Delivery module for "final delivery" attempt, it accepts all addresses with an empty domain name part or with the domain part equal to the name of a Secondary Domain, and it routes the messages to the Account specified with the "local part" of the address.
To provide the domain-only routing feature used within the HTTP module, the Local Delivery module accepts all addresses with the LoginPage local part, and an empty domain part or a domain part equal to some Secondary Domain name or its Domain Alias name.
When the Local Delivery module decides that an E-mail address is a local address, it checks that the Account with the specified name exists. Each Domain (the Main one and each Secondary Domain) has a setting that instructs the Local Delivery module on what to do if a specified Account does not exist.
If the selected option is "Rejected", all messages sent to unknown Accounts are rejected, and the error message "unknown account" is returned to the sender.
If the selected option is "Discard", all messages sent to unknown Accounts are rerouted to the NULL address, and the Server discards them without generating any error messages.
If you select the "Reroute to" option, all messages sent to unknown Accounts will be rerouted to the specified address. That address can be a name of a registered local Account, or it can be an E-mail address of an account on another server: the unknown Account address is substituted with the specified address, and the Router restarts the address processing procedure.
The specified "rerouting" address may contain the asterisk sign. In this case the name of the unknown local account is used to substitute the asterisk sign.
Unified domain-wide Accounts are useful if the client systems retrieves messages from your server using the CommuniGate POP, the CommuniGate Pro RPOP, or similar software that distributes retrieved messages locally. Alternatively, the client system can use a regular single-user mailer and then distribute retrieved messages manually.
While the information in the local part of the client1.com addresses is not used for routing, it is not discarded. When the Local Delivery module stores the message in the Cl1 Account, it stores the local parts of the addresses in the X-Real-To: message header field (or other field specified in the Local Delivery module settings).
Note: the
<*@client1.com>= Cl1
Router alias record also
stores all messages sent to the client1.com
domain in the Cl1 Account, but if such a record is used, the information
about the local part (Account name) would be lost, and no X-Real-To: head
fields would be generated. The client software that retrieves messages
from this Unified Account would have to rely on the To: and Cc: message
header fields. Those fields do not always contain the correct information,
and they never reflect any change in the local part of the address you
could have done with some additional routing records.
The POP module allows individual users to retrieve mail from a Unified Account, by hiding out all messages that do not contain the specified username in the X-Real-To header field.
You usually create Unified Domain-Wide Accounts in the Main Domain.
Use the .domain suffix to create an UDWA in a Secondary Domain.
Messages routed to xxxx%accountname@domainname.domain will
be stored in the accountname Account in the domainname domain, with the xxx
address being added to the message headers as the X-Real-To field.
For example, a Domain Administrator for the company.com Domain may use the setting:
Mail To Unknown Addresses is Redirected to:*%Unknowns@company.com.domain
and messages sent to unknown Domain Accounts will be stored in the Account Unknowns, with
all those unknown addresses stored in the message X-Real-To header fields.
If the Account has some Automated Rules specified, these Rules are applied: for each rule its conditions are checked, and if they are met, the specified Rule actions are performed. As a result of those actions, the message can be copied to some mailbox, a copy of the message can be redirected to some other addresses, an automatic reply can be generated, etc.
You can use a more detailed Log Level for the Local Delivery module to see which Rules are applied to messages, why some conditions are not met, and what actions have been taken when all Rule conditions have been met.
After Account Rules (if any) have been applied, and these Rules have not specified that the message should be discarded, the message is stored in the Account INBOX.
The Local Delivery module checks the current size of the Account mailboxes and rejects a message if the Account storage quota would be exceeded.
The Account-Level rules are NOT applied if such an address is used.
You can use Direct Mailbox Addressing in the Router Table:
; store messages to sales@maindomain ; in the sales mailbox in the Account public@maindomain <sales> = sales#public ; ; store messages to support@client.com ; in the requests mailbox in the Account staff in the hq.client.com Domain <support@client.com> = "requests#staff"@hq.client.com
Note: remember that mailbox names are case-sensitive.
Note: the Direct Mailbox Addressing feature can be used via the POP module, too. With the sample Router records listed above, when a user logs in using the name sales, the client POP mailer is connected to the mailbox sales in the public Account (if the user has provided the correct password for the public Account).
Note: the individual Account Rules are not applied to messages sent to the all address.
The alldomains@maindomain address can be used to send messages to all Accounts in all Domains.