Where Windows Server 2012 R2 stands today
| What | Status |
|---|---|
| Windows Server 2012 R2 | Extended support ended on 10 October 2023; paid Extended Security Updates (ESU) ended on 13 October 2026. No security updates since. |
| Basic auth for SMTP AUTH in Microsoft 365 | Off by default for existing tenants at the end of December 2026; admins can turn it back on for a while; final removal date due in the second half of 2027. |
| Microsoft Store apps (MSIX) | Not supported: they need Windows 10 1809 / Server 2019 or newer. |
| Microsoft Edge WebView2 | Version 109 is the last one for 2012 R2, without further updates. |
| TLS 1.2 | Supported by Windows, but older .NET applications use it only after registry changes. |
Why ERP mail breaks on old servers
- Basic authentication. Most ERP and accounting systems sign in to
smtp.office365.comwith a user name and password. When the tenant turns basic SMTP AUTH off, sending fails with550 5.7.30 Basic authentication is not supported for Client Submission; if SMTP AUTH itself is disabled, with535 5.7.139. - No OAuth in the software. Microsoft’s answer is OAuth for SMTP — but an ERP version that still runs on 2012 R2 rarely has it, and updating it often means a new server anyway.
- TLS. Microsoft 365 accepts only TLS 1.2. Applications on older .NET Framework versions on 2012 R2 fail with “The connection was closed” or “SSL negotiation failed” until
SchUseStrongCryptois set.
What still works on 2012 R2
| Basic SMTP AUTH | Connector relay | Local relay — PostMount | |
|---|---|---|---|
| Changes in the ERP | None | Server = your MX host, port 25 | Server = localhost |
| After December 2026 | Only while an admin re-enables basic auth | Yes | Yes — Microsoft Graph, not SMTP AUTH |
| Needs | SMTP AUTH on for the mailbox, no MFA | Static public IP, inbound connector, SPF | PostMount on the server (this build) |
| TLS 1.2 in the ERP | Required | Recommended | Not needed — the ERP talks to localhost |
| Shared mailbox as sender | No | Yes | Yes, without a license |
A connector relay is a good choice if the office has a static public IP and an admin who maintains Exchange connectors — see our scan-to-email guide, which compares all five methods. Without that, a local relay is the simplest way: the ERP keeps sending plain SMTP to the same server, and PostMount hands each message to Microsoft 365 over HTTPS.
PostMount for Windows Server 2012 R2
PostMount from the Microsoft Store needs Windows Server 2019 or newer. For servers that can’t be upgraded yet we made a separate build of the same version, packed as a regular program — no Store, no .NET to install. It was tested on Windows Server 2012 R2 on 3 December 2026. The archive has everything in one place:
PostMount\— the app with .NET included;MicrosoftEdgeWebview2Setup.exe— Microsoft’s WebView2 installer, unchanged and signed by Microsoft (the same file as on Microsoft’s WebView2 page, “Evergreen Bootstrapper”);Install service.bat/Uninstall service.bat— install or remove the Windows service;README.txt— the short version of this guide.
About WebView2. PostMount shows Microsoft’s sign-in page in WebView2. On 2012 R2 the last available version is 109, and
it gets no more updates — here it only opens the Microsoft 365 sign-in page. Microsoft’s offline “Evergreen Standalone Installer” does
not work on 2012 R2 (error 0x80040901: it carries a newer version). The bootstrapper in the archive downloads
version 109 by itself and needs internet access; for an offline server, take “Microsoft Edge-WebView2 Runtime Version 109 … x64” from the
Microsoft Update Catalog.
Install PostMount as a service on 2012 R2
An ERP sends mail at night and after reboots, so run PostMount as a Windows service — it works with nobody signed in.
1. Unblock and extract the archive
Copy the ZIP to the server, remove the “downloaded from the internet” mark, then extract it:
Unblock-File C:\Temp\postmount-windows-server-2012-r2.zip
Without this, a Group Policy with RemoteSigned blocks every file from the archive with “is not digitally signed”.
2. Run Install service.bat
It asks for administrator rights, installs WebView2 if it is missing (about 150 MB from Microsoft), copies PostMount to
C:\Program Files\PostMount Service\1.0.28, creates the PostMount service with automatic start, adds
a Start menu shortcut and starts the service.


To check WebView2 by hand:
Get-ItemProperty 'HKLM:\SOFTWARE\WOW6432Node\Microsoft\EdgeUpdate\Clients\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}' | Select-Object pv
3. Sign in to Microsoft 365
Start → PostMount opens the service’s control panel. Select Sign in to Microsoft 365 and sign in with the account the ERP should send as — or one that may send from a shared mailbox, which you add with Add a shared mailbox.
On 2012 R2 the window shows empty squares instead of icons: the system has no Windows 10/11 icon fonts. It is cosmetic — the buttons work.
4. Check the mailbox
Edit next to the mailbox shows the connection settings and the local password for mail apps. In Monitor → Mailbox check, Check sends and receives a test message exactly as a mail app does. On our server: SMTP in 0.4 s, IMAP in 4.5 s, POP3 in 0.1 s.


Point the ERP at PostMount
Two ways, depending on what the ERP’s mail form allows:
| Field | With a password (mailbox) | Without a password (mail gateway) |
|---|---|---|
| SMTP server | localhost | localhost |
| Port | 587 (or 25) | 25 |
| User name | the mailbox address | — authentication off |
| Password | the local password from PostMount (not the Microsoft 365 password) | — |
| Encryption (SSL/TLS) | off — the connection never leaves the server | off |
| Sender | the mailbox address or a shared mailbox you added | the gateway’s main sender |
For the gateway, open Mail gateway in PostMount, switch it on and choose the main sender; with the ERP on the same server, leave the device list empty. Then send a test message from the ERP. We tested PostMount on 2012 R2 with its built-in mailbox check, not with a particular ERP; the ERP side is ordinary SMTP — the same setup as in our Endpoint Central guide, where it was tested end to end.
Keep PostMount closed to the network
When only the ERP on the same server uses PostMount, nothing from outside should reach it. In the default mode (access from this computer only) PostMount listens on the loopback addresses alone:
$svc = (Get-WmiObject Win32_Service -Filter "Name='PostMount'").ProcessId
Get-NetTCPConnection -State Listen -OwningProcess $svc | Select-Object LocalAddress, LocalPort
Only 127.0.0.1 and ::1 should be listed. For extra safety, add a blocking firewall rule — it doesn’t affect localhost:
New-NetFirewallRule -DisplayName 'PostMount - block from network' -Direction Inbound -Protocol TCP -LocalPort 25,110,143,587 -Action Block -Profile Any
What this build doesn’t do
- No automatic updates. The Store version updates itself; this one doesn’t. To update, download a newer archive and run
Install service.batagain — settings and sign-in stay. - No Windows sign-in (WAM) and no Store features — sign in in the PostMount window.
- WebView2 109 is frozen and the operating system gets no patches. That is the main reason to upgrade.
Remove everything with Uninstall service.bat; the settings go back to the regular app.
The way out: upgrade the server
- Check that the ERP vendor supports Windows Server 2022 or 2025, and back up the server.
- Upgrade in place to Windows Server 2025 — directly from 2012 R2 — or move the ERP to a new server.
- Install PostMount from the Microsoft Store (on Windows Server with winget) and run it as a Windows service. The ERP settings stay the same:
localhost, the same ports.
Common problems
| What you see | Why | What to do |
|---|---|---|
The ERP: 550 5.7.30 or 535 5.7.139 from smtp.office365.com | Basic auth or SMTP AUTH is off in the tenant | Send through PostMount on localhost instead |
WebView2 installer: error 0x80040901 | The offline installer carries a version newer than 2012 R2 supports | Use the bootstrapper from the archive (online) or version 109 from the Microsoft Update Catalog |
| “is not digitally signed” when running anything from the archive | Execution policy and the downloaded-from-internet mark | Unblock-File the ZIP before extracting |
| The sign-in window doesn’t open | WebView2 isn’t installed | Run MicrosoftEdgeWebview2Setup.exe as administrator, check pv as shown above |
The ERP can’t connect to localhost | Service stopped, or another program holds the port | Check Monitor in PostMount and Get-Service PostMount |
Questions
Can PostMount run on Windows Server 2012 R2?
Not from the Microsoft Store — it needs Server 2019 or newer. A separate build for 2012 R2 is available on this page; we tested it as a Windows service on 3 December 2026.
Will ERP mail through smtp.office365.com stop working?
If it signs in with a user name and password, yes: Microsoft turns basic authentication for SMTP AUTH off by default at the end of December 2026. Admins can re-enable it temporarily; the final removal date is due in 2027.
Does the ERP need OAuth or TLS 1.2 with PostMount?
No. The ERP sends plain SMTP to localhost; PostMount signs in to Microsoft 365 with OAuth and delivers over HTTPS with TLS 1.2.
Why does the archive include a Microsoft installer?
PostMount shows Microsoft’s sign-in page in WebView2, which 2012 R2 doesn’t have. The included bootstrapper is Microsoft’s own, unchanged and signed; it installs version 109, the last for 2012 R2.
Is it safe to keep using Windows Server 2012 R2?
No. Since 13 October 2026 it gets no security updates at all. Use this build to keep mail working while you upgrade — Windows Server 2025 can be installed over 2012 R2 directly.
Is the license different?
No. It is the same PostMount with the same license and 14-day free trial; the server counts as one computer.
Sources
- Microsoft Learn — Windows Server 2012 R2 lifecycle (extended support ended 10 October 2023).
- Microsoft Learn — Extended Security Updates overview (Windows Server 2012/2012 R2 ESU until 13 October 2026).
- Microsoft Exchange Team — Exchange Online to retire Basic auth for Client Submission (SMTP AUTH), updated timeline.
- Microsoft Learn — Windows Server upgrade overview (direct upgrade from 2012 R2 to 2025).
- WebView2 feedback — the Evergreen Bootstrapper installs version 109 on Windows Server 2012.
- Microsoft Learn — Enable TLS 1.2 on clients (SchUseStrongCrypto for .NET Framework).

