An MSA is the entry point for users: this is where a mail client hands over a message to be sent. Unlike port 25, where messages arrive from other servers without a login, authentication is required here.
Ports and encryption
| Port | Name | How encryption is enabled |
|---|---|---|
| 587 | submission (RFC 6409) | the client connects unencrypted and switches to TLS with the STARTTLS command |
| 465 | submissions (RFC 8314) | TLS starts right after the connection (implicit TLS) |
| 25 | smtp (RFC 5321) | for transfer between servers, not for users |
RFC 6409 (November 2011) separates message submission from transfer between servers: submission normally uses port 587 and can have its own security requirements and policies, while transfer stays on port 25. RFC 8314 (January 2018) prefers implicit TLS on port 465 and, for a transition period, recommends supporting both: 465 and STARTTLS on 587.
What an MSA does
It checks that the user has logged in (most often with SASL) and lets them send in their own name. It adds missing headers: Date, Message-ID. It refuses a message with a 550 reply if it is clearly not acceptable, and then passes it to the MTA. Many networks block outgoing port 25 and let user mail through only via submission.
# Postfix master.cf: submission on port 587submission inet n - n - - smtpd -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yesSources
the term is written from these pagesVerified 18 Nov