Public Repository

Last pushed: 9 months ago
Short Description
Easy SMTP relay (exim4)
Full Description

How to use this image

Start SMTP with sengrid connection (CMD)

docker run -d \
    --name some-smtp \
    -e RELAY_NETWORKS=:172.0.0.0/8:10.0.0.0/8 \
    -e MAILNAME=no-reply@foo.bar \
    -e SMARTHOST_ADDRESS: smtp.sendgrid.net \
    -e SMARTHOST_PORT=587 \
    -e SMARTHOST_USER=apikey \
    -e SMARTHOST_PASSWORD=API_KEY \
    -e SMARTHOST_ALIASES="\\*" \
    pojers/smtp

Start SMTP with sengrid connection (docker-compose)

  smtp:
    healthcheck:
      test: "/usr/local/sbin/check_eximailqueue.sh"
      interval: 30s
      timeout: 10s
      retries: 3
    image: pojers/smtp
    environment:
      RELAY_NETWORKS: :172.0.0.0/8:10.0.0.0/8
      MAILNAME: no-reply@foo.bar
      SMARTHOST_ADDRESS: smtp.sendgrid.net
      SMARTHOST_PORT: 587
      SMARTHOST_USER: apikey
      SMARTHOST_PASSWORD: API_KEY
      SMARTHOST_ALIASES: "\\*"
Docker Pull Command
Owner
pojers