Port 587 is the standard submission port for clients sending email through an SMTP server, typically with authentication and STARTTLS. Security teams should verify that unauthorised relaying is blocked, credentials are protected in transit, and only approved users or applications can submit mail. Misconfiguration can lead to spam, phishing, or account abuse.
Why SMTP submission is a security control point, not just a mail setting
Port 587 is where outbound mail becomes an authenticated, policy-enforced action rather than an open relay risk. For security teams, that matters because the submission path sits at the boundary between end users, applications, and the mail system. If you do not control who can submit, how they authenticate, and whether transport encryption is actually enforced, email can become a convenient abuse channel.
That control point is easiest to understand when you treat it as part of the wider Network Ports and Protocols Security Guide rather than as an isolated SMTP detail. The same discipline that applies to any exposed service applies here: know what should be listening, who is allowed to use it, and what the allowed traffic should look like.
In practice, 587 is about reducing ambiguity. Port 25 is commonly associated with server-to-server mail transfer, while 587 is intended for message submission by approved clients and applications. That distinction lets defenders apply stronger authentication, TLS expectations, and policy checks before a message is accepted for delivery.
What can go wrong when submission is weakly controlled
If submission is not tightly governed, attackers and abusive users can exploit the mail system as an authenticated abuse platform. A stolen password, an over-privileged application credential, or an exposed integration secret can be enough to send phishing, spam, or internal fraud messages from a trusted domain.
Security teams should treat submission abuse as a credential and trust problem, not only a mail volume problem. A simple relay misconfiguration can turn a legitimate mail service into a high-reputation sending infrastructure for an attacker, which often has higher impact than a random external sender because recipients are more likely to trust the message.
That is why the submission path deserves the same seriousness as other externally reachable control planes. A useful comparison is Gravity SMTP CVE-2026-4020 API Keys Exposure, which shows how exposed mail-related secrets can immediately expand abuse potential across large deployments.
How to harden SMTP submission without breaking legitimate mail flow
The first operational step is to verify that submission requires authenticated access and that unauthorised relaying is rejected by default. Then confirm that STARTTLS is enforced or at least strongly preferred, because credentials that travel in cleartext create avoidable exposure even when authentication itself is present.
It also helps to distinguish human interactive use from application submission. Approved users, service accounts, and business applications should not all share the same submission pattern, because the monitoring, rate limits, and revocation process for each are different. When the control is poorly segmented, one compromise can create a much wider blast radius than necessary.
For teams that want a broader view of endpoint and network trust boundaries, the Network Access Control (NAC) Guide is a useful adjacent reference because the same principle applies: allow only known, trusted actors onto a controlled path, then make exceptions explicit rather than implicit.
Risk and Threat Considerations
SMTP submission is attractive to attackers because it combines trust, identity, and outbound reach. A compromised mailbox, application secret, or weak relay policy can convert a routine business service into a sender of phishing, spam, or fraud at scale, often using the organisation's own reputation to improve delivery.
Failure mechanism: The mail service accepts submission from an actor that should not be trusted, or it accepts traffic without enforcing transport protection and relay policy. That creates a path for message abuse, credential replay, or silent misuse of legitimate sending capacity.
Impact: The result can include outbound phishing, brand damage, mailbox reputation harm, account abuse, and in some cases lateral abuse of other integrated systems that trust the same credentials or application identity.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-2 — Identification and Authentication (Organizational Users) | Submission access depends on verified user authentication before mail can be sent. |
| IA-5 — Authenticator Management | SMTP submission protection depends on handling passwords, tokens, or app secrets securely. | |
| SC-8 — Transmission Confidentiality and Integrity | STARTTLS is the transport protection mechanism for submission credentials and messages. | |
| Recommendation — Require authenticated submission for organizational users before allowing SMTP relay. Rotate and protect submission credentials, and revoke them promptly when exposure is suspected. Enforce encrypted transport for SMTP submission to protect credentials in transit. | ||
| OWASP ASVS | V10 — OAuth and OpenID Connect | Where applications submit mail using delegated tokens, token handling and audience scope matter. |
| Recommendation — Bind submission tokens to the intended mail service and limit their scope and lifetime. | ||
Practitioner Guidance
What to verify: Confirm that every permitted submission path is authenticated, encrypted in transit, and constrained to approved users or applications. If the server still allows broad relay behaviour, treat that as a configuration defect rather than a tuning issue.
Decision rule: If an application or service account can submit mail, decide whether it truly needs that ability at all, and if it does, scope it to the minimum sender identity, destination pattern, and rate needed for business function. Broad mail-sending rights are a common abuse amplifier.
What practitioners underestimate: The most dangerous failure is often not a large-volume spam blast, but low-and-slow abuse from a trusted sender that passes through normal business controls. Mail submission should be monitored like an outbound privilege, not merely a transport service.
Practitioner takeaway: Treat port 587 as a controlled submission boundary: if authentication, TLS, and sender authorization are not explicit, the mail system can become a trusted abuse channel rather than a delivery mechanism.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org