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

bittrance/docker-postfix-mailgun-relay

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker-postfix-mailgun-relay

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

Configurables

SYSTEM_TIMEZONE = UTC or America/New_York
MYNETWORKS = "10.0.0.0/8 192.168.0.0/16 172.0.0.0/8"
MYDESTINATION = hostname.domain.com, hostname
EMAIL = [email protected] (as shown in Mailgun web UI)
EMAILPASS = password (as shown in Mailgun web UI)

Example

docker run -i -t --rm \                                                        
    --name mailgun-relay \
    -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 MYDESTINATION="hostname.domain.com, hostname" \
    -e EMAIL="[email protected]" \
    -e EMAILPASS="your_password" \
    postfix-mailgun-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

  • Shell 100.0%