What works really good and what I am using now is following:
1) Create a mailrise docker container on the OMV server with docker compose:
Code
services:
mailrise:
image: yoryan/mailrise
container_name: mailrise
restart: unless-stopped
ports:
- 8025:8025
volumes:
- ./mailrise.conf:/etc/mailrise.conf:ro
the mailrise.conf has to be set, e.g. for notifications to gotify like this, but can be configured using any apprise url structure. A sample mailrise.conf is here:
I did following simple config for gotify:
Code
configs:
# You can send to this config with "gotify@mailrise.xyz".
#
gotify:
urls:
- gotifys://URL/API
Then set the OMV notification settings accordingly:
SMTP-server: 192.168.1.2 (change this to your OMV instance local IP-adress.)
SMTP-port: 8025
Encryption: None
Sender email: any@any.com
recipient email gotify@mailrise.xyz (change according to the mailrise.conf)
This forwards mail received to my gotify instance and notifies me.