Sign inSign up

rusxakep/postfix-relay

By rusxakep

•Updated about 5 years ago
Archived

Postfix Relay for easy SMTP capabilities for containers based on Alpine w/Zabbix Monitoring

Image
0

10K+

rusxakep/postfix-relay repository overview

⁠hub.docker.com/r/rusxakep/postfix-relay

Build Status Docker Pulls Docker Stars Docker Layers

⁠Introduction

Dockerfile to build a simple Postfix container designed to relay messages to an external SMTP Server

This container uses Alpine:3.12 as a base.

Changelog⁠

⁠Authors

⁠Table of Contents

⁠Prerequisites

This image will need to connect to an external SMTP Server with user authentication enabled.

⁠Installation

Automated builds of the image are available on Registry⁠ and is the recommended method of installation.

docker pull rusxakep/postfix-relay

⁠Quick Start

⁠Configuration

⁠Data-Volumes

The following directories are used for configure and can be mapped for persistent storage.

DirectoryDescription
/var/logPostfix Mail Logs
⁠Environment Variables

Below is the complete list of available options that can be used to customize your installation.

ParameterDescription
SMTP_HOSTThe SMTP Host to forward mails to (e.g. mail.hostname.com) - Default localhost
SMTP_USERThe username for authentication to remote SMTP (e.g. [email protected]⁠) - REQUIRED
SMTP_PASSThe password for above username (e.g. password) - REQUIRED
SERVER_NAMEThe hostname to identify ourselves to the remote SMTP Server (e.g. yourhost.hostname.com) - Default postfix-relay
ACCEPTED_NETWORKSWho to allow access to relay - Default 172.16.0.0/12
USE_TLSUse TLS when sending yes or no - Default no
TLS_VERIFYTrust Level for checking remote cert (none, may, encrypt, dane, dane-only, fingerprint, verify, secure - Default may)

⁠Maintenance

⁠Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. postfix-relay) bash

⁠References

Tag summary

Content type

Image

Digest

Size

60.8 MB

Last updated

about 5 years ago

docker pull rusxakep/postfix-relay