2024-03-15
Many thanks to @Ar-4t for generously sponsoring an enhancement that is included in this release:
-
#236: Support local
STARTTLS
for SMTP connections.The proxy has long supported server-side SMTP
STARTTLS
, but has previously required this to be handled by itself (rather than the email client) in order for it to be able to intercept and authenticate the connection. Some clients require secure local connections, but only support this viaSTARTTLS
, however, and previously these could not be used with the proxy directly. This feature adds a newlocal_starttls
configuration parameter, used in conjunction withlocal_certificate_path
andlocal_key_path
.As part of this change, the existing
starttls
configuration parameter has been renamed toserver_starttls
to avoid confusion going forward. Updating existing configuration files is recommended to avoid confusion, particularly if both options are enabled, but the original value will continue to be supported –starttls = True
will always enable server-sideSTARTTLS
.
This release also contains the following improvements/fixes:
- #215: Better handling of
getaddrinfo
results – thanks @jlevon - #228: Allow failed local authentication attempts to be retried (rather than closing the connection immediately) – thanks @bemoody
- #237: Support servers that return strings for expected integer values in their token response – thanks @FlashIvano
- Better handling of parse errors in configuration files