Skip to content
forked from teran/relay

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

License

Notifications You must be signed in to change notification settings

dapperlabs/relay

 
 

Repository files navigation

Go Report License

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=:2025 \
  -e RELAY_DOMAIN="<domain>" \
  -e RELAY_MAILGUN_PRIVATE_KEY="<mailgun private key>" \
  -e RELAY_MAX_IDLE_SECONDS=300 \
  -e RELAY_MAX_MESSAGE_BYTES=1048576 \
  -e RELAY_MAX_RECIPIENTS=50 \
  teran/relay

License

MIT

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 70.3%
  • Makefile 23.4%
  • Dockerfile 6.3%