All Projects → instrumentisto → postfix-docker-image

instrumentisto / postfix-docker-image

Licence: MIT License
Postfix MTA Docker image

Programming Languages

PHP
23972 projects - #3 most used programming language
shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to postfix-docker-image

ControlCenter
Mirrored from GitLab! Monitoring and automation for Open Source email servers, starting with Postfix. Please do not submit issues or PRs here - join us at: https://gitlab.com/lightmeter
Stars: ✭ 88 (+340%)
Mutual labels:  postfix
webadmin
SophiMail Webadmin and Dashboard
Stars: ✭ 48 (+140%)
Mutual labels:  postfix
pymailq
Simple mails queue management
Stars: ✭ 32 (+60%)
Mutual labels:  postfix
mailserver
Simple and full-featured mail server using Docker
Stars: ✭ 88 (+340%)
Mutual labels:  postfix
xmpp-cloud-auth
🔑 Authentication hub for Nextcloud+JSXC→Prosody, ejabberd, saslauthd, Postfix
Stars: ✭ 58 (+190%)
Mutual labels:  postfix
Apex-Code-Conventions
Apex conventions and best practices for Salesforce Developers
Stars: ✭ 28 (+40%)
Mutual labels:  postfix
Docker Postfix
Simple SMTP server / postfix null relay host for your Docker and Kubernetes containers. Based on Alpine Linux.
Stars: ✭ 163 (+715%)
Mutual labels:  postfix
trualias
Mentally computable verification codes for email aliases implemented as a postfix tcp table or milter; uses asyncio.
Stars: ✭ 33 (+65%)
Mutual labels:  postfix
Hermes-Secure-Email-Gateway
Hermes Secure Email Gateway is a Free Open Source Ubuntu 18.04 or 20.04 Server based Email Gateway that provides Spam, Virus and Malware protection, full in-transit and at-rest email encryption as well as email archiving. It features the latest email authentication techniques such as SPF, DKIM and DMARC.
Stars: ✭ 35 (+75%)
Mutual labels:  postfix
docker-postfix-relay
SMTP server and SMTP relay host
Stars: ✭ 19 (-5%)
Mutual labels:  postfix
ldap-mail-schema
a collection of LDAP mail schemas
Stars: ✭ 36 (+80%)
Mutual labels:  postfix
mailfull-go
A management tool for virtual domain email for Postfix and Dovecot written in Go
Stars: ✭ 20 (+0%)
Mutual labels:  postfix
vscode-postfix-ts
Postfix notation for TypeScript/Javascript - extension for VS Code
Stars: ✭ 112 (+460%)
Mutual labels:  postfix
magento2-server-configuration
Magento 2 server configuration -PHP7, Nginx, Postfix
Stars: ✭ 68 (+240%)
Mutual labels:  postfix
docker-smtp-relay
Docker image running a SMTP relay with postfix
Stars: ✭ 57 (+185%)
Mutual labels:  postfix
docker-postfix
Postfix Docker image. Read-only mirror of https://gitlab.com/tozd/docker/postfix
Stars: ✭ 23 (+15%)
Mutual labels:  postfix
bacula-utils
A collect of tools to use with bacula
Stars: ✭ 36 (+80%)
Mutual labels:  postfix
docker-mail-server
Ansible playbooks to deploy a full featured mail server stack using Docker.
Stars: ✭ 47 (+135%)
Mutual labels:  postfix
Send2KindleBot
Send to Kindle Telegram Bot
Stars: ✭ 111 (+455%)
Mutual labels:  postfix
postfixadmin-cookbook
Chef cookbook to install and configure PostfixAdmin.
Stars: ✭ 13 (-35%)
Mutual labels:  postfix

Postfix Docker Image

Build Status Docker Pulls Uses

Supported tags and respective Dockerfile links

What is Postfix?

Postfix is a free and open-source mail transfer agent (MTA) that routes and delivers electronic mail, intended as an alternative to Sendmail MTA.

It is Wietse Venema's mail server that started life at IBM research as an alternative to the widely-used Sendmail program. Now at Google, Wietse continues to support Postfix.

Postfix attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.

www.postfix.org

Postfix Logo

How to use this image

To run Postfix just mount your configuration files and start the container:

docker run -d -p 25:25 -v /my/main.cf:/etc/postfix/main.cf instrumentisto/postfix

Configuration

To configure Postfix you may use one of the following ways (but not both at the same time):

  1. Drop-in files.
    Put your configuration files (must end with .cf) in /etc/postfix/main.cf.d/ and /etc/postfix/master.cf.d/ directories. These files will be applied to default Postfix configuration when container starts.

    docker run -d -p 25:25 \
               -v /my/main.cf:/etc/postfix/main.cf.d/10-custom.cf:ro \
               -v /my/master.cf:/etc/postfix/master.cf.d/10-custom.cf:ro \
           instrumentisto/postfix

    This way is convenient if you need only few changes to default configuration, or you want to keep different parts of configuration in different files.

  2. Specify whole configuration.
    Put your configuration files (main.cf and master.cf) in /etc/postfix/ directory, so fully replace the default configuration files provided by image.

    docker run -d -p 25:25 \
               -v /my/main.cf:/etc/postfix/main.cf:ro \
               -v /my/master.cf:/etc/postfix/master.cf:ro \
           instrumentisto/postfix

    This way is convenient when it's easier to specify the whole configuration at once, rather than reconfigure default options.

Default configuration

To see default Postfix configuration of this Docker image just run:

# for main.cf
docker run --rm instrumentisto/postfix postconf

# for master.cf
docker run --rm instrumentisto/postfix postconf -M

Image versions

X

Latest version of X Postfix major version.

X.Y

Latest version of X.Y Postfix minor version.

X.Y.Z

Concrete X.Y.Z version of Postfix.

alpine

This image is based on the popular Alpine Linux project, available in the alpine official image. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.

This variant is highly recommended when final image size being as small as possible is desired. The main caveat to note is that it does use musl libc instead of glibc and friends, so certain software might run into issues depending on the depth of their libc requirements. However, most software doesn't have an issue with this, so this variant is usually a very safe choice. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.

Important tips

As far as Postfix writes its logs only to syslog, the syslogd process runs inside container as second side-process and is supervised with s6 supervisor provided by s6-overlay project.

Logs

The syslogd process of this image is configured to write everything to /dev/stdout.

To change this behaviour just mount your own /etc/syslog.conf file with desired log rules.

s6-overlay

This image contains s6-overlay inside. So you may use all the features it provides if you need to.

License

Postfix itself is licensed under IPL-1 license.

Postfix Docker image is licensed under MIT license.

Issues

We can't notice comments in the DockerHub so don't use them for reporting issue or asking question.

If you have any problems with or questions about this image, please contact us through a GitHub issue.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].