Skip to content
This repository has been archived by the owner on May 16, 2022. It is now read-only.

teran/relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Report License FOSSA Status

Layers size Recent build commit Docker Automated build GoDoc

mail-relay

SMTP server to use for forwarding messages via HTTP-based services in environments not supporting SMTP outbound directly

How this works

Relay accepts SMTP connection to handle message with invoking Mailgun API with the message it got. Simply :) In depth in current implementation relay sends message synchronously via Mailgun Go's client.

How to use

docker run -it \
  -e RELAY_ADDR=:25 \
  -e RELAY_DOMAIN="<domain>" \
  -e RELAY_MAILGUN_PRIVATE_KEY="<mailgun private key>" \
  -e RELAY_MAILGUN_PUBLIC_KEY="<mailgun public key>" \
  -e RELAY_MAX_IDLE_SECONDS=300 \
  -e RELAY_MAX_MESSAGE_BYTES=1048576 \
  -e RELAY_MAX_RECIPIENTS=50 \
  teran/relay

License

FOSSA Status

About

SMTP server to use for forwarding messages via HTTP-based services in environments not supporting SMTP outbound traffic directly

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published