Hello, i’ve correctly working Seafile 12 in Docker (it was previously 9 → 10 → 11). One think i can’t make works is email notification. I read documentation, read a lot of forum threads, but i still on start
What i have: working email server, a lot of services (grafana for example) successfuly send mail via 465 (ssl) port.
In seahub_settings.py i’ve added:
EMAIL_USE_TLS = False
EMAIL_HOST = 'mail.domain.tech'
EMAIL_HOST_USER = 'seafile@domain.tech'
EMAIL_HOST_PASSWORD = '********'
EMAIL_PORT=465
DEFAULT_FROM_EMAIL = 'seafile@domain.tech'
SERVER_EMAIL = 'seafile@domain.tech'
Ok, trying to add new user, try to share link via email - no letters comming.
In seahub.log i can see errors:
[2025-05-16 14:16:54] [ERROR] seahub.api2.utils:326 send_share_link_emails Failed to send code via email to user@domain.net
[2025-05-16 14:29:58] [ERROR] seahub.api2.endpoints.admin.users:894 post Connection unexpectedly closed
In email server logs i see:
Info: Disconnected: Disconnected for inactivity. (no auth attempts in 180 secs)
It looks like seahub connects to 465 port successfully, then wait for some reason for 180 sec and mail server then close connection.
I try to set DEBUG to True and replace all INFO loglevel to DEBUG in /opt/seafile/seafile-server-12.0.11/seahub/seahub/setting.py, but no new logs appears.
Is it possible to dubug this behaviour somehow?
Thanks