Business leader standing in a modern office

LIBRARY 3.25Microsoft 365 Security Library

How to Turn Off IMAP, POP and SMTP AUTH in Microsoft 365

IMAP, POP and SMTP AUTH are old mail protocols that almost nobody needs anymore, and they’re a favorite way for attackers to download mailboxes and send spam. Here is how to switch them off and keep the few printers or apps that still need them working.

Reviewed by Ali Hassani, C|CISO, CISSP · Last verified November 20, 2026

25+ yearsIT and cybersecurity experience
Certified CISOC|CISO · CISSP · Microsoft · Cisco
Southern CaliforniaBased in Irvine, on-site by appointment
NationwideRemote Microsoft 365 audits

Intelligence Center › Microsoft 365 Security Library › Email threats

Email security check
Time to fixAbout 30 minutes, plus checking printers and apps
Staff impactLow: Outlook, Outlook mobile and the web don’t use these protocols
LicensingAll Microsoft 365 plans with Exchange Online
Last verifiedNovember 20, 2026, against Microsoft Learn
Works onBusiness BasicBusiness StandardBusiness PremiumE3E5

Microsoft notes that virtually all modern email clients connecting to Exchange Online don’t use SMTP AUTH, and recommends disabling it and enabling it only for mailboxes that still need it (Microsoft Learn).

In one minute

  1. List which mailboxes, printers and apps use IMAP, POP or SMTP AUTH.
  2. Turn SMTP AUTH off for the organization.
  3. Turn IMAP and POP off on every mailbox, and in the default for new ones.
  4. Allow SMTP AUTH only on the one mailbox your scanner or app needs.

Legacy mail protocols are part of the email security checks in our Microsoft 365 Security Audit.

What it is

What IMAP, POP and SMTP AUTH are

IMAP and POP let a mail program download a mailbox. SMTP AUTH lets a device or app send mail by signing in. Microsoft explains that POP and IMAP clients use SMTP AUTH to send, as do applications, reporting servers and multifunction printers (Microsoft Learn). Outlook, Outlook on the web and Outlook for iOS and Android don’t need any of them.

Where each setting lives

ProtocolOrganization settingPer mailbox
SMTP AUTHExchange admin center › Settings › Mail flowMailbox › Email apps › Authenticated SMTP
IMAPDefault for new mailboxes (CAS mailbox plan)Mailbox › Email apps › IMAP
POPDefault for new mailboxes (CAS mailbox plan)Mailbox › Email apps › POP

A per-mailbox SMTP AUTH setting overrides the organization setting, so a tenant can look “off” while dozens of mailboxes have it switched back on (Microsoft Learn).

Why it matters

Attackers prefer the protocols you forgot about

  1. Password stolenPhishing, spray or reuse.
  2. IMAP or SMTP sign-inBypasses the modern sign-in page.
  3. Protocol disabledSign-in has nothing to reach.
  4. Mailbox downloadedWithout it: years of mail copied.
  5. Spam or fraud sentFrom your real address.

Drawing: where turning the protocols off breaks the path.

97%

of identity attacks were password attacks in the first half of 2025.

Source: Microsoft Digital Defense Report 2025
112

mailboxes in our Microsoft 365 audit sample had SMTP AUTH switched back on individually (fictional company).

Source: Sample audit report
3

values for the per-mailbox SMTP AUTH setting: on, off, or follow the organization.

Source: Microsoft Learn
0

of Outlook, Outlook on the web or Outlook mobile need these protocols.

Source: Microsoft Learn

Ways to close the old protocols

ControlWhat it doesEffect
SMTP AUTH off for the organizationNo device or app can send by password unless allowed.Closes spam route
IMAP and POP off per mailboxMail programs can’t download mailboxes.Closes download route
Block legacy authentication (Conditional Access)Stops password-only sign-ins across Microsoft 365.Backstop
One exception mailbox for printersScan-to-email keeps working.Keeps business running
Per-mailbox overrides nobody tracksOrg setting looks off; mailboxes are on.Hidden gap

What we find in audits

What this finding looks like in our audit reports

These are real pages from our published sample reports, written for fictional companies. Click any page to open it full size.

Compromise Assessment · Technical ReportSAMPLE · Contoso Ltd is a fictional company1 / 4
Compromise Assessment · Technical Report, Page 38 · Finding F-56: The finding, ready to act on.
The finding, ready to act on. In our compromise assessment sample, one mailbox still had IMAP enabled, a protocol that signs in with just a password.

Your options

What each plan gives you

CapabilityAll plans with Exchange Online
Turn off SMTP AUTH for the organizationYes
Turn off IMAP and POP per mailbox and for new mailboxesYes
Allow SMTP AUTH for one mailbox onlyYes
Block legacy authentication with Conditional AccessBusiness Premium, E3, E5 (Entra ID P1)

Microsoft also notes that if security defaults is on, SMTP AUTH is already disabled (Microsoft Learn).

How to check it yourself

See who can use these protocols, without changing anything

Read-only PowerShell: SMTP AUTH, IMAP and POP status

Connect-ExchangeOnline
Get-TransportConfig | Format-List SmtpClientAuthenticationDisabled
Get-CASMailbox -ResultSize Unlimited |
  Where-Object { $_.ImapEnabled -or $_.PopEnabled -or $_.SmtpClientAuthenticationDisabled -eq $false } |
  Select-Object Name, ImapEnabled, PopEnabled, SmtpClientAuthenticationDisabled

The commands only read settings. Any mailbox listed can still use at least one of these protocols.

How to configure

How to turn the old protocols off, step by step

All plans

Turn them off

  1. Check sign-in logs for IMAP, POP and SMTP clients to find printers and apps that still use them.
  2. In the Exchange admin center › Settings › Mail flow, turn on Turn off SMTP AUTH protocol for your organization.
  3. Turn off IMAP and POP on all mailboxes with Set-CASMailbox -ImapEnabled $false -PopEnabled $false.
  4. Set the same defaults for new mailboxes with Set-CASMailboxPlan.
  5. Reset any per-mailbox SMTP AUTH overrides to follow the organization setting.

Printers and apps

Keep scan-to-email working

  1. Use one dedicated mailbox for the scanner or app.
  2. Allow SMTP AUTH on that mailbox only, or switch the device to an SMTP relay connector.
  3. Give that mailbox a long random password and use it for nothing else.
  4. Block legacy authentication for everyone else with Conditional Access.

What your users will notice

Nothing, if they use Outlook or the web. Anyone using an old mail program with IMAP or POP will need to switch to Outlook.

How to undo it

Re-enable a protocol per mailbox in Users › Active users › Mail › Manage email apps, or with Set-CASMailbox.

Proof and questions

How to prove it is fixed, and what to ask your IT provider

Evidence it is fixed

  • SMTP AUTH is off for the organization.
  • No mailbox has IMAP or POP on, except documented exceptions.
  • Per-mailbox SMTP AUTH overrides are limited to named devices.
  • Sign-in logs show no IMAP, POP or SMTP sign-ins from people.

Questions for your IT provider

  • Is SMTP AUTH off for the organization, and which mailboxes override it?
  • Which mailboxes still allow IMAP or POP, and why?
  • How does our scanner send email?
  • Do we block legacy authentication with Conditional Access?
  • Have we seen IMAP sign-ins from unusual locations?

Signs it was already abused

If these protocols may already have been used against you, look for these signs

Red flags

  • IMAP or POP sign-ins from countries you don’t operate in.
  • Successful sign-ins with a client such as an old mail program on a mailbox nobody uses that way.
  • Outbound spam from one of your mailboxes or a sending restriction from Microsoft.
  • Large mailbox downloads overnight.
  • Password spray patterns against many accounts.

If you see these, reset the password, revoke sessions and keep the logs. Our account takeover investigation establishes what was read or sent, and the Microsoft 365 Evidence Clock shows how long the records are kept.

Framework mapping

Where legacy mail protocols fit

FrameworkWhere it fits
NIST CSF 2.0PR.AA-03: authentication; PR.PS-01: configuration management (disable unneeded services)
ISO/IEC 27001:2022Annex A 8.5 Secure authentication; 8.9 Configuration management; 8.20 Network security
SOC 2CC6.1 logical access security; CC6.6 protection against outside threats

Reviewed by

Written and reviewed by a practicing CISO

Ali Hassani, CISO and founder of OC Security Audit

Ali Hassani, C|CISO, CISSP

Ali has more than 25 years of IT and cybersecurity experience and holds the Certified CISO and CISSP certifications along with Microsoft and Cisco credentials. He leads every OC Security Audit engagement from Irvine, on-site across Southern California and remotely nationwide. Every Microsoft 365 audit is read-only.

FAQ

Frequently asked questions about IMAP, POP and SMTP AUTH

Do we need IMAP or POP in Microsoft 365?

Almost never. Outlook, Outlook on the web and Outlook mobile don't use them. Only old mail programs do.

What is SMTP AUTH used for?

Printers, scanners and apps that send email, and IMAP or POP clients that need to send. Microsoft recommends turning it off and allowing it only for mailboxes that still need it.

Will turning off SMTP AUTH break our scanner?

It can, if the scanner sends through Microsoft 365 with a username and password. Allow SMTP AUTH on that one mailbox, or move the scanner to an SMTP relay connector.

Isn't blocking legacy authentication enough?

It's an important backstop, but per-mailbox protocol settings and Conditional Access exclusions often leave gaps. Turn the protocols off as well.

Does security defaults turn SMTP AUTH off?

Yes. Microsoft notes SMTP AUTH is already disabled when security defaults is enabled.

Which plans include these settings?

All plans with Exchange Online.

Next step

Close the doors nobody uses

Prevent

Microsoft 365 Security Audit

$3,500 fixed

About 200 read-only checks across sign-in protection, email, sharing and devices, for any tenant size, with four reports and a remediation roadmap.

Respond

Microsoft 365 & Azure Compromise Investigation

From $3,500

For when a mailbox was downloaded or used to send spam: we establish what was taken and sent.

Want to see the deliverables first? Open the Microsoft 365 audit sample report or browse all our sample reports.

Related reading: How to block legacy authentication · How to stop password spray attacks · Exchange Online and Defender email security guide

Sources

Sources used on this page

  1. Microsoft Learn, Enable or disable authenticated client SMTP submission (SMTP AUTH)
  2. Microsoft Learn, Enable or disable POP3 or IMAP4 access for a user
  3. Microsoft Learn, Set-CASMailbox
  4. Microsoft Source, Microsoft releases 2025 Digital Defense Report

This guide is general information, not a guarantee of protection or legal advice. Microsoft changes its admin centers often: menu names and steps were checked against Microsoft Learn on November 20, 2026. Drawings are simplified and are not screenshots of Microsoft products. Sample findings come from fictional companies. Incidents are described as reported by the cited sources; OC Security Audit was not involved in them. Questions? Call 949-777-5567 or email support@ocsecurityaudit.com.