Setup

Stack config: https://github.com/one137/dockerhost-stacks/blob/main/stacks/50-mailrise.yml

mailrise.conf (file needs to be readable by user 999):

configs:
  proxmox-notices-telegram:
    urls:
      - tgram://${TOKEN_ID}/${CHAT_ID}
    mailrise:
      body_format: text
      body_template: " "
smtp:
  auth:
    basic:
      ${USER}: ${PASS}

Create a mailrise.one137.dev stream host in NPM, TCP port 8025.

Configuring Proxmox

Create an SMTP notification target with:

  • Server: mailrise.one137.dev
  • Encryption: none
  • Port: 8025
  • From address: …
  • Additional recipients: [email protected]
  • Comment: Send Telegram message
  • Authenticate: On / {PASS}
  • Author (advanced): ” ” just a space, Mailrise crashes without that