Skip to content

fametec/postfix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postfix

FOSSA Status

Images

  • fametec/postfix:latest
  • fametec/postfix:mailgun
  • fametec/postfix:mailgun-europe
  • fametec/postfix:ses
  • fametec/postfix:gmail
  • fametec/postfix:office365
  • fametec/postfix:sendgrid
  • fametec/postfix:locaweb

Postfix SMTP Relay

run

docker run --rm -d --name postfix \
-e RELAY_USER=postmaster@domain \
-e RELAY_PASS=xxxxxxxxx \
-e RELAY_HOST=smtp.mailgun.org \
fametec/postfix:latest

docker-compose

version: '3.2'
#
### Services
#
services:
#
# MAILGUN
#
  relay:
    image: fametec/postfix:latest
    restart: unless-stopped
    volumes: 
     - postfix-volume:/var/spool/postfix
    ports:
     - "30025:25"
    environment:
     RELAY_USER: postmaster@XXXXXXXXXXXXXXXX
     RELAY_PASS: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
     RELAY_HOST: smtp.mailgun.org
     
#
### Volumes
#
volumes:
  postfix-volume:

testing

echo "Email Test" | mail -s "This is a simple test" contato@fametec.com.br

or

sendmail -f sender@example.com recipient@example.com
From: Sender Name <sender@example.com>
Subject: Amazon SES Test                
This message was sent using Amazon SES.                
.

License

FOSSA Status