Repository navigation
require transport security by default in the Ext.Mail SmtpAppender - #329
Conversation
TransportSecurity defaulted to None, so body and credentials crossed the network in cleartext unless the operator found the knob. It now defaults to Required. * EnableSsl is the same setting, so its default flips to true with it. * Breaks a relay without STARTTLS; opt out with transportSecurity=None or enableSsl=false. * Also fixes the stale TLS docs in the README and the Antora page (f027). audit da18b6f-f026
|
Implementation plan for #329, kept here for the record. Revised after the merge so that it describes the change as it landed. PlanPR #329: require transport security in the Ext.Mail SmtpAppenderContextf026 of scan Decision: flip the default to The package shipped in 3.4.0, so this lands on existing users: a relay on port 25 that offers no
Branch
The change
public SmtpTransportSecurity TransportSecurity { get; set; } = SmtpTransportSecurity.Required;Everything else follows from it and must be updated in the same commit:
Tests
New, and red against the old code, each with a doc comment:
Changelog
Answer the scan on the finding as a decision: we took the majority position and accept the break Verification
|
TransportSecurity defaulted to None, so body and credentials crossed the network in cleartext unless the operator found the knob. It now defaults to Required.
audit da18b6f-f026