Standalone product, open source · to the EXO Signature Gateway
A lean SMTP relay service for printers, scanners and line-of-business applications that used to drop their mail anonymously at an on-premises Exchange server. It accepts their mail on port 25, checks device, sender and recipient, and hands it over to Exchange Online.
Open source under the Apache License 2.0: free of charge, no mailbox limit, modification and redistribution permitted.
Source code on GitHub
Installation
Three limits against abuse
A relay that lets too much through damages your reputation. So the service only passes what clears all three checks:
- Device: only addresses on your device list may submit mail.
- Sender: only domains that belong to your tenant. A compromised printer cannot send as someone else's company.
- Recipient: by default recipients in your tenant, adjustable per device. The check is against the addresses, not just the domain.
- Learning mode: if you don't know every device, release an address range for up to two hours. Every device that submits something permissible from it lands on your list.
- Reject when in doubt: if the service doesn't know the mailbox addresses or the handover to Exchange fails, it answers with
451. The device retries later, nothing is lost.
Operation
- Three ways to run it: as a Docker container (Linux, Raspberry Pi; amd64 and arm64), as a systemd service or as a Windows service.
- Web interface with setup wizard: six steps from your own password and host name through Entra sign-in and inbound connector to the device list. If you like, the service creates the app registration itself. It also works without any app registration, with addresses entered by hand.
- Dashboard per device: submissions over TLS or plain text, to internal or external recipients, plus rejections with the reason. A new device is adopted with one click.
- Backup and restore: all data as a ZIP, optionally encrypted with a password (AES-256). Restore selectively, also for a move to another host.
- TLS certificate from Let's Encrypt: via HTTP-01 with automatic renewal (Linux and Docker) or via DNS-01 by hand, also on Windows. Alternatively your own PFX. A new certificate takes effect without a restart.
- Status bands: states such as relay off, missing addresses, delivery errors or a certificate about to expire appear as a band at the top of every page.
- Hardened: the app gets as few rights as needed (Exchange Administrator only to create the connector, read-only afterwards). Data readable only by the service and administrators, throttled sign-in, origin checks and security headers, no page in any search index. CI checks the dependencies for known vulnerabilities every week.
And the EXO Signature Gateway?
The relay is the SMTP relay taken out of the EXO Signature Gateway: the same rules, the same device list, the same learning mode, but without signatures, S/MIME and out-of-office. If you need those, use the Gateway; its SMTP relay is the same. The Gateway has its own license (Community Edition); the Apache License applies only to the EXO SMTP Relay.
The relay's web interface is in German.
Free and open
The EXO SMTP Relay is released under the Apache License 2.0: free of charge, also for businesses, with no mailbox limit. Modification and redistribution are permitted; the license grants no rights to the product name.
Source code, documentation and release notes are on GitHub. Bug reports, suggestions and contributions are welcome, as an issue or pull request.
To the repository
Report an issue