How to Windows server smtp relay
Published October 20, 2024 · Updated July 22, 2026 · Guides & Tutorials
If you run Windows Server, you can turn it into an SMTP relay so applications, scanners, and internal systems can send email without each one needing its own mail account. Windows has shipped an SMTP relay feature for years — it is handy for internal routing, though it is not a bulk-marketing platform. Here is how to set it up and where its limits begin.
What the Windows Server SMTP relay does
The built-in SMTP Server feature (part of IIS 6 management tools) accepts mail from your internal devices and forwards it on. It is perfect for letting a multifunction printer email scans, or a legacy app send notifications, through one central point. It relays; it does not give you a dedicated sending IP or marketing-grade deliverability.
How to set up the SMTP relay feature
- In Server Manager → Add Roles and Features, install the SMTP Server feature.
- Open IIS 6.0 Manager and expand the SMTP Virtual Server.
- Under Access → Relay, allow only your trusted internal IP addresses to relay.
- Set the smart host or delivery settings to forward mail onward.
- Point your apps and devices at the server's IP on port 25 (internal) and test.
Point your Windows relay at a dedicated SMTP
Use Windows to collect internal mail, then forward through a dedicated SMTP smart host with a dedicated IP and full authentication for reliable external delivery. From $39.99/mo.
Frequently asked questions
Does Windows Server include an SMTP relay?
Yes — the SMTP Server feature, managed through IIS 6.0 tools. It relays mail from internal apps and devices through one central point.
Is the Windows SMTP relay good for bulk email?
No. It is designed for internal routing, not marketing volume or deliverability. Forward its mail to a dedicated SMTP smart host for external and bulk sending.
How do I stop my Windows SMTP server being an open relay?
Under Access → Relay, permit only specific trusted internal IPs. Never allow anonymous relay from any address, or spammers will abuse it and blacklist your IP.