Skip to content

About

Simple Dockerized SMTP relay that lets legacy devices without TLS support (printers, copiers) send email through a modern SMTP provider.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

Repository files navigation

SMTP Relay
Dockerized SMTP relay that lets legacy devices without TLS support send email through a modern SMTP provider.


Description

  • SMTP Relay is a simple SMTP server that forwards emails to another SMTP server.
  • It is ideal for older devices (e.g. copiers) that support only basic SMTP authentication and not modern TLS.

Installation

git clone https://github.com/K-cermak/SMTP-Relay.git

cd SMTP-Relay

cp .env.example .env

  • Edit the .env file, for example with nano or vim:
SMTP_PORT=1025              # PORT ON WHICH THE RELAY WILL BE AVAILABLE

LOCAL_USER=user             # LOCAL USER FOR SMTP AUTHENTICATION
LOCAL_PASS=password         # LOCAL PASSWORD FOR SMTP AUTHENTICATION

RELAY_HOST=smtp.gmail.com   # REMOTE SMTP HOST
RELAY_PORT=587              # REMOTE SMTP PORT
RELAY_USER=you@example.com  # REMOTE SMTP USER
RELAY_PASS=password         # REMOTE SMTP PASSWORD
  • Start the container:
docker compose up -d

About

Simple Dockerized SMTP relay that lets legacy devices without TLS support (printers, copiers) send email through a modern SMTP provider.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages