Knowledge base

Installing on Windows

Installing on Microsoft Windows
The same order, different details

Installation on Windows is done with an MSI installer run from a command prompt with administrator rights. After that come the same mandatory things as on Linux: a license file and a verified configuration.

Two Windows specifics. The license is placed in license.dat in the installation directory and saved in ASCII, not Unicode. Spool, accounting and log files are excluded from antivirus scanning and from indexing services — otherwise they lock the engine’s files.

The main trap is saving the license in Unicode. The manual explicitly requires ASCII: a key saved in Unicode looks right in an editor, but in the file it is a different set of bytes.
What the Hub does. We have no Windows nodes; the recipe is useful as a reference. The only peculiarity worth remembering is that the license file must be in ASCII.
Recommended values

What is where on Windows:

What Where
license license.dat in the installation directory, in ASCII
configuration config.dat in the installation directory
start “Services” or net start pmta
antivirus and indexing exclusions spool, accounting, logs
The installation order and the requirements for the license, configuration and antivirus come from the manual (§ 2.1). The table is ours.
Example configuration
# from an administrator command prompt
net start pmta
The command from the manual; the “Services” snap-in does the same.
yellow — — directive names, blue — blocks. They are highlighted the same way in the text of the card.
Compatibility
PowerMTA 6.0
described in the manual of this version · platform: any
The vendor does not state the first version for every directive — there is no note here. The name also appears in the 5.0 edition of the manual.
How to check on the node
Check that the service is running:
sc query pmta
RUNNING — the service came up; if not, look for the cause in pmta-startuperr.log in the logs subdirectory.
In the Hub
Cost of a mistake
safe: a wrong value breaks nothing
Scenarios
Prepare a node for sending