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

fametec/postfix-gmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SMTP Relay to GMAIL

What is postfix-gmail?

It is a simple Postfix SMTP server that relay all messages to GMAIL

How to use this image

running a instance

docker run --rm -p 30025:25 -d --name postfix \
-e GMAIL_USER=AAAAAAAAAAAAAAAAAAAAAAAA \
-e GMAIL_PASS=BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB \
fametec/postfix-gmail:latest

... or via docker-compose

version: '3.2'
#
### Services
#
services:
#
# GMAIL
#
  relay:
    image: fametec/postfix-gmail:latest
    restart: unless-stopped
    container_name: relay-gmail
    ports:
     - "30025:25"
    environment:
     SES_USER: XXXXXXXXXXXXXXXX
     SES_PASS: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

testing

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

or

sendmail -f [email protected] [email protected]
From: Sender Name <[email protected]>
Subject: Simple Test                
This message was sent using GMAIL.                
.

Releases

No releases published

Packages

No packages published