So I have installed the book stack addon in home assistant os. typically in a book stack server you have the option to configure an SMTP server to send email so that the server can send emails to invite users or verify email addresses upon registration. This is typically found in the web UI of the server for admins. However this is absent in the HA addon. And i cant see anyway to configure it. Is there a way to edit a config file to enable this feature?
ok so I have found the documentation on how to configure SMTP in yaml. I have made the changes and have tested new changes by using the Notifications: Send a notification with notifier_name option under the services tab in developer tools and i can confirm that Home Assistant can send emails! happy day!! However… Book stack still can not Does anyone know how to get book stack to use this newly configured SMTP server? or is there a way to set it up manually?? I really need book stack to be able to send emails.
Variables for Bookstack are described here Email & Webhooks · BookStack
this is what my config looks like
envvars:
- name: MAIL_DRIVER
value: smtp
- name: MAIL_HOST
value: <smtp_erver>
- name: MAIL_PORT
value: "587"
- name: MAIL_ENCRYPTION
value: tls
- name: MAIL_USERNAME
value: <login>
- name: MAIL_PASSWORD
value: <pass>
- name: MAIL_FROM
value: [email protected]
- name: MAIL_FROM_NAME
value: BookStack
ssl: true
certfile: fullchain.pem
keyfile: privkey.pem
Any idea why this is not working?
> # Verify SSL/TLS certificates during SMTP sending
> # WARNING: Disabling verification using a 'false' value
> # can make you vulnerable to MITM attacks
> MAIL_VERIFY_SSL=false
So I added this to the env section:
- name: MAIL_VERIFY_SSL
value: false
Result is: “Failed to save add-on configuration, not a valid value.”