[fixed] Seafile mail service not working

Hi Seafile community,

i have a problem with sending e-mails with seafile.
When i try to reset the password over the administration panel or over the login page link it shows following error in my journal.

[ERROR] seahub.views.sysadmin:1064 user_reset [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:661)
[ERROR] seahub.auth.views:308 password_reset [SSL: WRONG_VERSION_NUMBER] wrong version number (_ssl.c:661)

My seahub_settings.py is configured like this:

EMAIL_BACKEND = 'django_smtp_ssl.SSLEmailBackend'
EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.web.de'
EMAIL_HOST_USER = 'user@web.de'
EMAIL_HOST_PASSWORD = 'pass'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

The port to the web.de server is also open:

nc -zv smtp.web.de 587
smtp.web.de [213.165.67.108] 587 (submission) open

I did implement the bugfix from: https://github.com/bancek/django-smtp-ssl which was mentioned here: https://manual.seafile.com/config/sending_email.html

Appreciate any help!

Just for documentation i answer my question to myself. The problem is fixed now.
I did realize latly that my seahub service did write his log not anymore in the seahub.log, but instead it uses the SystemD’s JournalD.
So i did a little bit try and error and one of the tries was to implement this https://github.com/bancek/django-smtp-ssl workaround, but this brought me to another problem, with SSL support.
So i changed my configuration back to: (delete the email backend)

EMAIL_USE_TLS = True
EMAIL_HOST = 'smtp.web.de'
EMAIL_HOST_USER = 'user@web.de'
EMAIL_HOST_PASSWORD = 'pass'
EMAIL_PORT = 587
DEFAULT_FROM_EMAIL = EMAIL_HOST_USER
SERVER_EMAIL = EMAIL_HOST_USER

Then i restart my seahub service and did see with

:~# journalctl -u seahub.service
[ERROR] seahub.views.sysadmin:1064 user_reset (535, 'Authentication credentials invalid')

I did a login to my web.de web frontend and it shows up a “abnormal activities message”, because i caused with my experimentation some false logins, so i changed my password as suggested from web.de and change it in my seahub_settings.py. Then i uninstall the pip module i installed thas was mentioned in the workaround github link i tried before. After a restart of seahub e-mail sending is fine again.