Skip to content
senn-techsenn-tech
Back to blog
Infrastructure
Servers, Proxmox and network2026-12-04· By Franz Senn

Retiring Exchange: Who Is Still Sending Mail Through That Server?

A mail migration gets mailbox counts, data volumes and a reserved weekend. The multifunction printer on the ground floor, the ERP system and the monitoring server rarely make that list, although they have been sending through the same Exchange server for years. People notice them when invoices or alerts stop arriving.

An SMTP relay is the service that accepts messages from devices and applications that are not mail servers themselves and passes them on to the recipients. In many companies Exchange Server does this on the side. Whoever replaces Exchange has to decide for each of these senders where it will connect, how it identifies itself and which recipients it may reach.

Why this belongs on the agenda now

For Exchange Server 2016 and 2019, October 2026 was the last month in which customers in the second ESU period received new security updates. Microsoft says that updates are now released for the Subscription Edition only. What that means for existing servers is covered in the post on the end of Exchange 2016 and 2019 updates.

The second date concerns everyone heading to Exchange Online. On 27 January 2026 the Exchange team reset the schedule for Basic Authentication in SMTP AUTH, which is sign-in with a username and password. At the end of December 2026 it will be disabled by default for existing tenants, and administrators will still be able to enable it. Tenants created later will not have it by default, and OAuth is the supported method there. Microsoft plans to announce the final removal date in the second half of 2027.

If a device cannot do OAuth and is pointed at smtp.office365.com with a password during the migration anyway, its new sending path rests on a method with an announced end.

Find the senders while the old server still runs

Exchange can write SMTP sessions to log files. Microsoft documents that this is enabled by default only on the "Default Frontend" receive connector of each server and disabled on the other receive connectors. The relay connector somebody built by hand for the devices therefore stays silent until it is switched:

Get-ReceiveConnector | Format-List Name,TransportRole,ProtocolLoggingLevel
Set-ReceiveConnector "SERVER\Connector name" -ProtocolLoggingLevel Verbose

The Front End Transport files sit under TransportRoles\Logs\FrontEnd\ProtocolLog\SmtpReceive in the installation path. They are CSV files, and each line names the connector and the remote endpoint, among other fields. The remote-endpoint column gives you the list of source addresses, and the SMTP commands in data give you senders and recipients.

Retention is limited. Microsoft documents a default maximum age of 30 days, 10 MB per file and 250 MB for the directory. The oldest files are deleted once the age limit or the directory size is reached, so on a busy server the window is shorter. Either raise the values before the inventory or copy the files away regularly. Year-end closing, quarterly reports and payroll may not appear in four weeks of logs at all. For those you have to ask the departments which programs send mail on their own.

If part of the traffic already runs through Exchange Online, the "SMTP AUTH Clients" report helps. It sits in the Exchange admin center under mail flow reports and shows per sender whether Basic Authentication or OAuth was used. The default range is seven days, and up to 90 can be selected.

The paths into Exchange Online

Microsoft describes four methods for devices and applications. The figures below come from vendor documentation (device guide dated 16 September 2026 and the HVE page, both retrieved on 4 December 2026). They are not our own measurements.

MethodAuthenticationPortExternal recipientsStated limits
SMTP AUTH (client submission)licensed mailbox, TLS 1.2 or 1.3587 or 25yes10,000 recipients per day, 30 messages per minute
SMTP relay through a connectorTLS certificate or static public IP25yes"reasonable limits", no bulk mail
Direct Sendnone25no, own recipients onlythrottling as for anonymous mail
High Volume Email (HVE)HVE account, password or OAuth587no, internal only100 accounts per tenant, 50 recipients per message, 10 MB

HVE is billed by usage through an Azure subscription, and an account without an assigned billing policy sends nothing. The HVE page states 42 US dollars per million delivered recipients. The guide also notes that a device which recommends or defaults to port 465 does not support the TLS versions that client submission requires. In organisations created after January 2020, SMTP AUTH is also disabled out of the box and has to be enabled per mailbox.

Direct Send gets a lock

The "Reject Direct Send" setting has been generally available since 16 November 2026. When it is on, Exchange Online refuses anonymous messages whose envelope sender uses one of your own accepted domains, answering 550 5.7.68. For new tenants Microsoft plans to enable it by default with no option to switch it off, and the announcement said the rollout was under way at publication. In existing tenants it is off. Before enabling it, look for senders of this kind. The Change Optics Report under the mail flow reports shows example messages, and Microsoft also points to the SPF records of your domains as a place to look. Create a partner connector for each legitimate sender.

For planning this means that a printer someone points at the tenant's MX record as a quick fix may run into this lock.

Running your own relay instead

Microsoft's guide says itself that an existing mail server of your own deserves serious consideration for the relay job, because it is easier to set up for it. Devices keep an internal target, and authentication towards the cloud or the recipient is solved in one place.

If an Exchange server stays in the building, Microsoft's way is a dedicated receive connector restricted to the IP addresses of the permitted systems. Of the two permission variants, the one using the "Anonymous users" group treats devices as anonymous senders, so anti-spam checks and size limits apply. The "Externally secured" variant treats them as authenticated internal senders and bypasses both. It is more convenient and requires full trust in every device on the list.

Without Exchange, Postfix can take over. By default it relays only for clients in trusted networks, for clients authenticated through SASL, or to destination domains that are explicitly authorised. Proxmox Mail Gateway uses port 26 for outgoing trusted mail and port 25 for incoming mail. One sentence in its documentation deserves attention: hosts in the same subnet as the gateway can relay by default, without an entry in the network list. If the gateway sits in the client network, that grants more than your inventory found.

For a new build, the old SMTP feature of Windows Server is out. Microsoft names Server 2022 as the last version with the SMTP server feature from IIS 6.0, and it is not supported for relaying to Microsoft 365.

Order of work

From the old Exchange server to the new sending pathSwitch on loggingall receive connectors,longer retentionAssign every sendersource address, application,ownerAsk the departmentsmonthly and yearly jobsPick a target pathper senderinternal or external, OAuthor notSwitch one at a timeand testwith an external and aninternal recipientClose the oldconnectoronly then shut the serverdown
Recommended sequence. The technical limits of each path are in the table above. (source: Own compilation, logging step based on Microsoft Learn)

The DNS work comes before the first device is switched. If a different public IP address will send in the name of your domain, the SPF record has to know it. Microsoft explicitly recommends that for SMTP relay and Direct Send, and asks for correctly configured DKIM and DMARC with Direct Send.

The list then becomes an operating document: device, location, target server, authentication, recipient scope, responsible person. If you plan your own mail stack in place of Exchange, read first which clients hit limits with Stalwart 1.2.2, since the relay is only one of the open questions. For help with inventory and cutover, see IT services by senn-tech. More posts are collected under servers and network.

Further Reading

All pages retrieved on 4 December 2026.

Questions?
Will scan to email with a username and password still work after December 2026?+

The Exchange team wrote on 27 January 2026 that SMTP AUTH with Basic Authentication will be disabled by default for existing tenants at the end of December 2026, and administrators will still be able to enable it. Tenants created after December 2026 will not have it by default. Microsoft says it will announce the final removal date in the second half of 2027.

Is the Exchange protocol log enough to find every sender?+

Not on its own. First, it has to run on the right connectors. Microsoft states that by default protocol logging is on for the Default Frontend receive connector and off for other receive connectors, so a hand-built relay connector has to be set to Verbose first. The default maximum age of the log files is 30 days. Monthly and yearly jobs therefore need a question to the departments as well.

Is it worth running your own relay server next to Exchange Online?+

It can. Microsoft's own guide for devices and applications says that an existing on-premises mail server deserves serious consideration for SMTP relay because it is easier to configure for that job. Postfix or a mail gateway can do it. The condition is that only known source addresses or authenticated senders may relay.