Emails not working
ive been testing ocis since i really like the web ui and style, but i cant for the life of my get emails to work. ive been on the forums with zero luck aswell so this is my last ditch effort before giving up.
if anything is needed feel free to ask logs dont seem to say much either.
this is my compose config for testing:
services: owncloud: image: owncloud/ocis:7.0.1 container_name: ocis restart: unless-stopped ports: - 9200:9200 volumes: - /mnt/Lambo/applications/ocis-config:/etc/ocis - /mnt/Chonky/ocis-data:/var/lib/ocis environment: OCIS_INSECURE: true OCIS_LOG_LEVEL: info OCIS_LOG_PRETTY: true PROXY_TLS: false PROXY_HTTP_ADDR: 0.0.0.0:9200 OCIS_URL: REDACTED OCIS_SHARING_PUBLIC_WRITEABLE_SHARE_MUST_HAVE_PASSWORD: true OCIS_SHARING_PUBLIC_SHARE_MUST_HAVE_PASSWORD: false OCIS_ADD_RUN_SERVICES: notifications NOTIFICATIONS_SMTP_INSECURE: false NOTIFICATIONS_SMTP_HOST: smtp.REDACTED.com NOTIFICATIONS_SMTP_PORT: 587 NOTIFICATIONS_SMTP_SENDER: REDACTED [email protected] NOTIFICATIONS_SMTP_USERNAME: [email protected] NOTIFICATIONS_SMTP_PASSWORD: REDACTED NOTIFICATIONS_SMTP_AUTHENTICATION: auto NOTIFICATIONS_SMTP_ENCRYPTION: starttls NOTIFICATIONS_EMAIL_TEMPLATE_PATH: /etc/ocis networks: - ocis networks: ocis: external: true
anyone please ?
Hi @StinkyTACO
Sorry for delay.
You could try to run the ocis with the inbucket plug fist.
docker run -d --name inbucket -p 9000:9000 -p 2500:2500 -p 1100:1100 inbucket/inbucket
Connect a container to a network ocis
And change env var in an owncloud
NOTIFICATIONS_SMTP_HOST: inbucket
NOTIFICATIONS_SMTP_PORT: 2500
NOTIFICATIONS_SMTP_INSECURE: "true"
You should be able to see the inbucket UI on port 9000
Or you can try to run the ocis_full example https://owncloud.dev/ocis/deployment/ocis_full/#install-ocis-and-traefik
On Linux and macOS you can add them to your /etc/hosts file and on Windows to C:\Windows\System32\Drivers\etc\hosts file like this:
127.0.0.1 ocis.owncloud.test
127.0.0.1 mail.owncloud.test
Clone oCIS repository
git clone https://github.com/owncloud/ocis.git --depth 1
Go to the deployment example
cd ocis/deployments/examples/ocis_full
docker compose -f docker-compose.yml -f ocis.yml -f inbucket.yml up -d
ive since updated to the latest version of ocis and have now tried inbucket but no change im also not using the full deployment example since im already using caddy as my proxy
Do you have a new installation of ocis v7.0.1 or have you been updated from ocis vx.x.x to ocis v7.0.1?
Is caddy in the same docker compose or outside?
Is the option Receive notification mails turned on in config?
sorry for the late reply
but yes a fresh install with email notifications enabled.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.