ArGoSoft ArGo Software Design Low Cost Efficient Servers
Skip Navigation Links
ProductsExpand Products
Google Group
Registered Users
Site Map
Skip Navigation LinksHome > Products > Mail Server .NET > FAQ

Frequently Asked Questions

List of Changes
Help with Installation
Google Group
Root Element is Missing errors
Potentially Dangerous Request errors
Upgrading from 32 bit version to 64 bit version
How to apply ASP.NET 2.0.59727 to IIS
Getting No Connection Could be Made... errors when sending mail from the web interface
Locating Settings.xml file?
Setup was Interrupted... errors when installing the Web Interface on Windows 2008 server
Timeout and Connection Canceled errors when relaying mail
Manually removing the server
Error 2869 with Vista and Windows 2008 server
Automatic Whitelisting (A.K.A. Challenge and Response spam filters)
Setting up a Backup Server
Access to the Path ... Denied errors when running web interface
System Requirements
Moving Server and Settings from One Computer to Another
What is IP Binding for domain groups, and how to use it?
Alternate location for logs and users
Help with Installation
Transferring users from Pro version
Logging in without domain name

Q When launching the server, or strarting it Root element is missing errors. How do I solve the problem?

A Please seee the folliwng document.

<httpRuntime executionTimeout="300" maxRequestLength="8192"/>

and replace it with:

<httpRuntime executionTimeout="300" maxRequestLength="8192" requestValidationMode="2.0"/>

Q When sending mail out, I am getting Potentially Dangerous Request errors. How do I solve the problem?

A ASP.NET 4.x does not like when HTML like symbols, like > or < are inserted into web requests.  We have to switch to ASP.NET 2.x level security.  To do it, please locate the file web.config in the root of your webmail application installation (by default, it would be c:\Inetpub\wwwroot\WebMail\), find the line:

<httpRuntime executionTimeout="300" maxRequestLength="8192"/>

and replace it with:

<httpRuntime executionTimeout="300" maxRequestLength="8192" requestValidationMode="2.0"/>

Q I have installed a 32 bit version of mail server on 64 bit machine. How do I upgrade to 64 bit version?

A If you did not follow standard installation instructions and installed the mail server into the folder other than default c:\Program Files (x86)\, then you can just install the 64 version normally, the similar way you would do an usual upgrade.

It also would be safe to install the 64 bit version into the same x86 folder, but probably, it it is nicer to follow "rules" and keep 64 bit applications in the Program Files folder, rather than in x86 folder.

First, uninstall the 32 bit version from the Uninstall or Change a Program applet in the Control Panel. When prompted if you are upgrading to new version, answer YES.

Then, if you are using SQL version, run SQL Server Management studio and detach MailServerData database from SQL server.  If you are using SQLite, then you can skip this step.

Then locate the file Settings.xml (instructions how to locate it are below in this FAQ), open it using Notepad (OK, you may will need to move it to desktop, and edit it there, and save it and copy it to its original location, sometimes there are some user access rights problems).  Go through the Settings.xml file, and wherever you see references to folder c:\Program Files (x86)\ change it to just c:\Program Files\.

After that, move the entire content of C:\Program Files (x86)\ArGo Software Design\ArGoSoft Mail Server .NET to C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET.

Using SQL Server Management studio reattach the MailServerData.mdf file to the SQL server as MailServerData. No need of doing that if you are using SQLite.

Install the 64 bit version of mail server into the standard folder C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET.

Q It appears, that ASP.NET 2.xx is not visible for my IIS. It does not show in a list of server extensions, and when I try to access the mail server web interface, I am getting strange errors regarding missing data in the metabase, or invalid parameters in the web.config file and so on. How do I reapply ASP.NET to my IIS?

A Go to the command prompt, and issue following command:

%windir%\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis -i

Q When sending mail using the web interface, I am getting following error message: No connection could be made because the target machine actively refused it How do I solve the problem?

A It happens, because the server specified in the SmtpServerList.xml file in your WebMail\App_Data folder is not correct. Default value is localhost. If your mail server runs on a specific IP address (Options - Server Options - IP Binding on your mail server UI), or if you are accessing it remotely, on other computer, then that value has to be updated.

Go to the folder, where you have installed the web interface (by default, c:\Inetpub\wwwroot\WebMail), find the subfolder App_Data, open the file SmptServerList.xml, contained in that folder in the notepad, and change localhost between Host tags by the actual address of your server, it could ge an IP address ( or domain name. If necessary, also update the Port value.

Q How do I locate Settings.xml file?

A File Settings.xml contains configuration settings for your server, and was introduced in v1.0.5.8. In earlier versions same information was stored in the registry. We had to move it to file, because 64 bit versions of Windows were having trouble updating registry data.

The file in the <Common Application Data>\ArGoSoft\MailServer.NET\ folder.

Location of Common Application Data folder depends on the version of Windows you use.  In Windows XP/2003 and earlier it is located at c:\Documents and Settings\All Users\Application Data\Application Data subfolder is usually hidden, which means, in order to access it, you will have to enable Show Hidden Files and Folders option in Windows Explorer, under Tools - Folder Options - View...

On Windows Vista/2008 and later Common Application Data folder is located at c:\Program Data\. Similarly to earlier versions of Windows, it may be hidden, and in order to access it you will have to enable Show Hidden Files and Folders option in Windows Explorer, under Tools - Folder Options - View...

Q When installing the Web Interface on Windows 2008 server, or later, I am getting the following error: Setup was Interrupted before ArGoSoft Mail Server .NET Web Interface was Installed. How do I solve the problem?

A You should enable IIS 6 Management Compatibility:

  • Go to Server Manager;
  • Select Roles node
  • In the right panel, scroll to Web Server (IIS);
  • Click Add Role Services;
  • Select components under IIS 6 Management Compatibility and follow the instructions.

You also can try to install the web interface manually, as described in this document.

Q I installed your server, everything is configured properly, but when I try to send mail outside of my local domain, I am getting Network Unreachable, or Time Out error. It happens with all destination domains. What's wrong?

A It happens, when your ISP or, one of your anti-spam pieces of sofware or hardware blocks port 25.

There are following solutions:

  • If it is your anti-spam feature, disable port 25 blocking;
  • If it is your ISP:
    • Switch to some another ISP, which treats their users more fairly;
    • Use one of Alternate Delivery methods of our server (Options - Server Options - Alternate Delivery): Mail Relay Service, or Smart Server. Use of smart server though defeats the purpose of using your own mail server, because all mail will go through your ISP.  For more information about the smart server, see the help file of your mail server.

Use this utility to find out if your port 25 is blocked.  Make sure to run it on the same computer where you are running our server.

Q When installing the server, I am getting error messages that it already exists. However, I don't seem to be able to find any traces of it neither in the "Add/Remove Programs", nor "Admin Tools/Services".

A You must be missing something, but, here are the steps to manually remove the server from your computer (Please be careful, because whatever is described below involves manipulation with registry):

First, let's manually unregister the service

  • Run regedit from Start - Run;
  • Go to HKLM\System\CurrentControlSet\Services;
  • Find the entry ArGoSoftMailServerNet;
  • Delete it (right click - Delete);
  • Restart your computer;

Now, let's remove the traces of server from the Uninstaller:

  • Run regedit from Start - Run;
  • Go to HKLM\Software\Micorosft\Windows\CurrentVersion\Uninstall;
  • Scroll down through subnodes, watching for DisplayName ArGoSoft Mail Server .NET;
  • Delete the entire subnode;
  • Restart your computer;

Now, if desired, we can remove the database MailServerData:

  • Go to DOS prompt;
  • Drop the database using sqlcmd, see the screenshot below;

Q When installing the server on Vista or Windows 2008 Server, I am getting Error No 2869. How to solve the problem?

A Starting from September 22 2008, the setup should be running withot problems on both Vista and 2008 server. In earlier versions, there was a problem, which is described here.

Q You used to have automatic whitelisting in the Pro version, but it is missing from Pro. Will it be back?

A We do not think that we will be putting it back, until a proper standard or solution is found to identify challenge emails. Until it is done, we do not want to encourage system, which may kill email... The problem is, more people use the sytem, more likely will be the situations, when messages and confirmation requests are stuck in the whitelist queue, and never reach a recipient.

This article explains the situation with automatic whitelisting very well.

Q What is the best way to set up a backup mail server?

A You use Mailbag Domains for this purpose.

You should install two servers on two computers, preferebly belonging to different ISPs (To avoid situations when both your servers are down, in case your ISP is having some major trouble. Then you have to update DNS settings of your domain(s) so that one with the lower preference (higher priority) points to your main server, second, with a higher preference (lower priority) - to your backup server. Set up your users on your main server, then go to your backup server, and add your domains as mailbag domains. You do not have to create any users (but, you can specify acceptable users, see the help file of your mail server for more). Point your mailbags to your main server, and make number of delivery attempts reasonably high.

All will work as follows: if your main server is up, mail will be delivered directly to it. If, by some reason, it goes down, servers will deliver mail to your backup server, which will place mail into mailbags, and keep attempting to deliver it to the main server, until the main server is up and accepts mail, or until the number of delivery attempts is exceeded.

The server also supports ETRN SMTP command: if you are performing the maintenance of your main server, and know that it will be down, you can specify the mailbag on the backup server as suspended. Mail will be arrive there, and will be kept there without any delivery attempts until you ussue ETRN command. The command will release all mail, and server will just push it to the main server. The ETRN command will be issued after maintenance is finished.

Of course, you can have more than one backup server. Backup server does not have to be a full version of our mail server. You can get Mailbag Only version of it. It supports all anti-spam features, but does not allow creation of local users and domains, and supports only SMTP and delivery. Also, it will not accept mail to recipients which do not belong to specified mailbags.

Q When accessing the web interface, users are getting Access to the Path ... is denied errors. How do I solve the problem?

A Give the user, under which IIS is running full access rithts to your WebMail folder.  If you are using Windows 2003 or later, that user is Network Service, for XP or earlier - ASPNET.

Follow these steps:

  • Run Windows Explorer;
  • Navigate to folder, where WebMail application is located (by default, it is c:\Inetpub\wwwroot\) click WebMail folder, select Properties, then Security tab;
  • Click Add button;
  • in the Select Users or Groups window, under Enter the object names... box type either Network Service, or ASPNET, depending on your Windows version (see above), and click OK;
  • Allow to the user Full Control;

Alternate solution is to impersonate an user, who has full access rights to that folder.

To impersonate an user, find the file web.config in the root of the mail server web interface installation, and somewhere inside of system.web section, insert:

<identity impersonate="true" userName="TheUserName" password="ThePassword"/>

Where TheUserName and ThePassword are username and password of user on your computer, who has full access to your mail server folders.

It is important to insert impersonate tags at the correct section, and not inside of comments. The best place would be to put it just above of </system.web> tag:

    <identity impersonate="true" userName="Administrator" password="topsecret" />

Q What are the system requirements for Mail Server .NET?

A If your computer can handle SQL Server 2005 Express, then it can handle our mail server too. See system requirements for it here.

Q I want to move my server from one computer to another. How do I do it without losing my settings and user emails?

A Use backup and restore utilities, which come with your mail server. They are console applications, and are located in the root of your mail server installation. Application file names are DataBackup.exe and DataRestore.exe.

Applications take one argument, name of folder where you want to keep backup data (for DataBackup), or want to restire data from (for DataRestore).

On your original computer, create a folder e.g. c:\MyData\, and run:

                            DataBackup c:\MyData\

After the execution finishes, take with you the folder to new computer. Make sure to keep the subdirectory structure.

Then, after installing new mail server on your new computer, run:

                            DataRestore c:\MyData\

Assuming that you placed the backup folder at c:\MyData\.

IMPORTANT: you can transfer data only from SQLite version to SQLite version, or SQL version to SQL version.

Q What is IP Binding for domain groups, and how to use it?

A IP Binding for domain groups can be used only on computers, which have multiple IP addresses. For more information see the following document.

Q Is there a way to place users and logs into alternate directories?

A Yes, there is...

After finding the file Settings.xml, open it in notepad, and add LogPath and UsersPath values...Here is the typical content of the Settings.xml file:

<?xml version="1.0" encoding="utf-8"?>
<ServerSettings version="1.0">
    <ConnectionString>Data Source=.\SQLEXPRESS;Initial Catalog=MailServerData;
              Integrated Security=True;User Instance=False</ConnectionString>
    <UsersPath>C:\Program Files\ArGo Software Design\ArGoSoft Mail Server
    <ProgramPath>C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET\</ProgramPath>
    <LogPath>C:\Program Files\ArGo Software Design\ArGoSoft Mail Server .NET\_logs\</LogPath>
    <Started>11/20/2008 8:08:17 AM</Started>

It is important to end the paths with a backslash symbol.

If you are using version or earlier, then run regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\ArGoSoft\ArGoSoftMailServer.NET\Settings\, and add REG_SZ values Log Path, pointing to the alternate log files location, and Users Path, for user folders.

Q I am having problems with installing the server. Can you help?

A Please see Help with Installation...

Q How do I transfer my users and settings from the Pro version to the .NET version?

A Currently you can transfer only domains, users (including messages in their mailboxes), and mailbag domains.  You must be using Mail Server Pro v1.8.9.0 or later.

Step by step instructions for transferring data are here.

Q How do I allow users to log in using only their username, without appending the domain name?

A If domains are in the _Default domain group, then users on those domains do not need to use their domain name to log in, only the username will work.

If users are not members of the _Default domain group, then they need to use username@domain syntax when logging in.

However, the web interface of mail server (v1.0.2.3 or higher) allows you to specify a domain name, which will be appended to user names, if they do not contain domain names. To do so, run IIS manager, select the WebMail application, click Properties, select ASP.NET tab, click Edit Configuration button, and in the Application Settings section edit Default Domain value, which, why default, is blank.

Copyright © 1995-2018 ArGo Software Design. All rights reserved.