2024-09-21 06:35:23 +05:00
2024-09-21 06:09:14 +05:00
2024-09-21 06:35:23 +05:00
2024-09-21 06:09:14 +05:00

SMTP Bridge

Deploy

  1. Create compose.yml
services:
  smtp-bridge:
    image: git.shihaam.dev/shihaam/smtp-bridge
    restart: always
    env_file: .env
    ports:
      - 2525:2525
  1. Fill .env
TELEGRAM_API_KEY=''
TELEGRAM_DOMAIN='telegram.local'
NTFY_TOKEN='your_ntfy_token_here'
NTFY_URL='https://ntfy.sh'
NTFY_DOMAIN='ntfy.local'
  1. Start the container docker compose up -d
  2. Configure your application to use this brige
SMTP
Host: <IP address of the bridge>
Port: 2525
SSL: non
Authentication: non
Username: it_doesnt@matter.com
Password: this_field_is_ignored
Sender Address: this_also@ignored.com
  1. Send test email to your ntfy topic or telegram chat id, example below
topic@ntfy.local
chatid@telegram.local
Description
Relay service that accepts SMTP and Sends those it to Telegram or NTFY
Readme 45 KiB
Languages
Python 97%
Dockerfile 3%