No description
  • Go 73.6%
  • Go Template 18.4%
  • Dockerfile 8%
Find a file
Jonas Leder 6b2453546c
All checks were successful
CI / docker (push) Successful in 0s
CI / helm (push) Successful in 0s
CI / build (push) Successful in 38s
Port CI to Forgejo Actions
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-18 10:29:34 +01:00
.forgejo/workflows Port CI to Forgejo Actions 2026-11-18 10:29:34 +01:00
helm quote values 2023-07-07 21:33:32 +02:00
.gitignore create helm chart 2023-07-07 19:58:56 +02:00
Dockerfile Update golang Docker tag to v1.27.4 2026-11-11 23:08:10 +00:00
go.mod Update go toolchain directive to v1.27.4 2026-11-11 23:08:05 +00:00
go.sum Update module github.com/urfave/cli/v3 to v3.14.0 2026-10-02 22:08:30 +00:00
LICENSE Update LICENSE 2020-01-21 19:00:30 -05:00
Readme.md Fix typo 2020-01-20 21:20:48 +00:00
renovate.json Migrate config renovate.json 2025-01-19 16:45:58 +01:00
smtp-gotify.go update urfave to v3 2025-05-14 23:20:47 +02:00

SMTP to Gotify

smtp-gotify is a small program which listens for SMTP and sends all incoming Email messages to your Gotify server. It is modified version of KostyaEsmukov/smtp_to_telegram .

Say you have a software which can send Email notifications via SMTP. You may use smtp-gotify as an SMTP server so the notification mail can be sent to a Gotify app.

Getting started

Starting a docker container:

docker run \
    --name smtp-gotify \
    -e GOTIFY_URL=<SERVER_URL> \
    -e GOTIFY_TOKEN=<APP_TOKEN1>,<APP_TOKEN2> \
    -p 2525:2525 \
    piedelivery/smtp-gotify

The variable GOTIFY_URL should be in the form http[s]://example.com[:port]/.

A few other environmental variables that can be optionally specified: GOTIFY_PRIORITY, GOTIFY_TITLE_TEMPLATE, and GOTIFY_MESSAGE_TEMPLATE.

Assuming that your Email-sending software is running in docker as well, you may use smtp-gotify:2525 as the target SMTP address. No TLS or authentication is required.