Webiano Digital & Marketing Agency
Webiano Digital & Marketing Agency
  • Home
  • About Us
  • Services
    • Strategy
    • Digital Platforms
    • Performance
    • Communication
    • Infrastructure
    • Consulting
    • Education
    • All Services
  • Clients
  • Insights
    • Agency Journal
    • AI Search & Discoverability
    • Artificial Intelligence
    • Brand Positioning & Authority
    • Digital Platforms
    • Infrastructure & Security
    • Performance & Digital Marketing
    • Linux & Open Source
    • Visual Content & Production
    • Digital Work & Society
    • Web Radar
    • Robotics & Embodied AI
    • All Insights
  • FAQ
  • Knowledge base
  • Contact
Menu
  • Home
  • About Us
  • Services
    • Strategy
    • Digital Platforms
    • Performance
    • Communication
    • Infrastructure
    • Consulting
    • Education
    • All Services
  • Clients
  • Insights
    • Agency Journal
    • AI Search & Discoverability
    • Artificial Intelligence
    • Brand Positioning & Authority
    • Digital Platforms
    • Infrastructure & Security
    • Performance & Digital Marketing
    • Linux & Open Source
    • Visual Content & Production
    • Digital Work & Society
    • Web Radar
    • Robotics & Embodied AI
    • All Insights
  • FAQ
  • Knowledge base
  • Contact
Home » Knowledge base » Internet » Email infrastructure » Mail submission agent

Mail submission agent

5 min read · 7 sections

Also known as: MSA

In short

A mail submission agent (MSA) is the server that accepts outgoing email from authenticated users on port 587 or 465 and hands it to transfer agents.

On this page 7
  1. How a mail submission agent processes a message
  2. Submission ports and their security settings
  3. MSA compared with other mail agents
  4. Policies an MSA enforces
  5. Common misconfigurations and failure modes
  6. Understanding it simply
  7. Applied in practice

A mail submission agent (MSA) is the server component that accepts new outgoing messages from email clients, authenticates the sender, checks and repairs the message, and then hands it to a mail transfer agent for delivery. In email infrastructure, it is the formal entry point for outbound mail, separate from the server-to-server relay that carries messages across the Internet.

The role is defined in RFC 6409, which split message submission from message relay so that each could apply its own policies. Submission normally uses port 587 with STARTTLS or port 465 with implicit TLS, as reaffirmed by RFC 8314, while port 25 remains reserved for transfer between mail servers.

How a mail submission agent processes a message

An MSA receives a message through the SMTP submission protocol, verifies who is sending it, and prepares it for the transfer stage. The sequence below is the typical path from the moment an email client presses send.

  1. The client connects to the submission port and negotiates TLS encryption, either immediately on port 465 or through STARTTLS on port 587.
  2. The client authenticates with SMTP AUTH, usually using a password mechanism or OAuth 2.0 tokens.
  3. The MSA checks that the envelope sender and the From header are addresses the user is allowed to use.
  4. The MSA fixes or completes headers, for example adding a Date or Message-ID field when the client omitted them.
  5. Outbound policy is applied, such as rate limits, size limits and recipient caps.
  6. The message is optionally signed with DKIM and queued for the mail transfer agent.

In many deployments the MSA and the MTA are the same software running on different listeners. Postfix and Exim, for example, can expose a submission service on port 587 with stricter authentication settings than the port 25 listener on the same host.

Submission ports and their security settings

The choice of port determines how encryption is negotiated and whether authentication is required. The table summarizes the ports relevant to submission and why port 25 is not appropriate for clients.

PortEncryptionAuthenticationIntended use
587STARTTLS upgradeRequiredMessage submission by clients
465Implicit TLS from the startRequiredMessage submission by clients
25Opportunistic STARTTLSNormally noneRelay between mail servers
Ports used for email submission and relay

RFC 8314 recommends implicit TLS on port 465 for new client configurations, because a STARTTLS upgrade can be stripped by an active attacker if the client does not insist on encryption. Port 587 remains widely supported, and many providers offer both. Residential ISPs often block outbound port 25, which is another reason clients must use a submission port.

MSA compared with other mail agents

The MSA is one of several functional roles in the email architecture, each handling a different step between the author and the recipient. Distinguishing them clarifies where authentication, filtering and storage happen.

AgentMain taskTypical protocolPosition in the flow
Mail user agentComposing and reading mailSMTP submission, IMAPAuthor and reader side
Mail submission agentAccepting and authenticating new mailSMTP on 587 or 465First server hop
Mail transfer agentRouting between domainsSMTP on port 25Between organizations
Mail delivery agentStoring mail in mailboxesLocal delivery or LMTPRecipient server
Roles of agents in email delivery

The key difference between submission and relay is trust. An MSA knows its users and can hold them accountable, so it may modify messages and enforce sending quotas. An MTA receiving mail on port 25 must treat the sender as an unknown party and should not rewrite message content beyond adding trace headers.

Policies an MSA enforces

Because it is the only point where the sender’s identity is verified, the MSA is where an organization controls what leaves its network. Good submission policy protects the domain’s reputation and keeps compromised accounts from becoming spam sources.

PolicyTypical settingPurpose
Mandatory authenticationNo unauthenticated submissionPrevents open relay abuse
Sender address bindingFrom must match the account or aliasStops impersonation inside the domain
Rate limitingHundreds to a few thousand messages per dayContains compromised accounts
Message size limitCommonly 25 MB to 50 MBProtects queues and recipients
Outbound content scanningMalware and spam checksProtects reputation and blocklist status
DKIM signingSignature with the domain keySupports SPF, DKIM and DMARC alignment
Typical submission policies and their purpose

Signing at the MSA or on the outgoing MTA is essential for DMARC alignment. If the From domain is not signed by a matching DKIM key and SPF does not align, receiving servers may quarantine or reject the message.

Common misconfigurations and failure modes

Most submission problems come from mismatched client and server settings or from policies that are too loose. The following issues appear repeatedly in practice.

  • Accepting submission without authentication turns the server into an open relay that spammers find within hours.
  • Allowing plaintext authentication before TLS exposes passwords on the network; servers should only advertise AUTH after encryption is active.
  • Pointing clients at port 25 fails on many consumer networks and bypasses the submission policy layer.
  • Missing sender binding lets any authenticated user send as the chief executive or another colleague.
  • No outbound rate limit means one phished account can damage the sending reputation of the entire domain.

Monitoring authentication failures, queue sizes and per-user volumes on the submission service gives early warning of compromised credentials, often before external blocklists react.

Understanding it simply

A mail submission agent is like the counter at a post office where you hand in a letter. The clerk checks who you are, makes sure the envelope is filled in properly and then puts it into the sorting system.

After that, other parts of the postal network carry it to the right town. The key point is that the counter only serves known customers, which keeps strangers from sending mail in your name.

Applied in practice

A company with 300 employees runs its own mail server and configures staff laptops and phones to send through mail.example.com on port 465 with implicit TLS, authenticating with their directory accounts. The submission service is configured to require authentication, to accept only From addresses that belong to the logged-in user or a shared mailbox they can access, and to limit each account to 1,000 messages per day.

One morning, an employee falls for a phishing page, and an attacker begins sending invoices from that account. After about 1,000 messages, the MSA blocks further submissions and alerts the administrator. The password is reset within the hour, and because outbound volume was capped and every message was DKIM signed and logged, the domain stays off public blocklists and the security team can identify every recipient who received a fraudulent message.

Published November 28, 2026

Filed under

  • Internet

    Subject

  • Email infrastructure

    Topic

Growth is engineered, not improvised.

All rights reserved © 2002–2026 | Webiano Digital & Marketing Agency

Social Media

  • Facebook
  • LinkedIn
  • YouTube

GDPR, Privacy and Cookies Policy

Copyright and Content Use Policy

Webiano Code of Ethics

  • Slovakia
  • Czechia
  • Europe
  • Global

Daily News & Insights via RSS