Frequently Asked Questions - Mail

Not logged in Login

It happens when file Settings.xml gets corrupted.

It is, usually, in the folder C:\ProgramData\ArGoSoft\MailServer.Net. See Q/A below for more ways to locate it.

Latest versions of server make backup of Settings.xml file after successful start. Backup file is called Settings.Backup.xml.

You can restore it, by deleting the original Settings.xml, and renaming backup file to Settings.xml.

If it does not solve the problem, or you cannot find the backup file (which means, you are using one of earlier versions of Mail Server), then see this document.

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 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.

File Settings.xml contains configuration settings for your server.

The file in the C:\ProgramData\ArGoSoft\MailServer.NET\ folder.

ProgramData folder is usually hidden, which means, to access it, you will have to enable Show Hidden Files and Folders option in Windows Explorer, under Tools - Folder Options - View...

In most cases, it happens, when your ISP blocks outgoing port 25. Some of them do that, because they want to reduce the amount of spam originating from them. They just do not want their users to run mail servers.

It also may be caused by some anti-virus or anti-spam software on your computer.

There are following solutions:

  • If ports are blocked by 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 Smart Server feature of your server Settings - Options - Smart Server. It will partially defeat the purpose of using your own mail server, because all mail will go through the "Smart Server" you have selected, but your server will still accept local mail.

In some cases, mail server installation may be corrupt, and windows standard way of adding and removing programs may fails. Below are the instructions of removing the server manually.

Please, use extreme caution, because it 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 sub nodes, watching for DisplayName ArGoSoft Mail Server .NET;
  • Delete the entire sub node;
  • Restart your computer;

Your server has a feature called Mailbag Domains. It can act as a backup of domains listed as Mailbag Domains.

You should install two servers on two computers, preferably 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 arrive there, and will be kept without any delivery attempts until you issue 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.



List of Changes FAQ More
Mail Server Mail Server Prereleases
FTP Server FTP Server Our Old Site