Docker - Postfix Mailgun Relay
To run the container temporarily, use the following command: docker run -i -t --rm --name [[Container Name]] -p [[Listening Port]]:25 -e SYSTEM_TIMEZONE="[[Timezone: America/New_York]]" -e MYNETWORKS="[[Allowed Networks]]" -e EMAIL="[[Mailgun Login]]" -e EMAILPASS="[[Mailgun Password]]" bittrance/postfix-mailgun-relay To run the container as a constant service, use the following command: docker run -d --restart=always --name [[Container Name]] -p [[Listening Port]]:25 -e SYSTEM_TIMEZONE="[[Timezone: America/New_York]]" -e MYNETWORKS="[[Allowed Networks]]" -e EMAIL="[[Mailgun Login]]" -e EMAILPASS="[[Mailgun Password]]" bittrance/postfix-mailgun-relay Container Documentation https://store.docker.com/community/images/bittrance/postfix-mailgun-relay



Container Name:
Listening Port:
Timezone: America/New_York:
Allowed Networks:
Mailgun Login:
Mailgun Password:


Use this code to post the full script to your own page:



Use this code to post only the variables to your own page: