Skip to content
This repository has been archived by the owner on Nov 26, 2020. It is now read-only.

fametec/postfix-sendgrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

postfix-sendgrid

Simple SMTP Relay to Sendgrid

run

docker run --rm -d --name postfix \
-e SENDGRID_USER=postmaster@domain \
-e SENDGRID_PASS=xxxxxxxxx \
fametec/postfix-sendgrid 

docker-compose

version: '3.2'
#
### Services
#
services:
#
# SENDGRID
#
  relay:
    build: .
    image: fametec/postfix-sendgrid:latest
    restart: unless-stopped
    container_name: relay
    ports:
     - "30025:25"
    environment:
     SENDGRID_USER: apikey
     SENDGRID_PASS: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    volumes:
     - spool:/var/spool/postfix
volumes:
  spool:

testing

echo "Email Test" | mail -s "This is a simple test" [email protected]

About

Simple SMTP Relay to Sendgrid

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published