Skip to content

2024-03-15

Compare
Choose a tag to compare
@simonrob simonrob released this 15 Mar 08:50
· 12 commits to 30e80a25e532842bcf67a3978752f5ca81dd5cb6 since this release
6ef9d4f

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 via STARTTLS, however, and previously these could not be used with the proxy directly. This feature adds a new local_starttls configuration parameter, used in conjunction with local_certificate_path and local_key_path.

    As part of this change, the existing starttls configuration parameter has been renamed to server_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-side STARTTLS.

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