haiwen / seafile-docker

A Docker image for Seafile server
Other
544 stars 184 forks source link

[PRO] No verification email sent when share link audit is enabled #173

Closed chaosbunker closed 5 years ago

chaosbunker commented 5 years ago

Hi!

When ENABLE_SHARE_LINK_AUDITis set to True in seahub-settings.py and a user wants to access a share link, no email is sent to them.

The strange thing is that E-Mails are sent for password reset. I think I remember share link notifications working, around a year ago ..

SMTP settings are set like this in seahub_settings:

EMAIL_USE_TLS = True
EMAIL_HOST = 'mail.example.com'
EMAIL_HOST_USER = 'x@example.com'
EMAIL_HOST_PASSWORD = 'xxx'
EMAIL_PORT = 587

I tried to find hints in the logs, but didn't see anything related to E-Mail sending..

chaosbunker commented 5 years ago

This issue seems to be related to my setup, as the issue does not exist on a clean install.