MailEnable System Manual PDF
MailEnable System Manual PDF
MailEnable
System Overview
Page 1 of 17
MailEnable System Overview
Table of Contents
1 Introduction................................................................................................... 3
2 System overview............................................................................................ 4
3 Connectors ..................................................................................................... 6
3.1 SMTP connector......................................................................................................... 7
3.1.1 Inbound agent.................................................................................................................................. 8
3.1.2 Outbound agent ............................................................................................................................... 8
3.2 Post office (SF) Connector......................................................................................... 8
3.2.1 Groups............................................................................................................................................. 9
3.3 List Server Connector................................................................................................. 9
4 Agents........................................................................................................... 11
4.1 Mail Transfer Agent ................................................................................................. 11
4.1.1 Address Resolution ....................................................................................................................... 11
4.1.2 Transfer Events ............................................................................................................................. 12
5 Services......................................................................................................... 13
5.1 POP3 service ............................................................................................................ 13
5.2 HTTPMail ................................................................................................................ 13
5.3 IMAP4...................................................................................................................... 13
5.4 Web mail service...................................................................................................... 13
6 Providers...................................................................................................... 14
6.1 Tab delimited configuration provider ...................................................................... 14
6.2 SMTP connector configuration files ........................................................................ 15
6.3 Post office connector configuration files ................................................................. 15
6.4 Authentication provider configuration files ............................................................. 16
6.5 Address map provider configuration files................................................................ 16
7 More information........................................................................................ 17
Page 2 of 17
MailEnable System Overview
1 Introduction
MailEnable's mail server software provides a powerful, scalable hosted messaging platform for Microsoft
Windows. MailEnable offers stability, unsurpassed flexibility and an extensive feature set which allows you to
provide cost-effective mail services.
MailEnable also provides an environment that is extensible and promotes development through COM libraries,
DLLs and configuration files. The componentized architecture promotes customization and development,
making it a perfect solution for integration with existing systems.
MailEnable provides hosting providers or ISPs with a solid email platform that provides all of the required
features at a reasonable price. MailEnable can generate cost savings by reducing both hardware expenditure and
downtime, and most significantly, by providing a flexible licensing model.
With no client access licenses, free core components, and quick implementation, this is the ideal message
solution, whether you are catering for 5 users or 50 thousand.
The purpose of this document is to outline the core components of MailEnable and to provide an overview of the
architecture.
Page 3 of 17
MailEnable System Overview
2 System overview
The following diagram outlines the core services and connectors that form the basis of MailEnable. This diagram
illustrates how the Mail Transfer Agent (MTA) moves messages between different connectors. The MTA
monitors connector inbound and outbound messages queues, reading in messages and mapping them to other
connectors using an address map.
Mailboxes
Mail clients
Figure 2-1 Relationship between agents, connectors and mail services in MailEnable
The web mail service and POP3 service access the post office repository (which is usually a shared or replicated
file service) and allow users to access and interface with their mailboxes.
The above diagram shows that MailEnable is comprised of Connectors, Agents, Services and Providers.
Page 4 of 17
MailEnable System Overview
Component Definition
Agents Agents run perform specific management or operating functions for MailEnable
itself. An example of an Agent is the Mail Transfer Agent. Its function is to move
messages between connectors.
Providers Providers are used by Connectors, Agents and Services to allow them to read
their configurations. An example of a provider is the Address Map provider. This
provider reads the address map that is used to determine mail routing between
connectors.
Note: MailEnable Standard does not include web mail or enterprise provisioning.
Each of these system components is described in this document.
Page 5 of 17
MailEnable System Overview
3 Connectors
Mail connectors allow MailEnable to send a receive mail messages to external systems. MailEnable includes
SMTP, Post office, POP Retrieval and List connectors.
In some cases mail connectors can relay mail by immediately queuing it for relay. MailEnable’s SMTP
Connector is an example of such a connector.
An internal MailEnable address is made of two core parts. Firstly, there is the Connector Descriptor and
secondly there is the addressing detail. The exact syntax is shown below:
Syntax:
[Connector Acronym: Connector Address Details]
Examples:
When a mail connector receives mail, it resolves the addressed recipients to an internal address format. Some of
these recipients will be local, and others will be relayed to non-local users. The connector will produce a
command file containing all resolved recipients and a message file containing the actual data. This information is
stored in the Connectors Spooling directory.
The MTA is used to take information from the spooling directory and either delivers it to local post office
mailboxes or queues it for relay to a remote host. Configuration of the Mail Transfer Agent will be explained
later in this document.
Page 6 of 17
MailEnable System Overview
Page 7 of 17
MailEnable System Overview
Page 8 of 17
MailEnable System Overview
3.2.1 Groups
Groups are implemented by having a file that lists the names of any groups that are registered on the system.
Mail items within groups are defined using internal address formats.
Internal Address formats are defined as follows:
[Address Type Qualifier:Address Specifiers]
As a result, a group file could contain internal users as well as external users. So the contents of a group
configuration file could look something like this:
Once a group e-mail address is detected in an incoming message, the recipients need to be determined. The steps
for working this out are as follows:
We open the DomainMap file under the postoffices directory and determine if we are hosting the domain. If we
are then we need to determine if the address is for a user or a group. We do this by opening the group map file
under the post office.
If the SMTPAddress of the group is located in this file then we need to get the name of the groupfile that
contains the addresses.
We open this file and read each line in the file determining whether the address is a local or external address. We
will the buffer of recipients with this information.
Page 9 of 17
MailEnable System Overview
The system uses the address of the list to determine whether the list is moderated. If the list is moderated and the
message is coming from the moderator, it is pre-processed (headers and footers added) and sent to all the
recipients in the corresponding list-member file.
Otherwise, the list is routed to the moderators address. It is up to the moderator as to whether they
edit/consolidate the messages forwarded to them by the list or if they simply forward the message onto the list.
3.3.1.1 Moderated list example
[email protected] sends a message to the list [email protected] . This list is moderated by
[email protected].
The message from [email protected] will be intercepted by the list server and re-rerouted to
[email protected].
The headers of the message are not significantly modified when the message is routed to the moderator - so it
appears that the message was in fact sent to the moderator by [email protected].
[email protected] will review the message and can forward the message onto the list.
When the list receives the message, the message from the moderator will distributed to the other members of the
list (including [email protected]).
Page 10 of 17
MailEnable System Overview
4 Agents
4.1 Mail Transfer Agent
The Mail Transfer Agent (MTA) is a
Windows Service responsible for:
Receiving inbound
messages from mail
connectors
Delivering mail to local
mailboxes
Queuing mail for relay
to other mail connectors
(including themselves,
as in SMTP Relay)
The example below outlines the typical contents of a queued command message:
DomainName=MailEnable.com
Recipients=@C:[email protected]
[email protected]:[email protected]
Retries=2
MessageID=F6BFAD9F27248428AD32C87D65E8.MAI
Priority=Normal
Status=Unsent
Page 11 of 17
MailEnable System Overview
Page 12 of 17
MailEnable System Overview
5 Services
MailEnable includes the following mail services.
5.2 HTTPMail
HTTPMail is a mail access protocol that allows you to access your mail from the server and leaves the email on
the server. HTTPMail provides similar functionality to IMAP, where by an Outlook Express or Outlook client
can access and manage messages and folders on the server. Unlike IMAP, it does not require SMTP to send
messages.
Another advantage that HTTPMail has over using POP and SMTP is that it can be configured to operate over
Port 80, meaning that you can access your mail through corporate firewalls.
5.3 IMAP4
IMAP4 is a mail protocol that allows users to be disconnected from the main messaging system and still be able
to process mail. Users can store messages on a local machine or on a server.
IMAP has distinct advantages over POP because it allows you manage multiple folders on the server. Mail can
be accessed from different machines, as the mail is hosted on the server (unlike POP which deletes mail from the
server after being accessed) and allows the user to just download message headers and envelope information,
until the user selects the email to download. This is useful when operating over slow speed dial-up connections.
IMAP4 can break up and download specific parts of a multi-part email message (MIME). This means that
instead of having to wait for an email with attachments to download, you can select only the text portion to
download, and leave the attachments on the server.
IMAP4 allows you to have server hosted folders and subfolders.
Page 13 of 17
MailEnable System Overview
6 Providers
Providers are used to control MailEnable configuration settings. Providers are used to configure MailEnable to
store details in tab delimited files, databases, etc. The default provider for MailEnable is the tab delimited
provider. This section outlines the configuration settings for MailEnable tab delimited configuration providers,
beyond those made available in the supplied administration application.
The primary configuration providers are outlined in the following table:
Page 14 of 17
MailEnable System Overview
[GROUPID].TAB %s Address
Page 15 of 17
MailEnable System Overview
Page 16 of 17
MailEnable System Overview
7 More information
For more general information about MailEnable please visit the web site: http://www.mailenable.com
For product support issues, please refer to our Support page: http://www.mailenable.com/support.asp
Page 17 of 17