Skip to content

A docker image that uses postfix as a relay through gmail. Useful to link to other images.

License

Notifications You must be signed in to change notification settings

LyleScott/docker-postfix-gmail-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-postfix-gmail-relay

A docker image that uses postfix as a relay through gmail. Useful to link to other images.

NOTE: works with domains hosted by Google, also. ie, Google for Work.

Configurables

SYSTEM_TIMEZONE = UTC or America/New_York
MYNETWORKS = "10.0.0.0/8 192.168.0.0/16 172.0.0.0/8"
EMAIL = gmail or google domain
EMAILPASS = password (is turned into a hash and this env variable is removed at boot)

Example

docker run -i -t --rm \                                                        
    --name gmailrelay \
    -p 9025:25 \
    -e SYSTEM_TIMEZONE="America/New_York" \
    -e MYNETWORKS="10.0.0.0/8 192.168.0.0/16 172.0.0.0/8" \                    
    -e EMAIL="[email protected]" \
    -e EMAILPASS="your_password" \
    postfix-gmail-relay

About

A docker image that uses postfix as a relay through gmail. Useful to link to other images.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages