GithubHelp home page GithubHelp logo

miguelramosfdz / sendmail Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiicloud/sendmail

0.0 2.0 0.0 270 KB

Setup your mail service like mailgun in one minute at anywhere(home/office/datacenter/cloud/vps), support: smtp/mailgun-http

sendmail's Introduction

sendmail

Setup your mail service like mailgun in one minute at anywhere(home/office/datacenter/cloud/vps).

Programming API: smtp/mailgun-http.

Support SPF/DKIM

Requirement

You should own dnspod account and add one top-level domain in dnspod. http://dnspod.cn

Build

docker build -t nicescale/sendmail .

RUN

docker run -d --name mta -h mail.example -e MAIL_DOMAIN=mail.example -e [email protected] -e DP_PASS=123456 nicescale/sendmail
  • MAIL_DOMAIN

your mail domain for sendmail service. if sender is [email protected], then you should set MAIL_DOMAIN=mail.nicescale.com

  • DP_USER

your login user of dnspod.cn

  • DP_PASS

your login password of dnspod.cn

  • CHECK_INTERVAL

interval time to check if public ip is changed and update it automatically, just ddns function. if set to 0, then no check.

The dnspod api is called over https, dont worry about your password leak.

This docker will setup a MTA service, and set TXT domain record of spf/dkim in dnspod.cn automatically.

Further more, we will support http/tls smtp.

Usage

Configure smtp host and port(25) in your runtime, then you can sendmail through function mail. or:

docker run -d mta:mta nicescale/apache_php

then you can get smtp host/port from mta environments in your php.

Roadmap

  • support http api of mailgun
  • support tls smtp (587 port)
  • multiple public ips for one domain

sendmail's People

Contributors

hanwoody avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.