Sign inSign up

landjunior/smtp2http

By landjunior

•Updated about 1 year ago

A simple smtp server to forward incoming email to http post request endpoint (webhook)

Image
0

369

landjunior/smtp2http repository overview

Build from https://github.com/alash3al/smtp2http/tree/master⁠

⁠SMTP2HTTP (email-to-web)

smtp2http is a simple smtp server that resends the incoming email to the configured web endpoint (webhook) as a basic http post request.

docker run -p 25:25 smtp2http --webhook=http://some.hook/api

⁠smtp2http --help :

  -domain string
        domain for recieving mails
  -listen string
        the smtp address to listen on (default ":smtp")
  -msglimit int
        maximum incoming message size (default 2097152)
  -name string
        the server name (default "smtp2http")
  -pass string
        pass for smtp client
  -timeout.read int
        the read timeout in seconds (default 5)
  -timeout.write int
        the write timeout in seconds (default 5)
  -user string
        user for smtp client
  -webhook string
        the webhook to send the data to (default "http://localhost:8080/my/webhook")

Tag summary

Content type

Image

Digest

sha256:0942108f7…

Size

9.4 MB

Last updated

about 1 year ago

docker pull landjunior/smtp2http