aio-libs / aio-libs/aiosmtpd

AUTH not provided in EHLO with SSL/TLS

Open
#281 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
373
Forks
105
Avg merge
4m
Merged PRs (30d)
2

Description

When using implicit SSL/TLS (so no STARTTLS), the `self._tls_protocol` will never be set. This results in `AUTH` not being present in the EHLO response (given that `auth_require_tls` is true): https://github.com/aio-libs/aiosmtpd/blob/master/aiosmtpd/smtp.py#L833

I would expect that when an SSL/TLS connection is used instead of STARTTLS (and `auth_require_tls` is true), `AUTH` is provided to the client. Currently, we are setting `auth_require_tls` is false to circumvent this issue.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.