Email Connector Setup
When to use: Get a device or application sending mail through Exchange Online the right way — "the copier's scan-to-email stopped working," "our LOB app / monitoring system needs to send notifications," "set up an SMTP relay for ," or reviewing an existing inbound connector's scope after a security review. Choose the sending method based on what the device actually needs (recipients, volume, sender address) and scope any connector so tightly that only the intended source can use it.
Run it: on one device or application — you choose the method and scope any connector, a technician executes in EAC/PowerShell and on the device (not a Flow: it needs a human at the console).
Prompt
Choose the least-privileged sending method for a device or app, and scope any connector so
only the intended source can use it. The tech executes in EAC/PowerShell and on the device.
Apply the Write Guardrails base skill — never report a connector live on intention; when in
doubt do nothing and escalate.
1. Decision inputs: internal recipients only or external? From address? Daily volume?
Modern TLS and authentication, or a legacy appliance? Static public IP? Pull its
documented specs from client documentation (Connector Degradation base skill if off).
2. Pick the method, least privilege first:
- SMTP AUTH client submission (smtp.office365.com:587): sends anywhere, needs a licensed
mailbox. Legacy-auth surface — keep SMTP AUTH off tenant-wide and enable it only on
that one account: a dedicated service mailbox, strong credential, no other roles, never
a human's. Basic auth for SMTP is on Microsoft's deprecation path — check current
status and prefer OAuth-capable devices.
- Direct send (the tenant's MX endpoint): internal recipients only, no auth, no mailbox;
subject to spam filtering, and the From can't be trusted externally. Fine for
scan-to-email that only reaches staff.
- SMTP relay with an inbound connector: sends external, no per-message auth — it trusts by
static public IP or TLS certificate subject, and that IP must be in the client's SPF
record. This one gets the most scrutiny.
- High-volume app mail: flag Azure Communication Services Email or Exchange's high-volume
offering rather than abusing relay; verify offerings.
3. Relay connector scope: exact source IPs — never a broad CIDR, never "any" —
certificate-scoped where supported, every IP's owner documented. Recommend a firewall rule
restricting outbound 25/587 to those devices. Never widen a scope to make it work: a
range you don't control is an open relay carrying your client's domain. A new
sending path on their domain is spoofing surface — get client approval for the method,
address and scope.
4. Execution (verify module versions): EAC > Mail flow > Connectors for relay
(New-InboundConnector), device-side SMTP settings, and the SPF update for relay IPs —
coordinate with dmarc-spf-dkim-setup so it keeps alignment, and check the 10-DNS-lookup
limit.
5. Verify: a test message from the device to an internal and, if in scope, external
recipient, headers showing the intended path, confirmed by a message trace
(mail-trace-investigation). Note it (PSA Note Discipline base skill: plain text, no
markdown) — device, method and why, sending address, connector name and its exact IP or
certificate scope, SPF change, approver, date, rollback (disable connector, revert SPF).
Log time. A legacy device that can't do TLS is flagged as a risk, never quietly
accommodated with weakened settings.
1---2name: email-connector-setup3description: Route LOB apps, scanners, and printers through Exchange Online using SMTP AUTH, direct send, or an IP/certificate-scoped relay connector.4category: M365 Administration5tools: [search_tickets, search_clients, search_knowledge_base, add_ticket_note, send_approval, log_time_entry, web_search]6connectors: [IT Glue, Hudu]7scope: single8flow: no9role: [Technician]10outcome: [Risk & Compliance]11metadata:12 source: https://skillmd.com/skills/thread-magic/email-connector-setup13---1415# Email Connector Setup1617**When to use:** Get a device or application sending mail through Exchange Online the right way — "the copier's scan-to-email stopped working," "our LOB app / monitoring system needs to send notifications," "set up an SMTP relay for <application>," or reviewing an existing inbound connector's scope after a security review. Choose the sending method based on what the device actually needs (recipients, volume, sender address) and scope any connector so tightly that only the intended source can use it.1819**Run it:** on one device or application — you choose the method and scope any connector, a technician executes in EAC/PowerShell and on the device (not a Flow: it needs a human at the console).2021## Prompt2223```24Choose the least-privileged sending method for a device or app, and scope any connector so25only the intended source can use it. The tech executes in EAC/PowerShell and on the device.26Apply the Write Guardrails base skill — never report a connector live on intention; when in27doubt do nothing and escalate.28291. Decision inputs: internal recipients only or external? From address? Daily volume?30 Modern TLS and authentication, or a legacy appliance? Static public IP? Pull its31 documented specs from client documentation (Connector Degradation base skill if off).32332. Pick the method, least privilege first:34 - SMTP AUTH client submission (smtp.office365.com:587): sends anywhere, needs a licensed35 mailbox. Legacy-auth surface — keep SMTP AUTH off tenant-wide and enable it only on36 that one account: a dedicated service mailbox, strong credential, no other roles, never37 a human's. Basic auth for SMTP is on Microsoft's deprecation path — check current38 status and prefer OAuth-capable devices.39 - Direct send (the tenant's MX endpoint): internal recipients only, no auth, no mailbox;40 subject to spam filtering, and the From can't be trusted externally. Fine for41 scan-to-email that only reaches staff.42 - SMTP relay with an inbound connector: sends external, no per-message auth — it trusts by43 static public IP or TLS certificate subject, and that IP must be in the client's SPF44 record. This one gets the most scrutiny.45 - High-volume app mail: flag Azure Communication Services Email or Exchange's high-volume46 offering rather than abusing relay; verify offerings.47483. Relay connector scope: exact source IPs — never a broad CIDR, never "any" —49 certificate-scoped where supported, every IP's owner documented. Recommend a firewall rule50 restricting outbound 25/587 to those devices. Never widen a scope to make it work: a51 range you don't control is an open relay carrying your client's domain. A new52 sending path on their domain is spoofing surface — get client approval for the method,53 address and scope.54554. Execution (verify module versions): EAC > Mail flow > Connectors for relay56 (New-InboundConnector), device-side SMTP settings, and the SPF update for relay IPs —57 coordinate with dmarc-spf-dkim-setup so it keeps alignment, and check the 10-DNS-lookup58 limit.59605. Verify: a test message from the device to an internal and, if in scope, external61 recipient, headers showing the intended path, confirmed by a message trace62 (mail-trace-investigation). Note it (PSA Note Discipline base skill: plain text, no63 markdown) — device, method and why, sending address, connector name and its exact IP or64 certificate scope, SPF change, approver, date, rollback (disable connector, revert SPF).65 Log time. A legacy device that can't do TLS is flagged as a risk, never quietly66 accommodated with weakened settings.67```