aio-libs / aiosmtpd

A reimplementation of the Python stdlib smtpd.py based on asyncio.
https://aiosmtpd.aio-libs.org
Apache License 2.0
312 stars 95 forks source link

Old authenticators won't work #452

Open amotzkau opened 2 months ago

amotzkau commented 2 months ago

The previous authenticator system (before #218) doesn't set session.authenticated anymore. Previously the session object automatically returned authenticated = True when login_data is set. This was removed in 359d9c7946289444f8a0e9dfa09868705427cb3e, therefore subsequent handlers will treat the session as non-authenticated resulting in '5.7.0 Authentication required' errors.