Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No email notification for File rejected event #11064

Open
prashant-gurung899 opened this issue Feb 26, 2025 · 1 comment
Open

No email notification for File rejected event #11064

prashant-gurung899 opened this issue Feb 26, 2025 · 1 comment
Labels

Comments

@prashant-gurung899
Copy link
Contributor

prashant-gurung899 commented Feb 26, 2025

Describe the bug

Currently, email notification for File rejected event is not implemented. So, there's no email notification when a file with virus is uploaded. And we currently don't know if it will be implemented or not in the near future.

Image

Steps to reproduce

  1. Run the server with antivirus service clamAV and email service mailpit.
  2. As user demo, upload a file with virus.
  3. User demo gets in-app notification for virus found.
  4. Check for email notification in email service mailpit.

Expected behavior

Expected to get an email notification related to Virus found

Actual behavior

No email notification.

AntivirusEmailNotification.webm

Setup

OCIS_LOG_LEVEL=debug \
PROXY_ENABLE_BASIC_AUTH=true \
OCIS_ADD_RUN_SERVICES=notifications \
NOTIFICATIONS_SMTP_HOST=localhost \
NOTIFICATIONS_SMTP_PORT=1025 \
FRONTEND_CONFIGURABLE_NOTIFICATIONS=true \
NOTIFICATIONS_SMTP_INSECURE=true \
NOTIFICATIONS_SMTP_SENDER="owncloud <[email protected]>" \
ANTIVIRUS_SCANNER_TYPE="clamav" \
ANTIVIRUS_CLAMAV_SOCKET="tcp://host.docker.internal:3310" \
POSTPROCESSING_STEPS="virusscan" \
OCIS_ASYNC_UPLOADS=true OCIS_ADD_RUN_SERVICES="antivirus" ./ocis/bin/ocis server

Infinite Scale 7.1.0-rc.5+482bc0cd06 Community
ownCloud Web UI 11.3.0

@prashant-gurung899 prashant-gurung899 changed the title [OCM] no notification for File rejected event No email notification for File rejected event Feb 26, 2025
@2403905
Copy link
Contributor

2403905 commented Feb 26, 2025

There are 3 events related to the Space available via email SpaceShared, SpaceUnshared, and SpaceMembershipExpired.
There are no plans for implementation of the email notification for File rejected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants