Sign inSign up

enmobile/postfix-gmail-relay

By enmobile

•Updated almost 11 years ago

Forked from LyleScott/postfix-gmail-relay with updated Dockerfile and reduced layers

Image
0

2.0K

enmobile/postfix-gmail-relay repository overview

⁠docker-postfix-gmail-relay

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

⁠configure

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="mypassword" \
    lylescott/postfix-gmail-relay

Tag summary

Content type

Image

Digest

sha256:d2ab098e9…

Size

109.8 MB

Last updated

almost 11 years ago

docker pull enmobile/postfix-gmail-relay