You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Email are not sent: "Must issue a STARTTLS command first" #514
I've configured an SMTP server in the .env. Also ever user has a valid email-address.
Now, e.g. when sharing a file, no e-mail is sent.
Docker compose setup ("opencloud_full").
Steps to reproduce
Configure SMTP server in .env
Create users with valid e-mail addresses.
Share a file with another user
Expected behavior
The user who receives the share should get an e-mail.
Actual behavior
No e-mail is sent.
Setup
.env:
Details
SMTP_HOST=xxx.netcup.net
# Port of the SMTP host to connect to.SMTP_PORT=587
# An eMail address that is used for sending OpenCloud notification eMails
# like "opencloud notifications <[email protected]>".[email protected]
# Username for the SMTP host to connect to.[email protected]
# Password for the SMTP host to connect to.SMTP_PASSWORD=xxx
# Authentication method for the SMTP communication.SMTP_AUTHENTICATION=auto
# Allow insecure connections to the SMTP server. Defaults to false.SMTP_INSECURE=true
Using plain for SMTP_AUTHENTICATION doesn't change anything.
Error in docker logs opencloud_full-opencloud-1:
{"level":"error","service":"notifications","error":"530 5.7.0 Must issue a STARTTLS command first","event":"SendEmail","time":"2025-03-28T18:40:17Z","line":"github.com/opencloud-eu/opencloud/services/notifications/pkg/service/service.go:158","message":"failed to send a message"}
Activity
rhafer commentedon Mar 31, 2025
I think the
.envfile is unfortunately not exposing theNOTIFICATIONS_SMTP_ENCRYPTIONsetting see #511 (comment)adapt test for #514
adapt test for #514
adapt test for #514
adapt test for #514
adapt test for #514
adapt test for #514 (#2255)
Revert "adapt test for opencloud-eu#514 (opencloud-eu#2255)"
Revert "adapt test for #514 (#2255)"
chore(deps): update opencloudeu/opencloud-rolling docker tag to v5.0.2
chore(deps): update opencloudeu/opencloud-rolling docker tag to v5.0.2
Reapply "adapt test for opencloud-eu#514 (opencloud-eu#2255)"
Reapply "adapt test for #514 (#2255)" (#2305)
update reva after merge #514
update reva after merge #514 (#2309)
chore(deps): update opencloudeu/opencloud-rolling docker tag to v5.1.0
chore(deps): update opencloudeu/opencloud-rolling docker tag to v5.1.0
chore(deps): update opencloudeu/opencloud-rolling docker tag to v7.2.0
adapt test for opencloud-eu#514 (opencloud-eu#2255)
Revert "adapt test for opencloud-eu#514 (opencloud-eu#2255)"
Reapply "adapt test for opencloud-eu#514 (opencloud-eu#2255)" (opencl…
update reva after merge opencloud-eu#514 (opencloud-eu#2309)