Configuring ActiveSync in MDaemon and addressing common...

Expand / Collapse

Configuring ActiveSync in MDaemon and addressing common configuration issues

MDaemon's ActiveSync options are located at Setup -> Mobile Device Management -> ActiveSync and it's necessary to enable ActiveSync in this location:

Once enabled MDaemon will generate an ActiveSync 30 day trial key automatically. The ActiveSync server requires a licence fee if you wish to continue using it beyond this point.

ActiveSync devices only connect to ActiveSync servers on ports 80 (for HTTP) and 443 (for HTTPS). ActiveSync cannot be used on other ports. Therefore ActiveSync will not work unless your web server (either WorldClient's built-in web server or another such as IIS) is running on port 80 and/or port 443. 

As you are typically accessing your mailbox data from remote locations we'd recommend that WorldClient (and therefore ActiveSync) is configured to run over HTTPS at Setup -> Web + IM Services -> WorldClient -> SSL + HTTPS and that the HTTPS port (TCP 443) is opened to the Internet. This article details the steps needed to configure this.

Setup Issues:

The ActiveSync device indicates it cannot connect to an ActiveSync Server

1. Is there either an active ActiveSync trial key or a purchased ActiveSync key at Help -> Register your Alt-N Products?

2. Have you enabled ActiveSync support on the domain your mailbox resides on?

3. Is ActiveSync support enabled for the account you are configuring at Accounts -> Account Manager -> {username} -> Mail Services (or Accounts -> Account Manager -> {username} -> Options in earlier versions):

4. Does your ActiveSync licence key size at Help -> Register your Alt-N Products already match the number of accounts that are using ActiveSync at Setup -> Mobile Device Management -> ActiveSync -> Integrated Accounts?

5. Can the ActiveSync service be accessed remotely?

To test this use a web browser on a network other than the network MDaemon is installed on (for example, your mobile device Internet browser) to visit (replace with the IP address or hostname you use to access WorldClient / ActiveSync remotely)?

If ActiveSync is running correctly the web browser output should look similar to this:

If ActiveSync cannot be accessed remotely, can it be accessed from a client machine web browser on the local network using (replace with the internal IP address of the MDaemon machine).

If it doesn't work internally either, check that WorldClient (and therefore the ActiveSync service) is configured to run using HTTPS on port 443 as this article details.

If it does work internally but cannot be accessed externally, the most likely causes are either that a local Windows firewall (or 3rd party software firewall) is running and enabled on the MDaemon machine and is blocking connections on TCP port 443 and an exception in the firewall is needed or your hardware router / firewall is not configured to "port-forward" TCP port 443 connections from the Internet to the local MDaemon machine. will help with this process.

The Activesync device indicates that the username or password is incorrect

If the username and password combination you have configured on the ActiveSync device have been verified as correct (for example, try logging into WorldClient using the same details) then the most common cause of this problem is that on the ActiveSync device both the "Domain" and "Username" values contain portion of you email address.

For example on an iPhone or iPad you may have the following...

It's important that your 'username' value is only the bit before the @ sign in your email address as the iPhone or iPad will construct the logon name it sends to MDaemon using both the 'Username' and 'Domain' values you provide.

If this is the case the ActiveSync-DDMMYYYY.log will show a invalid username and error as follows...

To address this the correct settings on the iPhone or iPad would actually be...