HUB
Sign inSign up

pojers/smtp

By pojers

•Updated over 9 years ago

Easy SMTP relay (exim4)

Image
1

7.6K

pojers/smtp repository overview

⁠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 [email protected] \
    -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: [email protected]
      SMARTHOST_ADDRESS: smtp.sendgrid.net
      SMARTHOST_PORT: 587
      SMARTHOST_USER: apikey
      SMARTHOST_PASSWORD: API_KEY
      SMARTHOST_ALIASES: "\\*"
Tag summary
Recent tags
Content type
Image
Digest
Size
65.7 MB
Last updated
over 9 years ago
docker pull pojers/smtp:latest