Exchange mail flow guides › Inbound: POP3 and IMAP retrieval into Exchange

POP3 retrieval or MX record to Exchange: when a connector is the right choice and when it is not

Pointing the MX record at your Exchange Server gives you direct SMTP delivery and is the better design when the server can be reached from the internet on port 25 under a name your public DNS can point to, and when you filter spam on arrival yourself; a POP3/IMAP connector is the right choice when one of those is missing or unwanted, during a migration, or when the provider mailboxes have to stay where they are. This guide sets the two designs side by side, says plainly when you do not need a connector, and describes the order in which shops usually move from one to the other.

Updated on 2026-09-29

The two designs

MX record to Exchange. Other mail servers look up the MX record of your domain and deliver to the host it names. Microsoft puts the requirement in one sentence in its post-installation guide (Configure mail flow and client access on Exchange servers): “To receive email from the internet for a domain, you need an MX resource record in your public DNS for that domain. Each MX record should resolve to the internet-facing server that receives email for your organization.” The example there pairs the MX record with an A record that carries the server’s public IP address. On the server, the default receive connector named “Default Frontend” listens for anonymous inbound SMTP mail on port 25, and Microsoft lists port 25/TCP from the internet (any) to the Mailbox server as the port required for inbound mail (Network ports for clients and mail flow in Exchange).

POP3/IMAP retrieval. The MX record stays with the provider. The provider’s mail server accepts the mail and stores it in mailboxes; a connector service in your network logs in to each mailbox on a schedule, downloads what is new and submits it to Exchange over SMTP. POPcon is such a connector: a Windows service that downloads email from external POP3 and IMAP mailboxes into Microsoft Exchange Server and distributes it to the correct Exchange mailboxes. Exchange has no such function of its own; see Does Exchange Server have a built-in POP3 connector?

Side by side

MX record points at ExchangePOP3/IMAP connector
Public DNSMX record for the domain that resolves to your internet-facing server; in Microsoft’s example an A record with the public IP address behind itUnchanged; the MX record stays with the provider
Firewall, inboundPort 25/TCP from the internet (any) to the Mailbox server, or to an Edge Transport server in the perimeter networkNothing inbound from the internet
Connections the design makesSending servers connect to youThe connector connects out to the provider (POP3 110/995, IMAP 143/993) and to Exchange on port 25 inside your network
Spam filtering on arrivalYours to provide: Edge Transport server, antispam agents enabled on the Mailbox server, or a filtering service in frontWhatever the provider applies to its mailboxes; POPcon PRO adds checks against real-time blacklists and antivirus scanning at the connector
When Exchange is downMail waits on the sending servers, for as long as each of them keeps retryingMail waits in the provider mailbox; already downloaded messages wait in the connector and are retried every cycle
Delay until the message is in the mailboxNone beyond SMTP deliveryUp to one retrieval interval; the minimum interval is 1 minute, 0 means continuous retrieval
Finding the recipientThe SMTP envelope names the recipientExact with one provider mailbox per user; with a catch-all mailbox the connector reads the recipient from the message headers
Accepted domain in ExchangeRequiredRequired

When the MX record is the better design

If your server can take mail from the internet on port 25 and you have an answer for spam, direct delivery is simpler: one hop fewer, no retrieval interval, and the recipient is always the one the sender’s server named. A connector then adds nothing for that domain, and this guide does not suggest otherwise.

The spam question deserves a closer look before the switch, because it is the part that the provider handled until now. Microsoft describes three places for it (Antispam protection in Exchange Server):

When a connector is the right choice

The price of the connector design is the one in the table: a retrieval interval instead of immediate delivery, provider mailboxes to maintain, and with a catch-all mailbox a dependency on the recipient headers the provider writes. Catch-all (multidrop) mailbox vs one POP3 mailbox per user explains that last point; the setup itself is in How to download POP3 and IMAP mailboxes into Exchange Server 2016, 2019 and SE.

What happens while Exchange is down

With a connector nothing is lost. POPcon delivers over SMTP, which requires an explicit acknowledgement for every message; until Exchange confirms receipt, POPcon keeps the message in a temporary .msg file and retries the delivery automatically on every following retrieval cycle (Will I lose emails if Exchange is down when POPcon tries to deliver?). Mail that has not been downloaded yet is still in the provider mailbox.

With the MX record at Exchange, the message stays with the sending server, which tries again later. How long it keeps trying is decided by the sender, not by you. As an illustration of such a setting: Exchange Server, when it is the sending side, tries for a message expiration timeout of 2 days by default and then returns a non-delivery report to the sender (Message retry, resubmit, and expiration intervals in Exchange Server). Other mail systems have their own values. For a planned maintenance window this is rarely a problem; for a server that may be unreachable for days it is a reason to keep a buffer in front — a second Edge Transport server, a filtering service, or the provider mailbox.

Moving from retrieval to the MX record

Shops that start with a connector and later move the MX record usually do it in this order:

  1. Run the connector first. Exchange receives the mail through the connector; set the accounts to leave messages on the server for a few days while the old clients are still in use.
  2. Prepare Exchange for direct delivery. The domain must be an accepted domain (Accepted domains in Exchange Server); it already is if the connector delivers to addresses in that domain. Open port 25 from the internet to the server that is to receive the mail, and decide where spam is filtered.
  3. Change the MX record in the public DNS of the domain so that it resolves to that server, and verify it with nslookup and set type=mx, as Microsoft’s guide describes.
  4. Keep the connector running for a while. Anything that is still delivered to the provider mailboxes after the change is collected as before. When the provider mailboxes stay empty, remove the accounts from the connector.

The outbound direction is not part of this change. Exchange sends through a send connector that either uses the MX records of the recipient domains (Create a Send connector to send mail to the internet) or routes everything through a smart host (Create a Send connector to route outbound mail through a smart host). If you send through provider smart hosts, the guide Multiple smart hosts in Exchange covers that side.

Frequently asked questions

Will I lose mail while Exchange is down?

With a connector, no: the mail stays in the provider mailbox until it is collected, and a message that POPcon has already downloaded is kept as a .msg file until Exchange acknowledges it over SMTP; delivery is retried on every following retrieval cycle. With the MX record pointing at Exchange, the message waits on the sending server, and how long that server keeps trying is its own setting. Exchange itself, when it is the sender, gives up after a message expiration timeout of 2 days by default and returns a non-delivery report.

Can I use both at the same time?

Yes. The two are not exclusive, because every connector account is configured on its own. A domain whose MX record points at Exchange is delivered by SMTP, and mailboxes that remain at a provider - an ISP address, a Gmail or Microsoft 365 mailbox, a second domain that stays hosted - are collected by the connector. Both paths end at a receive connector of the same Exchange server.

Does a POP3/IMAP connector need inbound ports opened on the firewall?

No. The connector opens outbound connections to the provider (POP3 on 110 or 995, IMAP on 143 or 993) and hands the mail to Exchange over SMTP on port 25 inside your network. Direct delivery by MX record is the opposite: Microsoft lists port 25/TCP from the internet (any) to the Mailbox server as required for inbound mail.

How do I check where the MX record of my domain points?

Microsoft's verification step uses nslookup: open a command prompt, run nslookup.exe, change to a DNS server that can query your public DNS zone, type set type=mx and look up the domain. The value returned is the host that receives mail for the domain - your provider's mail server, a filtering service, or your own server.

Does changing the MX record change how outbound mail is sent?

No. The MX record decides where other servers deliver mail for your domain. Outbound mail leaves through a send connector, which either routes by the MX records of the recipient domains or hands everything to a smart host. The two directions are configured separately and can be changed independently.

More in the Exchange mail flow guides, on the POPcon product page, the download page or in the knowledge base. Auf Deutsch: POP3-Abholung oder MX-Eintrag auf Exchange: wann ein Connector richtig ist – und wann nicht.