Giter VIP home page Giter VIP logo

docker-aws-ses-postfix-relay's Introduction

AWS SES Postfix Relay ✉️

No-frills container that runs Postfix 3.3 using its new start-fg option that was specifically added for running inside containers. See the Postfix release notes

The configuration is specifically intended to be used as a relay for AWS SES. The postfix config was derived from the aws documentation.

The relay will use TLS/SSL connections to connect to AWS SES. This container is designed to run inside a trusted docker network. Configuring docker containers to use the smtp server smtp which no credentials or encryption requirements works for the vast majority of services out there. Please do not expose port 25 to the docker host unless you kow what you are doing.

Usage:

version: '3'

services
  smtp:
    build: gardner/aws-ses-postfix-relay
    container_name: smtp
    restart: unless-stopped
    environment:
      - SMTP_HOST=email-smtp.us-east-1.amazonaws.com
      - SMTP_USERNAME=${SMTP_USERNAME}
      - SMTP_PASSWORD=${SMTP_PASSWORD}

Credentials

To get a username and password visit the SES console for you desired region. Go to SMTP Settings and click on "Create My SMTP Credentials". Please keep them secret and do not check them into git. 👍

docker-aws-ses-postfix-relay's People

Contributors

gardner avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-aws-ses-postfix-relay's Issues

Container unable to resolve SES endpoint

Message not sent and mailq in the container was showing:

(Host or domain name not found. Name service error for name=email-smtp.eu-central-1.amazonaws.com type=AAAA: Host not found, try again)

Potential fix in #2

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.