MailEnable

Messaging Services

For Microsoft Windows NT/2000/2003

 

 

 

 

MailEnable Professional

Configuration Guide

 

 

1      Introduction to MailEnable Professional

1.1       Contacting MailEnable Pty. Ltd.

1.2       How to Download MailEnable Professional

1.3       MailEnable Prerequisite Hardware.

1.4       MailEnable Prerequisite Software.

1.5       Diagrams of Professional Modules and Email Handling.

2      Installation..

2.1       Installation Overview..

2.2       Welcome Screen.

2.3       Terms and Conditions.

2.4       Registration Details.

2.5       Selecting Installation Components.

2.6       Selecting Program Group.

2.7       Selecting Repository.

2.8       Creating an Initial Post Office.

2.9       SMTP Connector Configuration.

2.10    Commence Installation.

2.11    Select Web Mail Web Site.

2.12    Web Administration.

2.13    Antivirus Plug-In Notice.

2.14    HTTP Mail Notice.

2.15    Completing Installation.

3      Upgrading MailEnable.

4      Post-Installation Configuration..

4.1       Run the MailEnable Diagnostic Utility.

4.2       Check and Configure DNS Settings.

4.3       Check and Configure Integrated Anti Virus.

4.4       Check and Configure Relay Settings.

5      MailEnable Administration..

5.1       Overview..

5.2       Managing Services.

5.2.1       General Settings.

5.3       Managing Post Offices.

5.3.1       Emailing All Domain Users.

5.3.2       Exporting users.

5.3.3       Importing users.

5.3.4       Deleting messages.

5.4       Managing Mail Domains.

5.5       Managing Mailboxes.

5.6       Managing Email Addresses.

5.7       Managing Groups.

5.8       Managing Lists.

5.9       Managing Server Configuration.

5.9.1       General Configuration.

6      Configuration of Services and Agents.

6.1       SMTP..

6.1.1       What is an SMTP Connector?.

6.2       Configuring the Server

6.3       Reverse DNS Blacklisting.

6.4       POP..

6.4.1       Configuring the Server

6.5       POP Retrieval Connector

6.6       Configuring User Mailboxes.

6.7       Mail Transfer Agent (MTA)

6.8       HTTPMail Protocol

6.9       Configuring the Server

6.10    Web Mail

6.11    Configuring the Server

6.12    Web Administration.

6.13    Configuring the Server

6.13.1     Accessing WebAdmin.

6.14    Antivirus Filter Configurations Overview and Settings.

6.15    Configuring the Server

6.16    Postoffice Connector

6.17    COM Component

6.18    Configuring the Server

6.19    Using the Component

6.20    Methods.

7      Configuration of Email Clients.

7.1       Netscape Messenger

7.2       Microsoft Outlook Express.

7.3       Microsoft Outlook.

7.4       Configuring Clients for HTTPMail

8      Operational Procedures.

8.1       Backing Up and Restoring MailEnable Data.

8.2       Debugging MailEnable.

8.3       Inspecting Log Files.

8.4       Licensing MailEnable.

8.5       Registration Key Retrieval Method.

9      Appendix.

9.1       Multiple Server Storage of MailEnable.

9.2       Using your own Anti-virus Scanner

9.3       HTTPMail Overview..

9.4       Accessing WebMail for Automatic Sign on.

9.5       DNS Error Codes and Descriptions.

9.6       Diagnosing Outlook/Outlook Express Error Codes.

9.7       How can I manually test if MailEnable can send mail to remote servers?.

9.8       How do I troubleshoot SMTP Connectivity issues and Analyse Log Files?.

9.9       How do I configure redundant or backup (MX) mail servers.

10        ANTI VIRUS RECOMENDATIONS..

10.1    F-Prot

10.2    Sophos.

10.3    Panda.

10.4    Symantec Norton Antivirus.

10.5    McAfee Virus Scan.

11        Frequently Asked Questions.

12        Glossary.

 

Warranty

 

You should carefully read the following terms and conditions before using this software.  Unless you have a different license agreement signed by the respective owners, authors and copyright holders of the MailEnable product suite, herewith referred to as ("ME"), your use, distribution, or installation of this copy of MailEnable indicates your acceptance of this License.

All rights of any kind in MailEnable which are not expressly granted in this License are entirely and exclusively reserved to and by "ME". You may not rent, lease, modify, reverse engineer, translate, decompile and disassemble MailEnable without the permission of its owners, authors and copyright holders of MailEnable.

You are not permitted to commercialize derivative works of MailEnable without a written agreement signed by the respective owners, authors and copyright holders of MailEnable.

All accompanying files, data and materials, are distributed "as is" and with no warranties of any kind, whether express or implied. 

This disclaimer of warranty constitutes an essential part of the agreement.  Any liability of "ME" will be limited exclusively to refund of purchase price. In no event shall "ME", including but not limited to its principals, shareholders, officers, employees, affiliates, contractors, subsidiaries, or parent organizations, be liable for any incidental, consequential, or punitive damages whatsoever relating to the use of MailEnable, or your relationship with "ME".

In addition, in no event does "ME" authorize you to use MailEnable in applications or systems where "ME"'s failure to perform can reasonably be expected to result in a significant physical injury, or in loss of life.  Any such use by you is entirely at your own risk, and you agree to hold "ME" harmless from any claims or losses relating to such unauthorized use.

You are specifically prohibited from charging, or requesting

Donations, for any copies, however made, and from distributing such copies with other products of any kind, commercial or otherwise, without prior written permission from "ME". "ME" reserves the right to revoke the above distribution rights at any time, for any or no reason.

 


1        Introduction to MailEnable Professional

1.1       Contacting MailEnable Pty. Ltd.

MailEnable Pty. Ltd. (ACN 100 453 674) is an Internet Messaging product company that develops, markets and supports software for hosted messaging solutions. MailEnable’s mail server suite provides a tightly integrated hosted messaging solution for the Microsoft platform.

MailEnable is a 100% privately owned Australian Company and was established in early 2001. MailEnable's customers include some of the worlds largest Internet/Application Service Providers, Educational Institutions, Organisations, Government Agencies and Corporates.

 

486 Neerim Road

Murrumbeena, 3163
Victoria, Australia

Tel:  +613 9563-4177 (AEST)
Fax:  +613 9530-4066
Email: info@mailenable.com

 

Support Contact

For any support issues including program defects and general support inquiries follow the link below.  The web page displayed here shows a form that once correctly filled out will best enable the MailEnable support team to assist in any support requests.

 

http://www.mailenable.com/support/supportrequest.asp

1.2       How to Download MailEnable Professional

Use the web link below and you will be taken to the MailEnable Website download page where you will be able to download the various MailEnable versions.

http://www.mailenable.com/download.html

Hotfixes to the MailEnable products can be found at:

http://www.mailenable.com/hotfix

Information for developers can be found at:

http://www.mailenable.com/developers

1.3       MailEnable Prerequisite Hardware

MailEnable will run on virtually any computer capable of running Windows NT, 2000/2003 or .NET Operating Systems.

Note: While the MailEnable product suite can be installed and has been tested on XP and workstation environments the company does not support these platforms.

1.4       MailEnable Prerequisite Software

For Windows NT 4:

 

 

For Windows 2000/2003:

 

 

Note: In order to install either the web administration or webmail components of MailEnable Professional, you will need to have Microsoft Internet Information Server (IIS) installed. If you do not intend to use these components, then IIS is not a requirement.

 

If you are using NT4, you should ensure IIS is installed from the Windows NT Option Pack.

 

If you are installing MailEnable on Windows 2000/2003, IIS is included with the default package.

 

1.5       Diagrams of Professional Modules and Email Handling

The diagram at the following link outlines the core functionality of MailEnable and how its respective modules (Connectors, Services and Agents) interact. For simplicity, the diagram does not outline the functions of the POP retrieval Connector or List Server Connector (which are explained under their own sections).

 

 

The following diagram provides a high level overview the POP Connector:

 

 

The List Connector is responsible for dispatching messages to large lists of mail addresses. The list connector will allow members to subscribe to a list, enforce publishing rules for the list, add headers and footers to messages published via the list, etc.

 

 


2        Installation

2.1       Installation Overview

Note: In order to install MailEnable Professional, you require administrative privileges of the server MailEnable is installing upon.

Firstly run the installation executable by double clicking on the install program. The installation program will then guide you through the rest of the installation process. Each screen of the installation program is likely to contain data entry fields, Next, Back and Cancel control buttons.

 

Figure 21

                                                              (Installation Executable Program Icon)

 

The Next button allows you to proceed to the next step of the installation process.

To exit the installation at any time, you can click on the Cancel button.

Likewise, the Back button allows you to step back through the installation process.  At any time the Cancel button is pressed you will be shown an exit screen as shown below verifying that you do in fact want to exit the installer.

 

Figure 22

2.2       Welcome Screen

The welcome screen informs that you are installing MailEnable Messaging Services. It also provides a warning outlining the copyright protection of the MailEnable product suite.

If you wish to continue installing the application, click on the Next button.

 

Figure 23

 

Please click the Next button to continue.

2.3       Terms and Conditions

The ‘Terms and Conditions’ dialog box explains the licensing terms and conditions of installing and using the MailEnable product suite.

 

Figure 24

 

You should read this carefully as it outlines all conceptual and legal issues relating between the agreement between MailEnable and the End User in relation to the way the program can be used.

 

Please click the Yes button to continue.


2.4       Registration Details

The following dialog box may appear to inform you that a previous version of MailEnable has been installed (and who it was installed by).

 

Figure 25

 

Please click the Next button to continue.

 

2.5       Selecting Installation Components

The next part of the installation process is to select the MailEnable components you want to install.

 

Figure 26

 

MailEnable Core Components (Server) – This will select the base programs and functionality. This option must be selected if you are installing MailEnable for the first time on this server.

 

Web Administration Service (Server) – This service will install web administration for MailEnable. This option requires that you have Microsoft Internet Information Services (IIS) installed.

 

Web Mail Service (Server) – This will install web mail for MailEnable. This option requires that you have Microsoft Internet Information Services (IIS) installed.

 

Please click the Next button to continue.

 

2.6       Selecting Program Group

The installation wizard will now prompt you for the program group where you want the MailEnable icons and shortcuts installed.

 

Figure 27

 

Please click the Next button to continue.

                

2.7       Selecting Repository

MailEnable uses a file system as a repository; this effectively allows front end servers to reference a common repository (hence promoting scalability).

 

MailEnable Professional Edition needs you to confirm the location of this directory so that its various services can access the repository.

 

The repository location will be detected by MailEnable if you are using the local repository. You can also nominate a repository on a backend server by pointing at the directory on this server that contains the \CONFIG, \POSTOFFICES or \QUEUES directories.

 

Figure 28

 

Please click the Next button to continue.

 

2.8       Creating an Initial Post Office

MailEnable requires that at least one post office is created. A MailEnable post office should be created for each company or organisation that is hosted under MailEnable. A MailEnable post office can own multiple domain names, it is therefore advised that post offices are named to be something more generic than the domain name. For example, MailEnable Pty Ltd owns domains mailenable.com, mailenable.com.au and mailenable.co.uk so the chosen name for the post office for MailEnable Pty. Ltd. could therefore be MailEnable. The domains owned by MailEnable Pty. Ltd would then be assigned to the MailEnable post office. However on this subject another common configuration for this section is to name the postoffice the actual domain name as this simplifies mailbox logon as users are often aware of the domain they log into.

As depicted below you need to assign a password for the post office Administrator. The mailbox for the administrator of a post office is ADMIN@Postoffice name. You can use this account to access Web Administration. It is important that you realise that users will authenticate as Mailbox@Postoffice name when they access their mail.

 

Figure 29

 

 

Please click the Next button to continue.

2.9       SMTP Connector Configuration

The installation will now prompt you to enter specific details for its SMTP Connector.

 

Figure 210

 

These settings are outlined in the following table:       

 

Setting

Explanation

Domain Name

The domain name should be the domain name of the organization that owns or is operating the server.  If you are using this server on the Internet, it is important that this domain name is registered.

DNS Host

The DNS host used by the SMTP Connector to locate mail servers. If you wish to use multiple DNS addresses, you can enter these here, and separate the IP addresses with a space. In most cases, you should include the same DNS host(s) as configured under the network TCP/IP settings for the computer.

SMTP Port

The SMTP port is almost always set to 25. Very rarely is another port number used and it is recommended that this setting remain as 25. Corporate or hosting companies/agencies may wish to use a different SMTP port to 25 to obscure the fact that the server is running SMTP services.

 

Please click the Next button to continue.

2.10  Commence Installation

The installation program will prompt you a final time before it commences installing files and registering the application.

 

Figure 211

 

Please click the Next button to continue.

 

The installation will now install files and display a progress window whilst the components are installed and configured.

 

 

Figure 212

 

2.11  Select Web Mail Web Site

If you have more than one web site configured under IIS, the setup application will ask you which web site you want to install the WebMail Virtual Directory. You should install MailEnable under the “Default Web Site” or an alternate site that you may have configured under IIS. Once you have completed your installation of MailEnable Professional you will be able to add or remove webmail from each of the sites you have configured under IIS.

 

                Note: Do not install MailEnable WebMail under the “Administration Web Site”.

           

 

Figure 213

 

Please select the desired web site and click the button for a Default Web Site for MailEnable Webmail to be configured.

 

Please click the Next button to continue.

 

The installation application will now display a dialog box while it configures WebMail. The configuration of WebMail may take several minutes, so please be patient.

 

Figure 214

 

2.12  Web Administration

Web Administration is installed if you have selected Web Administration as an option from the component list as depicted earlier in Figure 2.5. If you have more than one web site configured under IIS, the setup application will ask you under which web site you want to install the WebAdmin Virtual Directory. You should install the web administration under the “Default Web Site” or an alternate site that you have configured under IIS.

Note: This functionality can be re-configured to another web site if required after the initial installation has been completed.

 

           

Figure 215

 

 

Please click the Next button to continue.

 

2.13  Antivirus Plug-In Notice

The following notice describes the Mail Transfer Agent Anti-Virus Plug-in. (Please see further sections on configuring anti-virus support).

 

Figure 216

 

Please click the OK button to continue.

 

2.14  HTTP Mail Notice

The following notice describes the HTTPMail service. (Please see further sections on configuring HTTPMail support).

 

Figure 217

 

 

Please click the OK button to continue.

 

 

2.15  Completing Installation

Finally, setup will inform you the installation procedure completed successfully.

 

Figure 218

 

 

Please click the Finish button to complete installation of MailEnable

 

 

 

3        Upgrading MailEnable

To upgrade to any newer version of MailEnable Professional from either Standard Edition or earlier Professional Editions you follow the same steps as in chapter two and as the same data stores are used, you can simply run the installation over the top of your current configuration. MailEnable will detect the old version and retain the old settings (unless you specify otherwise).

MailEnable setup kits are available from the MailEnable web site.

When you install MailEnable over an existing installation, it will prompt you to specify the location of your configuration repository. It should default to the current configuration location as used by the existing installation of MailEnable.

This dialog is shown below:

 

Figure 31

 

 

The default setting of the installation is to Preserve Existing Configuration Data. You should leave this selected unless you want to overwrite your configuration with clean installation.


This dialog is shown below:

 

Figure 32


The installation will ask you if you want to Backup Configuration Data BACKUP Directory this will ensure that your data repositories are backed up which is always good practice (So in this tick box ensure there is a tick as shown above in Figure 2.19). It is also good practice to have used the MEBACKUP utility beforehand however, since the installation makes its own backup this is not imperative.

Simply follow the installation wizard, verifying your settings until the wizard completes. You may be asked to reboot your sever at the end of the upgrade. The underlying configuration data and options are essentially the same for all MailEnable versions.

 

 

 

 


4        Post-Installation Configuration

4.1       Run the MailEnable Diagnostic Utility

The MailEnable Diagnostic Utility checks your installation for system errors or warnings. The Diagnostic Utility also reports on your current system configuration. In most cases, the diagnostic file should provide you with enough information to determine whether your server is configured properly or to diagnose system faults.

You can find the MailEnable Diagnostic Utility in your MailEnable Program Group or under the diagnose icon in the MailEnable administration program as shown below.

 

Figure 41

 

 

Once the Diagnose Utility has been clicked on, it may takes a few seconds (depending on the amount of domains you have) a web page will be invoked and will give a test output of all services installed within the MailEnable program. In order to rerun the Diagnostic through the Administration program, right click on the Diagnose icon and select Refresh from the popup menu. Below is an example of this test output and how it is displayed.

 

Figure 42

 

 

 

The classes and test configurations that are run are as follows;

Version Information

This section contains all required environment data and version information.

Configuration and Data Test

This section verifies that all repository stores are valid and free from any corruptions or permissions errors.

System Services and Tests

A test on services and whether they are correctly installed and running is completed here.

Queue Status

A calculation of quantity on all inbound and outbound emails is displayed here

Host TCP/IP Settings

A basic check here on IP and DNS configurations is completed here.

Network Interface Report

A check of all Network Interface Cards and validation of drivers is completed here.

SMTP Configuration Test

The settings or properties of SMTP settings are defined here this is a great place to check security settings for this service.

SMTP Relay Settings

Relay settings are checked here again this is the place to easily verify that only authorized addresses can send through the mail server.

SMTP Inbound Bindings Test

Provides information on the bindings to IPs.

SMTP Outbound Status Test

– Informs of the status of messages queued to remote hosts a check of all logs should be immediate if and errors are found here.

DNS Resolution Test

Resolves all DNS settings.

Reverse DNS Lookup Test

Outlines the reverse DNS configuration settings and verifies settings

Web Application Configuration Test

Checks Webmail and Webadmin settings ensuring sites are correct.

Message Filtering/Anti Virus

– Shows the status of the MTA and configurations of any Filters and AV programs.

Authentication Tests

Checks all authentication provided by MailEnable.

Post Office Status Tests

Authenticates all post office accounts and domains.

Module Version Tests

Validates all *.exe and *.dll files used within the MailEnable program.

 

Note: The Diagnostic Utility is also a separate application which can be run through the Program Files->Mail Enable->System Utilities menu.

4.2       Check and Configure DNS Settings

Whilst MailEnable is relatively simple to install, you are likely to need to configure Domain Name Services (DNS) to publish your mail server to remote mail servers and clients. This is necessary so that a remote mail server will be able to determine the IP address of your MailEnable server (in order to deliver any mail to your server).

If you intend to use MailEnable on the Internet, you should have a fixed IP address that is registered under your public DNS (or you can use a dynamic IP service like DNS2GO).

Every domain that you register on MailEnable should have mail exchanger (MX) records defined with your ISP or whoever is hosting your DNS.

Because of the vast array of combinations for DNS hosting and the number of vendor specific DNS implementations, you should consult your DNS provider for instructions or inform them of your servers published IP Address along with the domain names you are hosting under MailEnable and request they configure your DNS accordingly.

More information is available on configuring DNS in the MailEnable Knowledgebase (http://www.mailenable.com/kb) and in the MailEnable forums (http://forum.mailenable.com/).

The precise approach for configuring DNS depends on whether your hosting your own DNS or whether an ISP or third party hosting the DNS. This section explains how you can configure your DNS if you are hosting your own DNS Server.

Using the DNS Management software for your DNS Server, ensure that a DNS "A" (Host) record has been created for your mail server. This record type allows the host to be identified by a host name rather than IP Address. You can validate that this was successful by ping the ping utility. You should attempt to ping the host using its host name. If this works, then the A record was registered correctly.

Next you should attempt to create an MX record that points to the A record. The exact way this is achieved again depends on which DNS server/vendor you’re using.

It is important that you understand the role of the Authoritative DNS Server. The authoritative server for a domain determines which DNS Server(s) hold the 'master copy' of the domains DNS entries as they are to be used throughout the Internet.  An example for registering MX records using Microsoft DNS Server is available at:

http://www.microsoft.com/technet/prodtechnol/windowsserver2003/proddocs/datacenter/sag_DNS_pro_AddMailExchanger.asp

To set up PTR records under Microsoft's DNS Server.

1. Ensure that DNS Forwarding is enabled on the server. This means that if a client cannot find DNS records in your server, the DNS server will forward request to your ISPs DNS servers. This can be accessed under the properties of the server - Forwarders Tab (within DNS Manager)

2. Created Reverse Lookup Zone for address range of your public IP address e.g.: 201.248.10.* This is created by selecting new Zone under the properties of the server (within DNS Manager).

3. Created PTR Records for all your IPs under the Zone outlined above (within DNS Manager).

4. Ensure the primary DNS IP addresses used by MailEnable's SMTP Connector to use your local DNS rather than referring upstream to your ISPs. This is much faster and efficient. (This is done via MailEnable MMC under the properties of the SMTP Connector)

5. Restart SMTP Service to place DNS Server changes into effect (Service Control Manager)

Note: You should check with your ISP that they allow PTR referrals to your server. This can be checked using resources at http://www.dnsstuff.com

 

4.3       Check and Configure Integrated Anti Virus

Please follow these instructions to configure Anti-Virus message scanning within the MailEnable Mail Transfer Agent:

1. Install your Antivirus application onto the same server that you have installed MailEnable Professional Edition

2. Ensure that you have disabled any resident or real-time protector capabilities of the virus application (or you have excluded the MailEnable Queues, Bad Mail and Message Store from being protected by the software).

3. Open the MailEnable administration program. Expand the Servers->Local host->Agents branch, right click on the MTA icon and select Properties from the popup menu. Select the Anti-Virus tab from the window that appears.

4. Make sure that the "Enable anti-virus support" checkbox is selected.

5. Select the appropriate item from the list of available anti-virus applications.

6. Make sure that the "Enable" (or "Enable selected anti-virus application") is selected.

7. Ensure that you have specified the correct program path to the command line virus scanner. This can be changed by clicking on the Options button. You should also ensure that the scratch directory exists. This directory is used to unpack the message as it is scanned for viruses.

8. Save changes.

9. Stop the MTA service.

10. Start the MTA service.

11. Make sure you are updating your virus definition files. See your anti-virus documentation for how to do this.

12. Test the configuration by emailing yourself the Eicar test virus from http://www.eicar.com. You can also perform more advanced testing and debugging by following the details in this article - http://www.mailenable.com/kb/viewarticle.asp?aid=85

Note: Some antivirus applications specifically require Administrative privileges to run. Since the MTA runs under the LocalSystem account, you need to change this to an account with Administrative privileges. Open the Services control panel applet. For the "MailEnable Mail Transfer Agent" service, change the user account it runs under to a Windows user account that has Administrative right (i.e. a member of the Administrators group).

4.4       Check and Configure Relay Settings

Mail Servers typically accept messages for recipients that have their mailboxes hosted on the mail server itself. Any attempt to send a message to a non-local recipient (i.e.: a recipient on a different mail server) is called a Relay. It is critical that you regulate who can send messages to others (non-local recipients) or your server will be identified as an Open Relay. You secure your server by configuring strict rules as to who can use your server to relay messages to non-local recipients.

For a server on the Internet, the best relay setting to have is to only have Allow relay for authenticated senders, and leave Allow relay for local sender addresses unchecked. This will make everyone who wants to send email out via your server provide a username and password.

To access the SMTP Relay options, open the Administration program, expand the Servers->Localhost->Connectors branch, right click on the SMTP icon, select Properties from the popup menu, and click the Relay tab as shown below:


Figure 43

 

Find below an explanation of the various relay settings.

 

Setting

Meaning

Allow relay for authenticated senders

This means that people who try to send mail out through your server need to enter a username and password (i.e. this option enables SMTP authentication). To set this is different for various mail clients, but in Microsoft Outlook Express and Microsoft Outlook for instance, you do this in the account properties via the "My server requires authentication" checkbox under the "Servers" tab. It is advisable that you have this option enabled if you aren't using privileged IP ranges. You should also ensure that you have not enabled using Secure Password Authentication (SPA).

Allow relay for privileged IP ranges

This means that you will allow people with certain IP addresses to send email through your server. If you know the IP addresses of those persons who are able to send email out through your server, you can use this option. DO NOT select this if you haven't set a list of IP addresses, as you may inadvertently allow everyone access. Normally this option is not selected.

Allow relay for local sender addresses

This will allow people to send mail if their From address has a domain that you host on Mail Enable. For instance, if you host domain.com, and someone sends a mail that has their From address as peter@domain.com, the email will be sent. Unfortunately spammers may still abuse this by pretending they are one of your users, so most servers will not use this option. Using this option may cause some anti-spam blacklists to consider your server as “open relay” and block your email.

 

 

 

 

 

 


5        MailEnable Administration

5.1       Overview

The majority of MailEnable configuration and maintenance is done through the MailEnable Administration application in a Microsoft Management Console.

You can start this application by using the Start menu in Microsoft Windows and Navigating to Mail Enable Professional as shown below:

 

Figure 51

 

Start->Programs->Mail Enable->Mail Enable Professional

 

 

The MailEnable Administrator will open are you will be presented with a window similar to the following:

 

Figure 52

 

The tree view on the left allows you to navigate through the various components of MailEnable in order to configure them. The first item in the display is Messaging Manager. This is where you modify the various global settings, such as Domains, Post Offices and Mailboxes. Explanations of these items are later in this document.

The second item, labelled Servers, is for configuring the various servers that are in your MailEnable configuration. This document only describes how to configure a single server installation but there is a document covering Multiple Server Configuration in the Appendix of this Manual.

 

 

5.2       Managing Services

There are various services that are copied onto your computer when MailEnable is installed. These services run in the background and handle the sending, receiving and distribution of email. After your initial installation, you should check that these Services are running.

Expand the Servers->localhost->Monitoring branch, and click Services. You should see the following:

 

Figure 53

 

The icons indicate the status of the service:

* Indicates that the corresponding service is running

* Indicates the service is not running, or could not be started

If a service is not running, you can start it by right clicking the service and selecting Start from the pop-up menu. The reason for a service failing to start will be displayed in the Status column. Failure of a service to start is usually due to another service running on the same port (such as the Microsoft SMTP Service). Make sure the services that could possibly be interfering with MailEnable are disabled. If a service fails to start, you can check its respective Debug log to get more details of the failure.

5.2.1           General Settings

 

General Settings for MailEnable’s configuration can be found under the Properties of the Messenging Manager. This allows you to configure the default quota for mailboxes as well as the paths that MailEnable uses to store its configuration data. You should use these settings when you wish to cluster MailEnable and have multiple servers share the same configuration repository. This will effectively allow you to configure a clustered server array or to change the location of the MailEnable configuration and storage repositories.


Managing Security and Authentication Settings

 

MailEnable Integrated Authentication allows you to use Windows Authentication as well as MailEnable’s inbuilt authentication.  It also allows you to have mailboxes created as users successfully authenticate using Windows Credentials. To enable Integrated Authentication, you must select Messaging Manager Properties and check the box labelled “Enable Integrated Authentication”.

This is a system wide setting that allows you to simply enable or disable authentication for all hosted Post Offices.

When using Tab Delimited Configuration Providers (the default configuration provider available with Standard Edition), MailEnable passwords are stored in text files under the configuration directory. You can optionally specify that you want to encrypt MailEnable passwords. If you are using integrated authentication, Windows credentials will take preference to these passwords.


 

5.3       Managing Post Offices

 

Figure 54

 

 

A Post Office is used to host multiple mailboxes and domains under one area. For example, if you were providing email hosting for multiple companies, you would create a Post Office for each company. Within the post office you can assign multiple domains and mailboxes. If you are running a small mail server, you might only have only one Post Office.  If you host multiple domains for various people, you would create multiple post offices (think of them as similar to “customer accounts”). When you first install MailEnable, a post office will be created for you, but it is best to go through the creation steps so you can understand the process involved.

If you wish to add a new Post Office, click on the Messaging Manager branch in the left tree view window of the MailEnable Administration console. In right window, you will now see an icon titled Create Postoffice as pictured below:

 

 

Click this icon to create a post office. You will be prompted to enter a post office name, so enter a meaningful name that describes the client. You also need to supply a password for a default mailbox that will be created for the post office administrator. For now, enter a password, as mailboxes will be explained in a later step. The post office name is used for mail clients, so usually the post office name would be company or business name. You have now created a Post Office.

 

Note: You can also right click the Post Offices branch and select New->Post office... to create a new post office. Functions that are represented by an icon are mostly available through right-clicking items in the left hand panel.

 

 

Figure 55

 

 

 

In the MailEnable Administration Console you can now expand the Post Offices branch to display all the available Post Offices. You will see the name of post office you have just created. Clicking on the post office you created will display the available actions you can perform (as seen in the diagram below).

 

Figure 56

 

 

 

5.3.1           Emailing All Domain Users

 

An administrator is able to e-mail all the users at a Post Office by selecting/clicking on the Post Office name under Messaging Manager->Post Offices.

Then a user just clicks on the following icon to send an email to all users of a particular domain.

5.3.2           Exporting users

 

A user list can be exported in CSV (comma-separated value) format, with the fields you require.  To export users, click on the post office where the user details are to be exported. You can click the Export Users icon or;

 

Right click the post office name, select All Tasks and then select Export Users.

 

 

Figure 57

 

From the list you select the items you wish to export to the file. Enter the filename you wish to save to and select Export.

 

 

 

Figure 58

5.3.3           Importing users

 

Windows users can be imported into a MailEnable post office.  This will create a mailbox for each Windows user. To import users select the post office you wish to import the users to. Then either click the icon for Import users, or

Right click the post office name, select All Tasks and then select Import Users.

 

Figure 59

 

You will then select the Windows users you wish to import. Select whether to give them a specific quota, or allow them to have an unlimited amount of space. The password for all selected users can be set to the same, or you can let MailEnable give the users random passwords. If giving them random passwords, you are able to export users to produce a list of all the users and the passwords assigned. By default, the users are given an email address corresponding to a domain for the post office you are importing to. Select the domain you wish to assign email addresses for. Mailboxes are automatically enabled when created.

 

 

Figure 510

 

 

5.3.4           Deleting messages

 

Messages can be deleted from MailEnable either globally or by post office or mailbox. You are able to specify how many days old the messages have to be, whether you wish to delete all messages before a certain date, or you want to delete all messages.

 


Figure 511

 

5.3.4.1     Configuring Post Office Integrated Authentication

Once you have enabled Integrated Authentication, you can then configure each Post Office with specific authentication settings. This can be accessed using the Administration Console by selecting Messenging Manager|Post Offices|Post Office Name PropertiesThe following dialog will be displayed:

 

This dialog allows you to configure the windows domain that Post Office mailboxes can authenticate against. The name of the Mailbox must match the corresponding Windows account name. For example: A mailbox named Administrator will be able to authenticate using the Windows Administrator password.

 

In simple implementations, there is likely to be only one domain (or authenticate against the local machine). More complicated implementations will allow you to authenticate against specific domains (i.e.: the organization is made up of multiple domains).

 

The settings contained within this dialog are outlined in the following table:

 

Setting

Explanation

Use Integrated Windows Authentication

This setting allows you to define whether the Post Office can use Windows Authentication.

Use Post Office Name as Windows Domain Name

You should select this option if the name of the Post Office matches the desired Windows Domain Name.

Map this Post Office to the following Domain Name

This setting allows you to define the Windows Domain Name that the will be used for authenticating this Post Office’s Mailbox users. If you wish to authenticate against the local machine, you can either leave the Domain Name blank or enter a single period (.).

Authenticate against Active Directory

This option configures MailEnable to use UPN style logins, rather than legacy Windows NT style logins. Both login mechanisms work equally as effective, except Active Directory allows you to host multiple domains in its hierarchy.

Enable Account Creation

This option allows accounts to be created as users attempt to Authenticate. If a user enters valid Windows credentials, their mailbox is created automatically. By enabling this option, you can immediately provide access to mailboxes for those who have validated against the specified domain.

 

5.4       Managing Mail Domains

Domains are logically placed under the Post Office that owns them. You can use the Administration Console to manage the domains that are serviced by a Post Office (or customer). A domain is of course needed in order to create and send emails. To add a domain, from the right hand side window of the MailEnable Administration Console click on the Create Domain icon.

 

 

You will be prompted for the domain to add.

 

Figure 512

 

 

Here you must enter the full domain you wish to receive emails for. For instance, if you wish to receive emails such as sales@mailenable.com or info@mailenable.com, you would enter the domain mailenable.com here. The domain you add will now appear under the Domains branch.

Multiple domains can be assigned to a Post Office. You need to have at least one domain configured in order to have a valid email address.

 

 

Domain is disabled

Stops email being sent to the domain.

Abuse Address

You are able to enter the email address or select the mailbox for the abuse@domain email address.

Postmaster Address

You are able to enter the email address or select the mailbox for the postmaster@domain email address.

Catchall Address

A catchall address will catch all emails for a domain that do not have a mapping to a mailbox. You are able to select an existing mailbox to send all the emails to, or you can enter the email address where you wish to send them to. By implementing a catchall, be aware that this will capture a lot more spam, so make sure you monitor the mailbox or email address you have selected as a catchall.

Act as Smart Host

This will redirect all mail for the current domain to another mail server. This would be used if for instance you were acting as a backup mail server for the domain. You are able to specify a port number by adding a colon and port number after the IP address. e.g. 192.168.3.45:30. Do not enter the IP address of your MailEnable server, as it will create a message loop (the mail server will send to itself) and messages will finally end up in the Bad Mail directory.

 

 

Remote hosts can be stopped from sending an email to this domain by adding them to the blacklist for the domain.

 

 

5.5       Managing Mailboxes

A mailbox is a repository for email. It is used to store emails for one or more email addresses.  When your server users connect via POP with a mail client application (such as Microsoft Outlook or Eudora), they connect to a Mailbox in order to retrieve their email. A Mailbox can have multiple email addresses. This means a user only requires one Mailbox to connect to, from which they can retrieve email from all their email addresses.

When creating a mailbox MailEnable will automatically create an email address for each domain in the post office, using the format mailboxname@domain. When a mail client application logs onto to MailEnable to retrieve email, it needs to have its username formatted as mailboxname@postofficename.

To create a mailbox, click the post office branch. Select Create Mailbox from the icons displayed as the one shown below.

You will be presented with the following window:


Figure 513

 

The first text box is the Mailbox Name, where you enter a name for the mailbox you are creating. If the person who will be using this mailbox to download their emails is named John Brown, you may want to enter johnbrown here.

This both identifies the user and ensures there is no duplication of Mailbox names. As you enter the Mailbox Name in the text box, you will notice the POP Logon name entry just below it will change to reflect your entry.

The POP Logon name is the same as the “User Name” that is used by mail clients when they connect to the server to retrieve email. MailEnable uses the @ symbol to identify the post office the mailbox belongs to. This way, you can have the same mailbox names in different post offices (although the username to retrieve their email will differ, since the username is formatted as mailboxname@postofficename).

The second text entry box is the Password, where you enter a password that will, together with the POP Logon name, give access to the mailbox. Once again the Password you set is the same as the password that is used by mail clients to authenticate when they connect to the server to retrieve email.

The options in a mailbox are:

General Options:

Mailbox Name

This is the name of the mailbox. Once created, this cannot be changed.

POP Username for mail clients

This is the username used for logging onto the server via POP3. Use this information to set up the client mail software (this is the username).

Password

The password for the mailbox. This is used by the client software when connecting. If SMTP authentication is turn on, this password is also used for sending email. Other extensions to the MailEnable product may also use this username/password combination.

Select random password

Creates a random 8 character alpha-numeric password.

Mailbox Type

Determines the access level for the mailbox. If the mailbox is given "ADMIN" rights, then the user will be able to administer MailEnable via the administration web interface (this is only relevant for MailEnable Enterprise version).

Mailbox has a size limit

Limits the size of the mailbox. If an email will take the size of the inbox over this amount, the email is bounced back to the sender.

Logon Disabled

When a mailbox is disabled, it cannot be accessed via a service, such as POP3 or WebMail. It would be used when you don't want the mailbox or email mappings to the mailbox to be recognised, but don’t want to actually delete it. Useful when you wish to suspend an account.

Delete messages

Allows the deletion of messages from the mailbox. Deleting messages from the mailbox properties page will only delete emails from the selected mailbox.

 

Addresses

Reply To Address

This address is used as the reply to address for autoresponders.

Email Addresses for Mailbox

Each mailbox can have one or more email address mapped to it. Use the Add Email… button to add new email addresses. You are only able to add an email that matches an existing domain for the post office. When you first create a mailbox, MailEnable will automatically create emails for each of the domains for the post office.

 

Redirection

Redirect this mailbox to

The Redirection property page allows you to redirect all email for the mailbox to an alternative email address or addresses. To enable redirection, select the Redirect this mailbox to checkbox. Click the Add button to add email addresses. If you have more than one email address listed, the email will be copied to all of the addresses you have listed. There is a limit of approximately 25 email addresses you can redirect to (the limit depends on the length of each email address).

Keep a copy of the message in mailbox

By default, when you redirect a mailbox to another email address a local copy is not retained. By enabling this option you can keep a copy of all the messages that are being redirected.

 

Messages

Messages

Lists the current messages in the current mailbox. Double-click an item to view the contents of a message. On the most recent 200 messages are displayed.

 

Actions

Enable autoresponder

Enabling this will send a message back to anyone who sends an email to the mailbox. You cannot enable autoresponders for the postmaster mailbox.

Enable delivery event

This option allows you to execute a program on every message when it is delivered to a mailbox. The command line executed is:

program messagefilename connectortype

Where program is the program filename, messagefilename is the name of the message file and connectortype is the type of messages (i.e. SMTP, LS, SF). Be aware that the directory path to the message is not passed to the program. You will need to read the directory path from the registry in the program file.

 

Note: If SMTP authentication is turn on, this password is also used for sending email. Other extensions to the MailEnable product may also use this username/password combination.

 

An administrator can E-Mail a user/mailbox owner from within the Messaging Manager by right clicking on the Mailbox and selecting Send email as shown below.

 

Figure 514

5.6       Managing Email Addresses

When you create a mailbox, email addresses are created for all the domains available in the post office. For instance, if you have a domain called mailenable.com, and created a mailbox called peter, the email address peter@mailenable.com will automatically be created. If you wish to create new email addresses, you can add them by selecting the Emails tab at the top of the window. A list of the current email addresses will be shown. In order to add another email address for this mailbox click the Add Email button. The following window will appear:


The first text box, Enter email name is where you enter the first part of the email address. So if you are adding sales@mailenable.com you only need to enter the word sales. As you enter the email name you will see the actual full address of the email you are adding in the label below it.

You will also notice the Available Domains list box in this window. The Domains listed here are domains that are entered via the Create Domain icon. MailEnable restricts you to adding email addresses only for the available domains in each Post Office account. For the purpose of this guide we have entered only one domain. In cases where there are more than one domain in a client’s post office account, these domains will appear in this list box. You can then select the appropriate domain by clicking on it and then entering email name that is required.   Select OK on the Add Emails window when you have entered an address. It will now appear in the mappings list.

Select OK on the Mailbox Properties window as your mailbox has now been configured.

5.7       Managing Groups

 

A group is an email address that maps to one or more other email addresses. For example, you can set up a group which has the recipient as socialclub@company.com and add 50 email addresses as members of this group. When someone emails socialclub@company.com, the mail is duplicated and sent to all 50 members. When creating a group, the group name is the full text of the group name so you can easily identify it. The recipient address is the email address of the group and within this group there can contain multiple external groups.

Groups can have several external addresses. So the one group can have different email addresses that can be used.

To import users into a group form a text file, right click on the group icon in the treeview display and select the All Tasks->Import Members menu item.

 

 

 

5.8       Managing Lists

 

Figure 515

 

MailEnable contains a list server that enables people to subscribe and unsubscribe to a list. A list is an online discussion group or information mail out, where emails are sent out to all the members. People are able to post to the list, and the server will duplicate their email and send it out to all the members. When a user wishes to subscribe to a list, they need to send an email to the list with the word “subscribe” in the subject.  When the user wishes to be removed from the list, they need to send an email with the word “unsubscribe” in the subject.

 

The options associated with a list are outlined in the following table:

 

General

List name

The name of the list. This determines the address that people email to in order to post to the list. You can see the full email address for the list at the bottom of the General property page.

Select domain for this list

The domain used for the list name.

List owner email (also moderator)

The email address of the moderator. When a list is moderated, all the emails that are posted are sent to the moderator. It is the job of the moderator to decide whether or not the email is to be posted. Only emails coming from the moderators email address will be posted to the list.

List is disabled

Disables the list so no one can post to it.

Enable list help

Enables help for the list. So if someone posts to the list with the subject of help, then they will receive an email with details of what commands the list server will accept.

Send from

This determines the From address which will be used for all emails coming from the list. This can be either the moderators email address or the list address. This does not determine where the reply goes to.

List Type

Determines whether the list is moderated or not. If moderated, all incoming emails will be sent to the moderator email address.

Description

A description of the list. This is displayed in the Administration program to allow you to easily see what a list is about.

MailEnable also provides advance list configuration options. These options allow you to control who can post to your lists, where list replies should be directed, who can subscribe to your lists and the format of any subject prefix that is applied to posts.

 

Options – Posting Permissions

MailEnable allows you to control who can post to specific list.

Anyone can post to this list

Anyone is allowed to send a message to the list.

Ony subscribers can post to this list

The list will only accept posts from email addresses which exist in the list.

Posting to this list requires a password

You are able to password protect your list. To send an email to a password protected list users need to enclose the password in [: and :]

 

Options – Reply Options

These options allow you to determine who should receive responses when a recipient replies to a post.

Subscribers reply to the list

The reply to address is set to the list address, so when users reply to a message that gets sent from the list, their email gets sent to the list.

Subscribers reply to the posters address

The reply to address is set to the email address of the sender, so when users reply to a message that gets sent from the list, their email gets sent to the person who made the original post.

Subscribers reply to the moderators address

The reply to address is set to the moderators email address, so when users reply to a message that gets sent from the list, their email gets sent to the moderator.

 

Options – Subscription Permissions

These options determine who can subscribe to the list (and whether the list supports subscriptions via e-mail.

Anyone can subscribe to this list via email

Allows people to subscribe to the list by sending the word “subscribe” as the subject of an email to the list.

E-mail subscriptions are not permitted for this list

Stops people from subscribing to the list. List members can only be added through the administration program.

 

List Subject Prefix

Most lists place a prefix in the subject of the list messages. This allows subscribers to filter the messages that are dispatched to them via the list server. These options allow you to control the prefix that is appended to the subject of messages that are dispatched to list subscribers.

Subject is prefixed with the name of the list

The list name, enclosed in square braces ([ and ]) is added to the start of the subject line of emails posted to the list.

Subject is not altered

The subject is not altered for any messages posted to the list.

Subject should have the following prefix

The specified text is added to the start of the subject line for all emails posted to the list.

 

Headers/Footers

Attach header

This text is added to the top of every email when the Attach header checkbox is selected.

Attach footer

This text is added to the bottom of every email when the Attach footer checkbox is selected.

 

MailEnable can import users from a text file to a list. Right click on the list icon in the treeview display and select the All Tasks->Import Members menu item. You can then import members from a text file.

 

Users send commands to the list by putting the command in the subject line. The available commands for the list server are:

 

 

 

 

5.9       Managing Server Configuration

The server you have installed MailEnable on must be properly configured to accept and transmit Internet traffic. The Domain Name Server (DNS) for your hosted domains needs to be configured with the correct details. The DNS informs other mail server software what your IP address is in order for them to connect to you and deliver email. This means you need to make sure that the DNS that contains the details about your domain has an MX record. Your domain name provider will be able to configure this for you.

If you are not on a static IP address (i.e. your IP address changes) and you want to direct emails and domains to the server, you will need to use a dynamic DNS provider that keeps track of your changing IP address and updates the DNS details accordingly. Companies that offer this server may charge a monthly fee, although there are some free services available. You are still able to send email from MailEnable with a dynamic IP address, but unless the DNS is updated with your new IP address every time it changes, other mail servers will not be able to connect to yours.

If you are operating MailEnable from a computer at your office or home, make sure that your Internet plan allows you to run a mail server. Some providers block incoming email to mail servers on their network, to avoid the possibility of spam abuse. If unsure, please ring your service provider. If MailEnable can send email correctly, but does not receive any, it is likely to be either your DNS settings, or your ISP has blocked incoming email to stop you running a mail server.

5.9.1           General Configuration

General Server Configuration Options are located under the properties of the Messenging Manager.

 

Using this dialog, you can specify the default post office for your server. This means that any username that only has the mailbox name will be assumed to be from the default post office.  E.g. the sales@yourdomain.com user will only need to use sales to log on with.

 

The Server Properties dialog also allows you to define the level of encryption for your Authentication database. The default setting is to store credentials unencrypted, however, you can change the server setting to use hashed passwords as an alternative.


6        Configuration of Services and Agents

6.1       SMTP

6.1.1           What is an SMTP Connector?

An SMTP or Simple Mail Transfer Protocol connector in this instance is used to send e-mail messages between servers. Most e-mail systems that send mail over the Internet use SMTP to send messages from one server to another; the messages can then be retrieved with an e-mail client using either POP or IMAP. In addition, SMTP is generally used to send messages from a mail client to a mail server. This is why you need to specify both the POP or IMAP server and the SMTP server when you configure your e-mail application.

Note: Frequently, POP and SMTP servers are the same computer. Some ISPs (Internet Service Providers) use one server for receiving mail (POP Server) and another for sending mail (SMTP Server), this is done mostly for load balancing and for redundancy.

 

6.2       Configuring the Server

Using the Administration Console You can access the SMTP options by expanding the Servers->Localhost->Connectors branch.

 

Figure 61

 

Right click on the SMTP icon and select Properties. The options are explained below

 

Figure 62

 

Local Domain Name

This is the domain name of the server you have installed MailEnable onto, or the default domain for your configuration. It is used for system messages, and also used to announce your server when it connects to remote server, and when remote servers connect to MailEnable.

DNS Address

The DNS that the local machine uses. If using more than one DNS then separate the addresses with a space character. If the SMTP service fails to connect to the first DNS it will try the second or subsequent DNS. Use the DNS that you have configured for your local network. Remember that this is not necessarily the DNS of where your domain name is registered.

Bad Mail Sender Add.

The address from which bad mail notifications are sent from. When MailEnable sends out email such as message delivery delays, or delivery failures, it will use this address as the "from" email address. Usually you would use postmaster@localdomainname.com (substitute your domain here). Make sure this is a valid email address.

Maximum message size

Entering a value here will inform remote mail servers and email clients of the maximum size of an email that should be sent to the server. The size is represented in kilobytes. The value may be ignored by clients or remote mail servers. A size of 0 means that there is no limit on message size.

SMTP Port

Determines the port the SMTP service is running on. The default is 25.

Also listen on alternate port

You can also allow the SMTP service to listen on an alternate port by enabling this option. Usually this is done to cater for clients who may be on connections where their outbound port 25 has been blocked.

Access Control

The Access Control feature allows you to specify who can connect to your email server. You can specify a list of IP addresses that are either banned from connecting, or are the only ones allowed to connect. You can use the * character as a wildcard.

Outbound binding

This option allows you to force the SMTP to use a specific IP address on the server when it is trying to deliver email.

IP Addresses to bind SMTP to

You are able to select the IP addresses that the SMTP service will be bound to. On a multi-homed machine you may only wish to listen to connections on particular IP addresses. Always bind all IPs will allow connections on all IP addresses that are configured for the machine.

 

Relay Configuration

Allow Mail Relay

In order for MailEnable to send email, you need to enable Mail Relaying. Otherwise MailEnable will only be able to receive email. There are three options available to limit those who are able to send mail out through your SMTP server. You are able to select any combination of the three in order to best meet your needs. A client only has to match one of the items in order to relay through your mail server. These settings are described in Chapter 4.4.

 

 

Advanced SMTP

Max. Send Threads

The amount of threads that are used to send email.

Max. Receive Threads

The amount of threads that are used to receive email.

Message Retry Count

How often a message send is attempted before the email is bounced.

Timeout for Remote Mail Servers

How long the SMTP service will wait for a response from a remote mail server before disconnecting.

Poll Interval

How often the SMTP service polls the queue directory for mail messages to send. This is measured in seconds.

Enable alternate catch-all header

When mail is sent to an invalid recipient and they are specified as a BCC on the message, it is difficult for the mail administrator to know who should have received the message. The Catch-All header allows you to specify the name of the message header field that is used to record any recipients that were delivered to the Catch-All account. By default, MailEnable records this information into the Received By: message header; hence this setting is supplied to provide more control over how the information is recorded within the message.

 

Limit outbound message size

This option will force MailEnable to check the size of each message before delivering to a remote mail server. If the message cannot be delivered it will be returned to the sender (or sent to the bad mail directory if the message is system generated).

Add Message-ID/Date for authenticated senders if missing

Some email clients or applications will not add a Message-ID or Date header line to their emails. You may encounter a mail server which requires these items and will reject the email if they do not exist. By enabling this option, MailEnable will add the required lines if they don’t exist to all users who are authenticated to relay through MailEnable.

Allowed SMTP Commands

The list of SMTP commands you are able to disable are shown here. For example, you may wish to disable the EXPN, which displays all the emails of users in a group, or VRFY, which will allow someone to confirm an email address on the system.

 

Security

Reject mail if sender address is from invalid domain

When a user is sending mail to MailEnable, this option will check the From address in order to verify the domain it is coming from. This is used to stop people abusing the mail server by using incorrect information. The majority of people who use an incorrect From address are spammers. This may affect valid email from incorrectly configured clients, so you should monitor your logs more often.

Authenticated senders must use valid sender address

If this is selected, user with authenticate to send email must configure their email client with a valid email address that is assigned to the mailbox they are using to send on. This option is useful to force clients to use a legitimate email address, thereby reducing the possibility of spam.

Hide IP addresses from email headers

By default, the IP address of a client connecting is displayed in the header of an email message. If you have an network with it’s own IP range where you do not wish to expose what range you use to receivers of emails, then you would enable this option, which will replace the IP address with 127.0.0.1

Require PTR DNS entry for unauthenticated connections

If an inbound connection has not been authenticated, MailEnable will look up to see if there is a PTR DNS entry for the connecting IP address. MailEnable will not validate whether the entry is valid, it will check to see if one exists.

Allow domain literals

MailEnable will allow inbound emails to be formatted as user@[IP Address], such as user@[192.168.3.10]. MailEnable will accept emails for any of the IP address which have been configured on the server. If you are using NAT, or wish to accept extra IP addresses which are not configured on the server, you can click the Advanced… button which will allow you to enter these extra IP addresses.

Use alternate welcome message

When an email client or other mail server connects to MailEnable, a one line welcome message is displayed. By default, this indicates that the server is running MailEnable software, and shows the version of the software. If you enable this option, you can replace the welcome message with your own. There are also two variables which you can use in your welcome text that will be replaced. These are:

 

%LOCALDOMAIN% - this will be replaced with the SMTP domain from the SMTP options

%TIME% - this will be replaced with the current time on the server

Maximum number of recipients per email

You are able to restrict the amount of recipients per email. MailEnable supports up to 300 recipients per email. If you need to send one email to more than 300 recipients, this can be done through the use of a list or group.

Drop a connection when the failed number of commands or recipients reaches

Most proper email clients will recognise error codes returned by the mail server for an invalid recipient or similar. But some spammers and bulk email utilities may not recognise these errors and keep trying to send. By enabling this option, MailEnable will drop the client connection. It is recommended not to use a low value (5 for example), as some valid web scripts will not check the return codes either – but these will only produce a small amount of failed commands.

Auto-ban the IP address if this number is reached

If a connection has reached the disconnection limit, you can also automatically add the IP address of the client to the SMTP Access Control list. Be aware that if enabling this option, your Access Control list can grow, and adversely affect the performance of the SMTP service. So it is recommended to check the Access Control list regularly.

 

Delivery

First Retry

The delay before a message is retried for the first time. The default is 15 minutes.

Second Retry

The delay before a message is retried for the second time. The default is 30 minutes.

Third Retry

The delay before a message is retried for the third time. The default is 60 minutes.

Subsequent retries

The delay before a message is retried for the first time. The default is 240 minutes.

Failed Message Lifetime

This determines the amount of time a message will stay in the outbound queue before MailEnable gives up and moves the message to the Bad Mail directory. If the message has hit the maximum retry amounts, it will be moved to Bad Mail, even if Failed message lifetime has not been reached.

Delay notifications

When an email fails to be delivered, but the error is not permanent (which could happen if there was a network error, the remote server was down, or other errors), then MailEnable will send an email to the original sender to inform them that the message has been delayed. This option will allow yo to turn this off, send a message only on the first failure, or to send a message back for each send delay.

Do not generate Non-delivery Receipts

When an email cannot be delivered and the error is permanent, then MailEnable will send a message to the original sender informing them of the error. Enabling this option will stop this message from being generated.

 

Smart Host

Smart Host Enabled

Enabling this option will force all outbound email to be sent to one server, which you would enter here. Do not configure this to point back to your MailEnable server.

This server requires authentication

The server you are forwarding all your email to may require SMTP authentication. If so, enable this option and enter the username and password that has been assigned to you.

Domain smart-hosting takes priority

You may wish to configure a local domain in MailEnable and smart-host this to a different server to your general outbound email. Enabling this option will allow the smart-hosts you have configured for individual domains to override the SMTP outbound smart-host.

 

Logging

Logging Options

MailEnable's SMTP Connector provides W3C, Activity and Debug Logging. W3C Logging is used to record service usage, Activity logging is used to record system activity and Debug Logging is used to provide low-level information on system activity.

Enable Logging

Enables W3C logging for the SMTP service. W3C Logging allows you to specify which fields are logged and the rollover frequency. The directory can also be specified.

Activity Log

Enables the Activity Log.

Debug Log

Enables the Debug Log.

 

6.3       Reverse DNS Blacklisting

Note: Reverse DNS Blacklisting is not available under Windows NT 4, and you will not see its configuration screen

Reverse DNS Blacklisting allows you to use popular DNS based blacklists with MailEnable this can help to control Spam. You can select which RBL blacklist providers you want to use. You should enable only the providers that you need as it has an impact on performance.

DNS blacklists are lists of IP addresses which are not allowed to connect to our email server. These lists are formed in various ways. Some lists are simple listings by country, some list known spammers and some are reactive and add entries only after an IP address was responsible for sending out junk email. Blacklists have a high risk of causing "false positives", which means that legitimate email may be refused. If you would like to use DNS blacklists, please do some research on how the lists are maintained, what the removal process for listed IPs is and what their motivations and goals are with their list. Choose the list(s) that are right for you.


You can configure Reverse DNS Blacklisting as follows:

1. From the MMC select Servers|Connectors|SMTP|Properties
2. Click on the Reverse DNS Blacklisting Property Sheet
3. Check the option to Enable Reverse DNS Blacklisting
4. Scroll down the list and select the Blacklist Provider (eg: Spamhaus)
5. Check the box to enable the selected blacklist.

Setting

Explanation

Enable Reverse DNS Blacklist

This enables or disables Reverse DNS Blacklisting for the SMTP Connector.

Blacklist Service

You can use this combo box to list Anti-Spam service providers and their settings.

Enabled

This option allows you to specify whether you wish to configure the server to check a specific Blacklist Provider.

DNS Path

This allows you to define whether you wish to refer your lookup request to the service providers DNS Zone or to simply query a DNS Host for an entry. Most implementations of DNS Blacklists require a Zone lookup.

Zone/Name Server

This is the name of the DNS Zone or the IP Address of the DNS host that should be queried.

Record Type to check for

When the remote host or zone is queried, it may return one or more DNS Record types. Most implementations return an A record, but other implementations may return NS, PTR or MX records.


Note: You can configure a white list that will override the reverse DNS blacklist. This is configured in the MMC by selecting the White list button on the Reverse DNS Blacklisting tab under the properties of the SMTP Connector.

Note: Reverse DNS blacklists affect the performance of incoming email. The reason for this is that for each inbound connection, MailEnable will perform a lookup in the remote DNS.

 

MailEnable provides a list of well known Reverse DNS Blacklist providers. You can also configure your own blacklist provider by pressing the Add... button.

 

Once you have added the provider, you are able to configure it using the screen outlined earlier. You must click the Enable button before you can configure the service provider’s details.

 

 

6.4       POP

POP stands for Post Office Protocol, the language used by computers to describe how mail is retrieved by the user. If you have an e-mail account where you routinely pick up your mail, you probably do so through their POP server, though some online services maintain their own proprietary mail transfer system.

Frequently, POP and SMTP servers are the same computer. Some ISPs (Internet Service Providers) use one server for receiving mail (POP Server) and another for sending mail (SMTP Server).

 

6.4.1           Configuring the Server

APOP is an authentication method for clients who are connecting to the mail server to read their mail.

The following table outlines the configuration options for MailEnable’s POP Service:

Enable APOP authentication

Usually, the users’ username and password are sent in clear text format (i.e. not encrypted). Due to this, people are able to "tap" into the data stream and read the username and password. To avoid this, APOP encrypts the password before sending, and it changes every time the user logs on. So even if a person manages to grab the encrypted password, they will not be able to use it to log on. Enabling this option will force clients to enable APOP authentication on their mail client software. Make sure your users are using software that supports APOP, otherwise they will not be able to receive email. A lot of the older mail clients do not support APOP.

Access Control

The Access Control feature allows you to specify who can connect to your POP service. You can specify a list of IP addresses that are either banned from connecting, or are the only ones allowed to connect.

POP Port

This is the port MailEnable will allow client POP connections on. The default is 110.

Maximum Threads

Determines the maximum amount of threads the POP service will use.

Inactivity Timeout

Disconnects a user from MailEnable if they have been inactive for a period of time. Also, if a user disconnects incorrectly, they may not be able to log in again until this time has expired.

Alternate @ characters

Some older mail clients don't allow the use of @ in the username section. Since the MailEnable usernames are formatted in mailboxname@postoffice format, this may cause problems. To solve this, MailEnable allows you to specify the characters that can be used as a substitute. Just enter the list of characters such as #$%. This will allow users to log on using mailboxname@postoffice, mailboxname#postoffice, mailboxname$postoffice and mailboxname%postoffice.

Also listen on alternate port

You can also allow the POP service to listen on an alternate port by enabling this option. Usually this is done to cater for clients who may be on connections where their outbound port 110 has been blocked.

IP Addresses to bind POP to

You are able to select the IP addresses that the POP service will be bound to. On a multi-homed machine you may only wish to allow connections on particular IP addresses. Always bind all IPs will allow connections on all IP addresses that are configured for the machine.

Enable Logging

Enables W3C logging for the POP service. W3C Logging allows you to specify which fields are logged and the rollover frequency. The directory can also be specified.

Logging Options

Produces a debug and activity log for the POP3 service. Use this if you need to get more details about what the service is doing (i.e. you are debugging a problem).

6.5       POP Retrieval Connector

The POP Retrieval Connector will allow you to retrieve email from remote POP sites and deliver to local mailboxes. Administrators are able to configure this through the administration program, and it enabled for webmail users, can be configured.

Note: Do not configure POP retrieval to pull email down from local domains.

 

Figure 63

 

 

 

 

 

 

 

Property

Explanation

Poll Interval:

The delay between polling the remote mail server.

Max. number of threads:

The maximum number of threads that the polling agent uses to poll remote mailboxes.

Days to keep history

In order to stop downloading the same email every time a poll is performed, MailEnable keeps a history of the messages downloaded from each server. In order to conserve resources, you can specify how many days to keep this history of messages.

 

 

6.6       Configuring User Mailboxes

The POP Retrieval Connector allows you to collect email from remote POP servers and deliver to a local mailbox. At a specified interval, the connector will retrieve email from all the remote servers that have been specified.

 

 

Figure 64

 

 

 

You can retrieve mail from multiple sources for the one mailbox. Click the Add button to add a new remote source. This will present you with the following window, where you would enter the details that were provided to you in order to access your email.

 

Figure 65

 

 

Setting

Explanation

Mail Server

The server name from where you wish to retrieve email.

Port

The port to connect to. The default is 110.

Username

The username supplied to you in order to retrieve your email

Password

The password for the remote server

This server requires APOP authentication

Check this if the remote servers requires APOP authentication.

Leave messages on server

This will not delete the message from the remote server.

Only download new messages

MailEnable will keep track of messages that have been downloaded from the remote server, and will not download a message twice.

Enabled

Whether the email will be retrieved from the remote server.

 

In order to keep track of which emails have been downloaded by a mailbox, a temporary file is kept. This file is located in the following directory

6.7       Mail Transfer Agent (MTA)

The Mail Transfer Agents (MTA) is primarily responsible for moving messages between MailEnable Connectors. The MTA moves messages from Inbound Queues to the respective Outbound Message Queues of different connectors based on rules defined in an Address Map table.

 

Examples for MTA functionality follow:

 

 

The configuration options for the Mail Transfer Agent are outlined in the following table:

 

Inbound mail max. delivery time

The delay time before an inbound mail message is delivered.

Maximum threads

The amount of concurrent threads which will be used to move emails around. Some command line virus checkers do not like to have multiple instances running, so you can restrict the MTA to using one thread to resolve this.

Enable pickup event

When an email arrives, you are able to execute a program, and MailEnable will pass the mail message filename to the application. For example, if you write a VB script that adds some text to the end of each email that gets delivered, you would enable the pickup event. The command line used to execute the application is:

program messagefilename connectortype

Where program is the program filename, messagefilename is the name of the message file and connectortype is the type of messages (i.e. SMTP, LS, SF). Be aware that the directory path to the message is not passed to the program. You will need to read the directory path from the registry in the program file.

Logging Options

Produces a debug and activity log for the POP3 service. Use this if you need to get more details about what the service is doing (i.e. you are debugging a problem).

6.8       HTTPMail Protocol

HTTP is the protocol by which web traffic is handled. It defines how web pages are formatted and in what way they are delivered over the Internet. It also includes any information about the objects that are needed by proxy servers or a user's web browser. Currently, HTTP 1.1 is an IETF Standard. The World Wide Web Consortium is the leading organization dedicated to developing this standard. MailEnable Professional was one of the first mail servers to supply a HTTP Mail server component. HTTP Mail is a relatively new protocol for the server hosted messaging services. Fundamentally, HTTP Mail provides an alternative to using POP and SMTP, with the added benefit of allowing messages to be hosted on the server (rather than downloaded onto the client). Further to this, using HTTP Mail, you can move messages between your server and local stores as you desire.

HTTP Mail utilises WebDAV HTTP Extensions to provide remote access to server hosted mail folders using standard HTTP communication. This service is a major value add to MailEnable because it allows mail messages to be hosted on the server and provides tight integration with Outlook 2002 and Outlook Express. HTTPMail is a mail access protocol that allows you to access your mail from the server without downloading the mail (as is often the case with POP). HTTPMail provides similar functionality to IMAP, where by an Outlook Express or Outlook 2002 client can access and manage messages and folders on the server. Unlike IMAP, it does not require SMTP to send message.  HTTPMail posts messages into the postoffice where they are either locally delivered or dispatched through the SMTP Connector.

Another benefit HTTPMail has over using POP and SMTP is it can be configured to operate over Port 80 enabling access to your mail through corporate firewalls.

If you have installed MailEnable Professional and selected to install HTTPMail, the service is published on port 8080 of your server (you can change this setting to an alternate port but 8080 is the default so that the service does not conflict with any existing web services that may be running on your server).

 

6.9       Configuring the Server

You are able to enable or disable various features of HTTPMail via the MMC Administration console.

 

These server configuration options can be found under MailEnable

 

Management | Servers | localhost | Services as depicted below;

 

Figure 66

 

HTTPMail requires very few configuration settings. The major configuration settings are the IP address(es) and port bindings for the HTTPMail Service.

 

Figure 67

6.10  Web Mail

Webmail is a powerful mail application that allows clients to send and receive email via the Internet.

Once installed, Webmail can be accessed from

 

Example: http://HostName/mewebmail

 

In place of the HostName in the above example, you should use the server name as defined in DNS or under IIS. You can also use the IP address of the machine.

 

When you browse to this location, you will be presented with the Web Administration logon screen.  Users should use the same username and password that the POP service uses. Remember that the username is formatted as: mailboxname@postofficename

If you have set a default post office using the administration program, you don’t need to use the @postofficename after the mailbox name.

Leveraging Internet Information Services versions 4.0 and above, the WebMail component allows you to provide messaging services via the web browser. Users can access the messages hosted on the server and send and receive email via a web based front end.

 

Features of Web Mail include:

 

 

 

A screen capture of MailEnable’s Web Mail is outlined below this could vary in appearance depending on version and chosen skin fro Webmail Interface.

 

Figure 68

 

MailEnable Web Mail is installed as a Virtual Directory under an existing IIS Web Site. Typically there are two web sites that are pre-configured under IIS, these are the “Default Web Site” and the “Administration Web Site”. IIS also allows you to create additional sites (either using host-headers or additional IP addresses) using the Internet Services Manager. 

 

Some of the many features are:

·         Works with IIS4.0 and greater, allowing easy integration

·         Supports viewing of HTML mail

·         Add attachments to email

·         Support for various charactersets (Big5, etc.)

·         Timezone selection

·         Auto-signature

·         Manage folders

·         Contact list

·         Configure redirection

·         Configure POP Retrieval

·         Custom skins, and easy development of a custom interface

·         Read receipts, message priority

·         Change passwords

 

 

Here is a screen shot of the MailEnable login screen;

 

Figure 69

 

6.11  Configuring the Server

You are able to enable or disable various features of WebMail via the MMC Administration console.  Using, the MMC Console, you can change whether you’re WebMail users are permitted to configure pop retrieval accounts, redirect mail, or whether they view can view html formatted e-mails.

 

Figure 610

 

 

The key settings for WebMail are explained in the following table:

 

Setting

Explanation

Enable POP Retrieval for WebMail

This option determines whether POP Retrieval is able to be configured in the WebMail options tab.

Enable Redirection for WebMail

This option determines whether WebMail users are permitted to redirect their mail to alternate addresses.

Display HTML mails in preview window

This option determines whether HTML mails are shown in the preview window. Setting this option increases the system overhead of MailEnable.

Enable auto responder configuring

This option determines whether WebMail users are permitted to configure auto responses for their mailbox (for example: Out of Office automatic replies).

Create URL and email hyperlinks for plain text messages

This option instructs MailEnable to render mail messages and hyperlinks in plain text messages as URLs.

Users can set their display name

Allows users to specify the friendly name to be used.

Number of messages per page

Determines the number of messages that will be displayed per page.

Height of inbox list

Sets the height of the inbox list in pixels.

Default characterset

The default characterset that will be used for users who have not set it themselves through their webmail options.

Default timezone

The default timezone to be used for users who have not set it themselves through their webmail options. This option is not used currently, as the timezone is taken from the client computer when they connect.

 

 

 

Configuring WebMail for Multiple Sites

 

MailEnable allows you to configure WebMail for each IIS Web Site hosted on your server. To enable WebMail on multiple web sites on your server, a virtual directory must be created for each Web Site.

A utility that does this can be found in the MMC in the following location:

MailEnable Management |Servers| localhost | WebMail | Properties | General.

This utility appears as follows:

 

Figure 611

 

The utility should list all the web sites that are published under IIS. You can then install or remove web mail on each of these sites. 

6.12  Web Administration

MailEnable Professional includes Web Administration. If you have authenticated as an Admin user, you will be able to manage users/mailboxes, lists, groups, and domains. If you are hosting multiple post offices (lets say one per customer or company), each company can manage their own configuration.

Here is a screen shot of the Admin Login Screen;

 

Figure 612

 

Some of the many features are:

·         Works with IIS4.0 and greater, allowing easy integration

·         Manage domain related information

·         Manage the creation of email addresses

·         Manage email lists and groups

·         Custom skins, leveraging skins from WebMail

 

Following is a display of the options available and how they are displayed within the welcome screen:

 

Figure 613

 

6.13  Configuring the Server

Web Administration is installed as an optional MailEnable component. The MailEnable installation program is configured to have it installed by default (hence it will only not be installed if you changed the options when you installed MailEnable). You can validate whether web administration is installed by reviewing your MailEnable Diagnostic Report.

 

You need to ensure that web administration is enabled for a post office before it can be administered. This is done through the administration program.

 

  1. Expand the MailEnable Management->Messaging Manager->Post Offices branch.

 

  1. Right click on the post office name, and select Properties from the popup-menu.

 

  1. A property page dialog will appear. Click the Web Admin tab at the top of the window to enter the property page for the web administration.

 

  1. To enable web administration, select the Enable web administration for post office checkbox.

 

Figure 614

 

 

You are now free to configure the various options that the post office administrators can have access to. It is recommended not to give users the ability to add and edit domain properties, since changes or additions can cause problems with mail delivery.

Once the administration web is enabled, you can specify which of the mailboxes in the post office are able to act as administrators. This is outlined below:

Right click on the desired mailbox and access the mailbox properties

 

Select ADMIN from the drop down list labelled Mailbox Type.

 

You can see the option to select in the following diagram:

 

Figure 615

 

 

You are also able to configure which IIS Web Sites can access WebMail. If you wish to enable WebAdmin access from multiple web sites on your server, a virtual directory can be created under each of the sites you on your server.  A utility that does this can be found in the MMC in the following location:

 MailEnable Management | Servers | localhost |WebMail | Properties | General.

This utility appears as shown in the following example:

 

Figure 616

 

The above utility should list all the web sites that are published under IIS. You can then install or remove web administration on each of these sites. 

 

6.13.1       Accessing WebAdmin

Once installed, web administration can be accessed from the following URL:

 

Example: http://HostName/meadmin

 

In place of the HostName in the above example, you should use the server name as defined in DNS or under IIS. You can also use the IP address of the machine.

 

When you browse to this location, you will be presented with the Web Administration logon screen.

 

Note: Remember, in order to allow someone to log onto the web administration, you need to have created a mailbox in the MailEnable administration application, and set the mailbox as “ADMIN”. You should also ensure that the username is formatted as: mailboxname@postofficename.

 

 

6.14  Antivirus Filter Configurations Overview and Settings

The anti-virus plug in allows you to use common anti-virus applications with MailEnable in order to check for viruses on all incoming or outgoing messages. Supports the following anti-virus software. You need a valid server license if you wish to use any of the following supported software:

 

·         F-Prot

·         Sophos

·         McAfee Virus Scan

·         Norton Antivirus Corporate Edition 7.6

·         Norman Virus Control

·         Panda Antivirus Command Line

 

6.15  Configuring the Server

The antivirus filter allows you to use command line virus checkers on emails that as they pass through the MailEnable server either for relay or for delivery to local mailboxes.

An entry is logged to the MTA Activity log whenever a virus is detected in an email. The entry will show what the service has done to the email (whether it has cleaned, deleted, etc.)

The administration for antivirus can be accessed via the MTA property sheet in the MailEnable MMC administration program. You can select which antivirus applications are used to analyse messages as they pass through the Mail Transfer Agent. This is outlined in the following screen example:

 

 

The configurable properties for antivirus agents are outlined in the following table:

 

Setting

Explanation

Enable anti-virus/filter support

This will enable or disable all the anti-virus and other filters which may be installed for MailEnable.

Enable selected anti-virus/filter

This is to indicate that the currently selected virus checker or filter will scan emails. You are able to enable more than one anti-virus/filter at once.

Send notification back to sender

This will send a notification to the sender when a virus is detected in an email. Since a large mount of viruses fake the senders email address this option may send notifications to people who are not infected with viruses.

Send notification to email address:

This will send a notification to the specified address that a viruses infected email was detected by the server.

Message Handling

This dropdown contains a list of options that determine what happens when a virus is detected in the message. If you select to clean the message, the message contents are replaced with text to indicate that the virus was removed from the message. If you select to delete the message, the entire message will be deleted.

Options

Allows you to set the advanced options for the currently selected anti-virus application.

Test

This will test the currently selected anti-virus program by writing out the test Eicar virus and determining whether the command line scanner can detect it. Be aware that this may not work with all command line scanner (Symantecs Nortons Antivirus Corporate Edition is one of these). For scanners which do not work with the test button, you can check the anti-virus by running the MTA in debug mode.

 

Anti-virus Options

Program Path

This is the path to the virus checker application. You should only select the command line scanner for the anti-virus application (the presets in MailEnable will point to the correct application).

Temp Directory

This is the directory to where MailEnable will decode the email attachments while scanning. Make sure this directory is not subject to real-time scanning by any resident anti-virus application.

Command line arguments

The command line arguments which are used to run the anti-virus scanner. There should be no need to change these options unless you are adding your own.

Command line arguments will delete attachment

Selecting this will require that the command line scanner delete any infected attachment. Some virus scanners cannot remove zip files which are infected with viruses using this option.

Return code will be checked against this list

This option will make MailEnable check the return code from a command line scanner. If the return code matches the return codes items in the list, then the attachment is detected as a virus. You cannot use any command line argument which deletes the attachment when you select this option. Use the “any” keyword in order to check for any return code (i.e. other than 0)

Return code check

You can also choose to detect the attachment as a virus if the return code is a number other than those in the list.

Notification Message

This is the message that will replace the virus in the email. For some viruses, the message will be in an attachment.

 

Note: It is not advisable to notify the sender that the have an infected email. When a virus is sent via email, it will usually use a different senders address which it randomly picks from the infected machine. So by sending notifications back to the sender address you are likely not sending it to someone who is infected.

Note: You should consider that virus scanning email will add more load on your server. This is because the antivirus filter must extract and test every attachment that goes through the server. You should adjust the MTA maximum transfer threads under the MTA properties to ensure that the number of concurrent instances of virus scan agents is appropriately configured. You should consider that each transfer thread can potentially mean a different concurrent instance of the agent’s command line scanner.

 

6.16  Postoffice Connector

The postoffice connector is responsible for delivering an email to a mailbox. There are two configurable settings for the postoffice connector:

 

When mailbox has reached quota

When a mailbox is at its quota limit and a new email is being delivered, you have the choice of either sending the email to the postmaster, or bouncing the email back to the sender.

Notifications when quota is reached

When a mailbox is at its quota limit and a new email is being delivered, you can also send notifications out to inform the user and sender of this. The three options here are:

1.        No notifications

2.        Notify mailbox and sender

3.        Notify sender only

 

 

6.17  COM Component

This easy-to-use component can be used in any application that supports COM. For example, you can use this component in an ASP page to send email from a web application. Works against any SMTP mail server, not just MailEnable.

The COM component allows you to easily send email to a mail server (this does not need to be a MailEnable mail server). Features include:

 

 

 

6.18  Configuring the Server

There are no options to administer the COM component other than to control access to the DLL itself (using Windows Permissions). This can be achieved by setting permissions on MEASP.DLL in MailEnable’s BIN directory.

 

IMPORTANT: If you intend to use the COM component, you will need to ensure that you have granted the appropriate relay rights to the application that is intending to use the COM component.

 

For example, if you wish to use the component to send mail from ASP on the local computer, you should ensure that you have granted relay rights to the local IP address of the computer.

6.19  Using the Component

The COM component allows easy integration of emailing sending from within any COM supporting application. It not only supports sending email to a MailEnable server, but also can be used to send email to any SMTP compatible mail server.

 

Properties

 

Property

Explanation

AttachmentFilename

The name of the file that you wish to add as an attachment.

AttachmentName

The name you wish to call the attachment.

AuthenticationMode

Allows you to use SMTP authentication.

0 = No SMTP authentication

1 = SMTP authentication. You must populate the Username and Password properties in order to authenticate

ContentType

The ContentType of the email you are trying to send. For instance, if you wish to send a HTML email, use this property to set the content type to “text/html;”.

ErrorString

This contains the full English language description of the last error. If you encounter an error, you can check this string for a more detailed error.

MailBCC

This is list of email addresses to BCC the email to. When using multiple email addresses, separate them with a semi-colon ";".

MailCC

This is list of email addresses to CC the email to. When using multiple email addresses, separate them with a semi-colon ";".

MailCCDisplayName

This is list of email addresses that are the display name corresponding to the email address you have set in MailCC. This list is optional. When using multiple email addresses, separate them with a semi-colon ";".

MailFrom

This is the email address of the person you want as the sender.

MailFromDisplayName

The display name of the from MailFrom email address.

MailTo

The email address to send the email to. If you wish to send to multiple email addresses, separate the emails with a semi-colon ";".

MailToDisplayName

This is the display name that will be shown as the To address. It is usually the full name of the person you are sending to (i.e. "John Smith")

Messagebody

The message contents.

Password

Password to be used for SMTP authentication.

Server

The email server to connect to. If none is supplied it will try to connect to the local machine.

ServerPort

The port to connect to. The default is 25.

Subject

The subject of the email message.

Username

Username to be used for SMTP authentication

 

6.20  Methods

Method

Explanation

AddHeader

Adds a custom header to the email. Be careful when using this function, as incorrectly formed headers could prevent the mail from being sent.

ClearHeaders

Clears any custom headers that have been added with AddHeader. This would be used if you were sending more than one message (you put this call between your sends).

SendMessage

Send the email that has been configured with the options. The function will return zero for failure and number greater than zero for success.

SetDefault

Clears all the settings back to their default.

ClearAttachments

Clears the attachments.

 

Examples

 

Sending a HTML email from an ASP page:

 

<%

Dim oMail

     

Set oMail = server.CreateObject("MEMail.Message")

     

oMail.MailFrom = "peter@mailenable.com"

oMail.MailFromDisplayName = "Test Account"

oMail.UserName = "Andrew@mailenable"

oMail.Password = "password"

oMail.ContentType = "text/html;"

oMail.MailTo = "peter@mailenable.com"

oMail.Subject = "Welcome to our service"

oMail.MessageBody = "<html><body><h1>Hello there,<BR>Welcome to our new service.</h1></body></html>"

oMail.SendMessage

%>

 

 

 

 

 

Sending an email with an attachment:

 

<%

Dim oMail

     

set oMail = server.CreateObject("MEMail.Message")

 

oMail.MailFrom = "peter@mailenable.com"

oMail.MailFromDisplayName = "Update Account"

oMail.MailTo = "customer@mailenable.com"

oMail.Attachmentfilename = "c:\documents\updateinfo_14_4.zip"

oMail.Attachmentname = "updateinfo.zip"

oMail.Subject = "New update information"

oMail.MessageBody="Find the new info attached.”

oMail.SendMessage

%>

 

 

 

 

 

 

 

 

 

7        Configuration of Email Clients

 

In order to read and send email from an email client such as Eudora, Microsoft Outlook or Outlook Express you need to configure them to connect to MailEnable. The POP3 and SMTP server should be the server name you are running MailEnable on. Email clients have to be able to resolve this server name to an IP address.

 

The username needs to be the full logon name for the mailbox. Remember that this is formatted as mailboxname@postofficename. You will not be able to retrieve email if you do not use the full username, unless you have specified a default post office.

7.1       Netscape Messenger

  1. Start Netscape
  2. Select Edit then Preferences from the menu bar
  3. Click on the '+' symbol on the right of Mail & Group
  4. Click Mail Server option
  5. Enter values in the input boxes
  6. If you don't want to re-enter your password every time you check email click More Options, then tick Remember mail password
  7. Click on Identity
  8. Type in your full name or business name in Your Name: input box
  9. Type in the email address you would like people to contact you with (e.g. info@mydomain)
  10. Type in your reply email address (e.g. info@mydomain)
  11. Click OK to accept new settings.

7.2       Microsoft Outlook Express

  1. Open Outlook Express.
  2. Click on 'Tools | Accounts...'.
  3. Click on the 'Mail' tab.
  4. On the right side, click on 'Properties'.
  5. Now click on the 'Servers' tab.

 

Make sure the POP Logon name is the same as the Account name (username) that is used by mail clients when they connect to the server to retrieve email. Eg: mailbox@postoffice.
If you have enabled SMTP Authentication on your server, you should check the option instructing Outlook Express that your outbound server requires authentication. The checkbox to do this is labelled my server requires authentication.

For assistance in setting up other mail clients, please refer to the MailEnable web site.

7.3       Microsoft Outlook

  1. Access the Tools | Accounts menu.
  2. Select the Mail tab and click Add | Mail.
  3. Enter an appropriate display name.
  4. Enter your e-mail address.
  5. Specify your incoming and outgoing mail servers. Eg: mail.[mydomainname].com.
  6. Specify your Account Name and Password. Your Account Name is formatted as Account@Postoffice.
  7. Specify how you connect to your mail server.
  8. Click Finish

 


7.4       Configuring Clients for HTTPMail

The HTTPMail access protocol is currently only supported with Microsoft based clients.  If you are using Outlook Express, Outlook 2002 or Outlook 2003 as a mail client, you can select the mail protocol as HTTP and enter in the following details:

 

Setting

Value

Protocol:

HTTP

Provider:

Other

Incoming mail (POP3, IMAP or HTTP) server:

http://machinename:8080/MEHTTPMail

 

Example:

 

  1. From Outlook (in the example, Outlook Express) choose Tools | Accounts. from the Menu. The following Dialog will be displayed:

 

 

  1. Select Add | Mail... and enter your Display Name (Friendly Name) in the following Dialog; then click Next.

 

 

 

  1. Enter your e-mail address; then click Next.

 

 

  1. Select HTTP as your mail server type and enter the URL to the HTTPMail service (http://machinename:8080/MEHTTPMail); then click Next.

 

 

  1. Enter your MailEnable credentials; then click Next.

 

 

Note: Since HTTPMail is an authenticated service, you will need to use your usual account credentials when prompted.

(i.e.: User@ Your Account/Postoffice).

 

  1. The wizard has now completed; please click Next.

 

 

The HTTPMail Service has now been configured under Outlook Express. For more information in using Outlook Express, please refer to the Outlook Express Online Help.

 

 

 

 

 

 

 

 

 

 

 

 

 

8        Operational Procedures

8.1       Backing Up and Restoring MailEnable Data

This section explains how you can effectively backup configuration.  MailEnable comes with a backup utility which is accessible through the Program Files->Mail Enable->System Tools menu. With this utility, you can pass /BACKUP as a parameter to use it as an automated command line backup utility.  There are three main areas where MailEnable stores configuration and user data:

 

ü       Registry: Server Configuration (Service Settings, Machine Specific Configuration Information)

 

ü       File System: Queues, Post office and Account data, etc

 

ü       Provider Store (File System: \CONFIG Directory or SQL Server Database; depending on provider).


It is relatively straightforward to backup and restore MailEnable. The most primitive way is to copy everything under the Program Files directory to an alternate location. MailEnable mostly uses flat files for configuration (by design) and therefore all messages and configuration are simple to backup.


The only additional information you need to (optionally) backup is the information in the registry. The registry hosts server specific information (like connector settings, etc).

To do this, you need to use the registry editor (REGEDIT) to export the HKEYLOCALMACHINE\SOFTWARE\MailEnable registry key (and all sub keys and values) to a reg file.  (More information on how to use the registry editor is available from Microsoft's Web Site).


To recover the backup, you should stop all services, replace the directory tree from your backup and then import the saved registry file into the registry.

 


8.2       Debugging MailEnable

Mail services can be run interactively in debug mode allowing debug messages to be written to the screen. The following instructions outline how to run the services in debug mode:

 

  1. Open the regedit application and move to the HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\SMTP\Debug Mode Key.

 

  1. Set the value of this key to 1. This tells the server to write debug messages to the console rather than to a file.

 

  1. Then, run the Windows command prompt and type in the following command: C:\Program Files\Mail Enable\Bin\MESMTPC -debug

 

  1. When you have completed the debug session, you can close the console window.

 

Make sure that you set this setting back to 2 when you have completed running the server in debug mode.

 


 

8.3       Inspecting Log Files

Log files are an important aspect of any mail server. You need to understand what the various log files that MailEnable produces in order to find and rectify any problem. Fortunately, MailEnable can produce a large amount of logging information to help you isolate a problem.

MailEnable usually produces 3 logs for each service. They are called W3C, Activity and Debug logs. The W3C log has all the information about what is passing to and from the mail server in W3C extended log file format (www.w3c.org). The Activity log will display all the information that is passing to and from the server. The Debug log is used to display information about what the service is actually doing.

When you first think you are having a problem with email, there are some quick steps to resolve the problem, which basically involve examining the various log files. If you follow the guidelines below to see which log file will help you, issues will get resolved faster.

Check the Debug log file first. This will more likely have information about the error that the service has encountered. The Debug log will show errors such as DNS failures, file errors, send problems, etc.

If you cannot see the issue in the Debug log, it is likely that it is not a program error, but an error in conversation between the servers (i.e. the server may be trying a command that isn't supported).


 

8.4       Licensing MailEnable

MailEnable Professional is licensed on a per server basis. In order to avoid any restrictions on the features of MailEnable you need to apply a license key to your installation. There are two ways that you can register.

For Computers Connected to the Internet
When you install MailEnable Professional or Enterprise, a registration application is made available under the MailEnable program group. This registration application queries your system and submits your registration details to the licensing server. You will need to be connected to the Internet to use this utility to register MailEnable. This utility provides a number of payment mechanism ranging from online-credit card payments to faxed purchase orders. If you register using online credit card details, MailEnable will immediately acquire a registration key and register it with the server. However, if you choose any other payment mechanism, it simply lodges your registration request with the payment server (assuming that you will reconcile payment by fax or purchase order). Once MailEnable receives notification of payment mechanism, your license key will be generated and mailed to the nominated e-mail address.

For Computers not connected to the Internet
If the server you wish to license is not connected to the Internet, you can order MailEnable via
MailEnable's web site. Once this has been processed your license key will be generated and mailed to the designated e-mail address. The license key that you receive must be manually entered into the registration utility (located under the Mail Enable program group on your server).

8.5       Registration Key Retrieval Method

You can retrieve a new license key by using our online services website at the following address:

 

http://www.mailenable.com/OnlineServices/default.asp

 

Here you use the email address that was used for the registration, and the password that was created on purchase along with this email these details would be used as the login.

Alternatively you can use the Registration Wizard on the new server as described below to get the updated key:

In order to license your copy of MailEnable Professional you will need to run the Registration Wizard application that was added to the Windows Start menu when the product was installed (under
Programs->Mail Enable).

This is to personalise your registration keycode.

You will need Internet access to request the license key using the Registration Wizard. If you do not have Internet access for the MailEnable server, please email the output from the Diagnostic Utility to sales@mailenable.com as this output contains the information necessary to generate a license code for your server.

 

When you run the Registration Wizard, follow these steps:

  1. Select the "Apply for a Registration Key via the Internet", click Next
  2. Enter your details, click Next
  3. Select "Request License Key", click Next
  4. Read the confirmation and click Next

 

 

 


9        Appendix

9.1       Multiple Server Storage of MailEnable.

All system data is stored in a shared storage repository (hence facilitating clustering). MailEnable only stores server specific configuration data in the registry of the local machine. This effectively means that you can install multiple server nodes and point them at the same storage repository. By load balancing and clustering Front-End Servers (IIS, SMTP/POP, HTTP Mail), at least from the Front-End perspective the system can effectively scale out very easily.

Ideally, you may have a single file service (probably Network attached storage or a SAN), you can have all MailEnable servers point to the same post office/configuration repository.

This means that you can simply add SMTP, POP or MTA servers as required and use IP load balancing to provide a clustered IP address. Although there is no reason why you cannot cluster MailEnable Professional, it is likely that a wizard to assist in clustering servers will be exclusive to MailEnable Enterprise Edition.

For example, you can install WebMail to run on a front-end server and configure it to use backend shared network storage for its data repository.

To do this you should first create a network share on the back-end server for MailEnable shared/clustered data. You could typically call this share MESTORE eg: \\Server\MESTORE. (Note: if the server already exists you could simply share out the application's installation directory.

If you have not previously done so, you should then install MailEnable Standard Edition on the server, specifying the Repository as the path of the File Service you created above.

You need to install MAILENABLE Standard on the Front-End server. When prompted you should specify the Configuration Repository as the file Service you specified for the earlier installation. It is advisable to install all services and use the MMC to disable those services not required on the server. (This will provide a higher level of failover redundancy on the server).

Important: You will need to run MailEnable Services under an account that has the same Windows Account Name and Password as one on the NAS (or if they are in the same domain use a domain account to run the services). A good approach is to use the IME_ADMIN account and make sure that the account and passwords match on both servers.

9.2       Using your own Anti-virus Scanner

A sample registry import file is outlined below:


Windows Registry Editor Version 5.00


[HKEY_LOCAL_MACHINE\SOFTWARE\Mail Enable\Mail Enable\Agents\MTA\Filters\Custom]

"Status"=dword:00000000
"Antivirus Notification Message"=">"

"Antivirus Scratch Directory"="C:\\Program Files\\Mail Enable\\Scratch"

"Antivirus Parameters"="\"[AGENT]\" \"[FILENAME]\" -s -nb -nc"

"Antivirus Agent"="C:\\Program Files\\Virus Scanner\\CUSTOM.EXE"

"Provider DLL"="MEAVGEN.DLL"

"Program Name"="Custom"

"Program Info"="This is a template for new virus scanners."

"Exit Code Enabled"=dword:00000000

"Exit Codes Error Inclusive"=dword:00000001

"Exit Codes"="1"


You can copy this into notepad, save as a .reg file and import it using the registry editor. Once imported into the registry, you can edit the settings to those required by your anti-virus command line application.

9.3       HTTPMail Overview

The Professional Version of MailEnable includes an additional mail access service called HTTPMail. HTTPMail is a mail access protocol that allows you to access your mail from the server without downloading the mail (as is often the case with POP). HTTPMail provides similar functionality to IMAP, where by an Outlook Express or Outlook 2002 client can access and manage messages and folders on the server. Unlike IMAP, it does not require SMTP to send messages as it posts messages into the postoffice where they are either locally delivered or dispatched through the SMTP Connector.

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.

Configuration
If you have installed MailEnable Professional and selected to install HTTPMail, the service is published on Port 8080 of your server (you can change this setting to an alternate port but 8080 is the default so that the service does not conflict with any existing web services that may be running on your server).

If you are using Outlook Express or Outlook 2002 as a mail client, you can select the mail protocol as HTTP and enter in the following details:

My incoming Mail Server is a HTTP server
My HTTP mail service provider is: Other
Incoming mail (POP3, IMAP or HTTP) server:

http:// Your Server: 8080/MEHTTPMail

Since HTTPMail is an authenticated service, you will need to use your usual account credentials when prompted (i.e.: User@ Your Account/Postoffice).

 

Testing

Once you have configured an Outlook Express profile to use the HTTP protocol to access mail, you can debug your mail sessions using the Outlook Express Maintenance tools.

These tools are found under Tools|Options|Maintenance (Under the troubleshooting section, check HTTP). Once this setting is enabled, whenever you use HTTPMail from within Outlook Express, the entire session will be logged to a text file called HTTPMail.log The log file is usually stored under your Documents and Settings\Local Settings\Application Data\Identities\ Guid \Microsoft\Outlook Express folder. (This is where all your Outlook Express messages and folders are stored also).

9.4       Accessing WebMail for Automatic Sign on

You can configure MailEnable to automatically login by using the following path syntax:


Syntax:

 

http://Server/MEWebMail/base/default/lang/EN/login.asp?LanguageID=EN&UserID=Account&Password=Password&Method=Auto&skin=default

v


Example:

 

http://127.0.0.1/MEWebMail/base/default/lang/EN/login.asp?LanguageID=EN&UserID=James@MailEnable&Password=password&Method=Auto&skin=default

 


You can make this page your startup page or home page within your browser. Also, you may want to consider using HTTPS (If you have a certificate installed for your web server). This will avoid passwords being sent to the remote host in clear text.

9.5       DNS Error Codes and Descriptions

The following table lists typical WIN32 DNS return codes. These return codes may appear in your SMTP Debug log file if your DNS is either incorrectly configured or there are DNS Errors being returned from your DNS Server.

 

Code

Error Description

9001

DNS server unable to interpret format.

9002

DNS server failure.

9003

DNS name does not exist.

9004

DNS request not supported by name server.

9005

DNS operation refused.

9006

DNS name that ought not to exist, does exist.

9007

DNS RR set that ought not to exist, does exist.

9008

DNS RR set that ought to exist, does not exist.

9009

DNS server not authoritative for zone.

9010

DNS name in update or prereq is not in zone.

9016

DNS signature failed to verify.

9017

DNS bad key.

9018

DNS signature validity expired.

9501

No records found for given DNS query

9502

Bad DNS packet

9503

No DNS packet 9504: DNS error, check rcode

9505

Unsecured DNS packet

1460

Timeout - This operation returned because the timeout period expired

 

 

 

 

9.6           Diagnosing Outlook/Outlook Express Error Codes

Some common Outlook/Outlook Express error codes that may be returned when attempting to send, receive or access mail.

 

Error

Service

Description

0x800CCCF4

HTTPMail

Your outlook settings may be invalid or a firewall is preventing you from connecting to the remote MailEnable Server.

0x800CCC79

SMTP

Your SMTP Relay settings are preventing you from sending messages to MailEnable. You should ensure you have enabled SMTP Authentication.

0x80042109

SMTP

Outlook is unable to connect to your outgoing (SMTP) e-mail server.

0x8004210A

POP

The operation timed out waiting for a response from the receiving (POP) server. You should establish whether you can telnet to port 110 of your mail server.

0x800CCC0F

POP

Your mail client is unable to contact your MailEnable Server, most likely because a firewall is preventing access or the supplied IP Address is incorrect.

0x8004210B

POP

If you are experiencing this issue, verify that you have installed the service pack for Microsoft Office XP.

0x800CCC0D

POP

If you are experiencing this issue, verify that you have configured your mail client correctly. You must either specify an IP address or a host name as the mail server when configuring the mail client settings. If you specify a host name then it must be defined in your DNS as a Host record.

0X800CCC0E

SMTP

This error means that you are able to connect to the server via POP, but your SMTP Service is either not running or is configured incorrectly.

You can verify if the SMTP service is running by using the telnet utility to telnet to port 25 of your mail server. If the server responds, then the issue is most likely that your mail client settings are invalid.

 

 

 

 

 

9.7       How can I manually test if MailEnable can send mail to remote servers?

Many ISPs block outbound SMTP traffic to ensure that spammers do not abuse their service. You can validate whether you can send mail to remote hosts by using the telnet utility.

Instructions follow:

1. From the Windows Start Menu select Start|Run and enter CMD as the application to run. Then click OK.
2. At the command prompt, enter the following:


telnet mail.mailenable.com 25

The remote mail server should respond with an initiation string much like the following:

220 mailenable.com ESMTP Mail Enable SMTP Service, Version: xxxx ready at 02/28/03 14:04:45

3. Type the word QUIT and then press enter.

If you were successfully able to do this, then no firewall (either local or your ISPs) is preventing outbound SMTP traffic.

The next procedure to try is sending an actual message to the remote host (rather than just determining whether you can connect to it).

This is outlined as follows:

1. From the Windows Start Menu select Start|Run and enter CMD as the application to run. Then click OK.
2. At the command prompt, enter the following:

telnet mail.mailenable.com 25
The remote mail server should respond with an initiation string much like the following:

220 mailenable.com ESMTP Mail Enable SMTP Service, Version: xxxx ready at 02/28/03 14:04:45
3. Type the following: HELO YourDomainName and then press enter.
The server should reply with something like 250 xxxxxxxx
4. Type the following: MAIL FROM: and then press enter.
The server should reply with something like 250 xxxxxxxx
5. Type the following: RCPT TO: and then press enter.
The server should reply with something like 250 xxxxxxxx
6. Type the following: DATA and then press enter.
The server should reply with something like 354 xxxxxxxx
7. Enter the text as follows (Note: [CRLF] = Enter Key):
Subject: Test Message[CRLF]
[CRLF].[CRLF]
6. Type the following: QUIT and then press enter.
If you were able to do this then MailEnable should be able to send messages to the remote host. If your receive an abnormal response for any of the commands you typed in, then you should search the MailEnable knowledge base for any articles that may give an indication of the cause of the error.

Example:
C:\>telnet mail.mailenable.com 25
220 mailenable.com ESMTP MailEnable Service, Version: -1.110- ready at 11/20/03
23:49:40
EHLO test.mydomain.com.au
250-mailenable.com [144.136.51.56], this server offers 4 extensions
250-AUTH LOGIN CRAM-MD5
250-SIZE 10120000
250-HELP
250 AUTH=LOGIN
MAIL FROM:
250 Requested mail action okay, completed
RCPT TO:
250 Requested mail action okay, completed
DATA
354 Start mail input; end with [CRLF].[CRLF]
Subject: Test Message
.
250 Requested mail action okay, completed
QUIT
221 Service closing transmission channel
Connection to host lost.

9.8       How do I troubleshoot SMTP Connectivity issues and Analyse Log Files?

MailEnable provides extensive logging of SMTP activity. There are three log files that are used by MailEnable. These are the Debug, Activity and W3C logs. The W3C log files are essentially a replica of the Activity log, hence you really only need to investigate the Activity and Debug logs.

The debug log contains "wordy" explanations of significant actions undertaken by MailEnable. For example, when a user attempts to relay a mail message, this is recorded and timestamped in the SMTP Debug log.

The Activity log file contains a transcript of all SMTP commands exchanged between MailEnable and other remote clients or mail servers.

The simplest way to find a message and debug a SMTP transaction is to open the SMTP Activity log in Notepad and search it. You can also load the log file into Microsoft Excel as follows:

How to import the Activity log into Microsoft Excel
File|Open Browse to C:\Program Files\Mail Enable\Logging\SMTP (or equivalent directory).
Change the Files of Type combo to All Files (*.*)
Select the activity file you want to open (the files are named as SMTP-Activity-YYMMDD).
Excels Text Import Wizard will now be displayed. Select the option to import the text as Delimited data and click Next
Select the format as Tab delimited and click next
Click Finish to import the data

You should now see a worksheet with data represented as follows:

A=Transaction date and time
B=Transaction Type (Inbound or Outbound)
C=Message ID/Message file Name (This is used to match with other logs to track messages)
D=TCP/IP port number that the SMTP transaction was occurring on
E=TCP/IP Address of the remote host involved in the SMTP transaction
F=The name of SMTP Command that relates to the transaction
G=The details for the SMTP Command that relates to the current transaction
H=The details for the response to the SMTP Command that relates to the current transaction
I=The number of bytes sent when executing this command
J=The number of bytes received in executing this command

There are two important types of transactions outlined in the SMTP Activity log file. These are SMTP Inbound Transactions and SMTP Outbound Transactions. These transactions are denoted in the log files as SMTP-IN and SMTP-OU in their respective lines in the Activity log file.

How to relate Activity log entries to the debug log file
The most obvious way or relating an entry in the Activity log file to the Debug log file is via the time stamp recorded in the file. You can also use the Message ID (as this is often recorded in the debug log file). The message ID is also useful in tracking messages as they pass through the MTA. The MTA logs this message ID and therefore you can use the logs to track a message as it is routed through MailEnables Connectors via the MTA.

For example, a user may complain that they cannot send mail from outlook. In this case an error message will be reported back to the remote mail client.

eg: 503 This mail server requires authentication. Please check your mail client settings.

You should then use this error string to locate the transaction sequence in the SMTP Activity log.
Once you have found the entry in the SMTP Activity log, you can then check the SMTP Debug log for the same time period. You should, find that the System has recorded the reason why the relay request was denied.

9.9       How do I configure redundant or backup (MX) mail servers

There are two principal ways to configure redundancy with MailEnable.

The simplest way to achieve redundancy is to install a copy of MailEnable as the master server. You can then install separate copies of MailEnable on other servers and smarthost the domains to the ip address of the master server. This will mean that if the master server is down, that the auxiliary servers will accept mail for the domains and hold it until it is online.

You will also need to change the DNS/MX settings for the domains to configure the appropriate MX preferences. Other mail servers learn about your Mail Server via DNS MX records. They are basically the means by which someone enumerates a target domain to the server responsible for receiving mail for that domain. MX records have a preference associated with them that determines the order that they are used. The lowest preference is attempted first. The lower the preference value the higher the priority. Hence an MX record with a preference of 1 would be attempted before an MX entry with a preference of 10. The above mentioned approach is typically used if your backup mail servers are distributed in different geographic or logical locations.

A second alternative is to host all your mail servers on the same local network and cluster the servers. This effectively means that all your servers. This allows you to install multiple servers with MailEnable and have them use the same store for their messages and postoffice data. You can then use any of these servers to access the mail. It basically requires that one of the server share the mail data and configuration directories and that the others access them.

 

 

 

10 ANTI VIRUS RECOMENDATIONS

General Guidelines
MailEnable Professional Edition provides an antivirus plug-in that allows you to scan mail messages for viruses as they pass through the Mail Transfer Agent. The following overviews are provided to assist you in selecting an antivirus application for your MailEnable Implementation.

10.1  F-Prot

Company:

Frisk International

Product Name:

F-Prot for Windows

Versions:

3.14a

Comments:

MailEnable integrates with the F-Prot command line scanner and that is available in F-Prot for Windows.

 

10.2  Sophos

Company:

Sophos

Product Name:

Sophos Antivirus

Versions:

(Current Version)

Configuration Guidelines:

MailEnable Knowledge Base

 

10.3  Panda

Company:

Panda Software

Product Name:

Panda Command Line

Versions:

Current Version

Configuration Guidelines:

MailEnable Knowledge Base

 

10.4  Symantec Norton Antivirus

Company:

Symantec

Product Name:

Norton Antivirus (Corporate Edition)

Versions:

7.6 and higher

Configuration Guidelines:

MailEnable Knowledge Base

Comments:

Symantec Norton Antivirus requires that you purchase a 5 user pack, and are a little harder to configure/integrate with MailEnable. This is most possibly to discourage the use of their Antivirus solution with mail servers as they have their own product line that can be used to scan messages.

 

10.5  McAfee Virus Scan

Company:

McAfee

Product Name:

McAfee Virus Scan

Versions:

Virus Scan 4.7.x and earlier, Virus Scan Command Line (Current Version)

Configuration Guidelines:

MailEnable Knowledge Base


MailEnable generally recommends trialling the Antivirus software before you purchase. It is also worth mentioning that some antivirus agents require that the MailEnable Mail Transfer agent run with elevated privileges.

Real Time Protection
Most of the less expensive Antivirus agents cannot exclude directories or file types from their real time protector. You may experience unpredictable results if you do not prevent real-time virus protectors from monitoring and protecting critical MailEnable directories. Depending on what you are using your server for, it may be better disable real time protectors on servers because they drastically inhibit disk IO. An option is to schedule scans rather than using the real-time protector. You can further reduce the risk by not running desktop applications on the server itself (eg: mail clients). The following table outlines the current features of leading antivirus manufacturers with respect to configuring real-time virus protection/IO monitoring.

 

Vendor/Product

Support

Norton Antivirus Corporate Edition

Can exclude directories and file types.

McAfee Virus Scan

Can exclude directories and file types.

Panda

Can exclude specific folders.

AVG

No ability to exclude directories or file types.

Norman

No ability to exclude directories or file types.

F-Prot

No ability to exclude directories or file types.

 

Note: Any errors or omissions in the above are unintentional. For accurate and up to date information it is recommended that you consult the manual or web site of respective software package. Whilst MailEnable provides a means for you to integrate Anti-Virus software, you should always check the licensing agreement supplied with the Anti-Virus software to determine any licensing constraints.

 

 

IIS CONFIGURATION

 

The following screenshot shows the Internet Information Server Management Console (Internet Service Manager) under Windows 2000.

 

Figure 101

 

MailEnable Web Mail installs a component (COM DLL) for under Component Services for Windows 2000 or later. Under Windows NT this is put under Microsoft Transaction Server. This component is configured to run with the identity/security context of an account called IME_ADMIN.

The following screenshot shows Component Services under Windows 2000 and the Components contained within the Mail Enable package.

 

Figure 102

 

 

 

 

11 Frequently Asked Questions

 

 

Web Admin: I can’t see the web administration property page?

 

This is usually either because you are accessing the administration program using the MailEnable Administrator shortcut, instead of the MailEnable Professional one. If you still can’t see the web administration, you can extend your currently open administration application by following the steps below.

 

1. Open the MailEnable administration application

 

2. From the Console menu, select Add/Remove Snap-in…

 

3. A window will appear. Select the Extensions tab at the top.

 

4. From the top drop down list, labelled Snap-ins that can be extended, select MailEnable Management.

 

5. Select the Add all extensions checkbox

 

6. Select OK

 

7. From the Console menu, select Save

 

8. You should be able to right click on a post office, select Properties from the pop-up menu, and see the WebAdmin tab.

 

 

Web Admin: When I try to log in, it always comes up as invalid user!

 

Make sure that the mailbox is set to “ADMIN”. Then make sure that the Post Office has been enabled for web administration.

 

MailEnable Web Site

MailEnable’s web site provides links to reference materials, product information, knowledgebase, forums, etc.

 

MailEnable Knowledge Base

The MailEnable knowledgebase is available at http://www.mailenable.com/kb. It contains the latest information on user queries and application configuration issues.

 

MailEnable Forums

MailEnable forums are found at http://forum.mailenable.com. The forums contain public posting and replies from MailEnable users.

 


12 Glossary

 

Address Map

An address map is used to define source and target mail exchanges between Connectors by the Mail Transfer Agent. For example, mail sent to the SMTP address [SMTP:Jones@mailenable.com] is likely to have an address map to the post office address [SF:MailEnable/JONES].

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.

Connector

Connectors facilitate moving mail between systems or subsystems (whether they are local or remote).

Group

A Group represents a logical combination of mail addresses addressable under a single mail address. Any mail addressed to the group is distributed to all the members belonging to that group.

List

A List is much like a group. The major difference between a list and a group is that lists are subscription based, can be moderated, and can have headers and footers applied to them.

Mailbox

A mailbox is a repository for email. It used to store emails for one or more email addresses. When a user connects with a mail client application (Outlook Express, Eudora, etc.), they connect to a mailbox to retrieve their email.

MTA

A Windows Service that exchanges internal messages between MailEnable Connectors.

Post office

A post office is used to host multiple mailboxes and domains under one area. For example, if you were providing email hosting for multiple companies, you would create a post office for each company. Within the post office you can assign multiple domains and mailboxes.

Provider

Providers are used by Connectors, Agents and Services to allow them to read their configurations. An example of a provider is the Tab Delimited Address Map provider. This provider reads the address map that is used to determine mail routing between connectors. In order to allow the applications to read configuration data from different sources, different providers would be used. For instance, SQL Server would have its own providers.

Recipient

The address to where the email is destined.

Services

Services expose MailEnable functionality to external agents or programs. An example of a service is the POP3 service. This service allows mail clients to access mail from their post office. MailEnable employs standard Windows Services that make it compatible with Windows NT/2000/2003.