Skip to content

Releases: bokysan/docker-postfix

Release v2.2.2

11 Dec 17:07
Compare
Choose a tag to compare
  • f172dbd Merge branch 'master' of github.com:bokysan/docker-postfix into master
  • b85c1ea Update: Upgrade OAuth library to v0.10
  • cc6c8e4 Fix readability check for OpenDKIM keys (#49)
  • a956398 Replace localhost with 127.0.0.1 for healthcheck (#50)
  • 9f66388 Temporary disable XOAuth integration tests (again).
  • cc779fb Fix actions
  • 1aa1de5 Fix actions
  • 2e79009 Try to re-enable XOAuth2 integration tests
  • c1985b1 Badges galore!
  • 8e240d8 Add Docker stars and pulls to README.md

Release v2.2.1

18 Nov 11:08
Compare
Choose a tag to compare
  • 1268bb0 Update: Add LICENSE and README.md to the helm chart

Release v2.2.0

18 Nov 10:35
Compare
Choose a tag to compare
  • f2f1d34 Fix: Fix deployment workflow for tags
  • 8cc2f60 Update: Add Helm chart metadata
  • 7d21881 Disable xoauth2 integration testst
  • 16771d4 Add XOAuth2 support for GMail (#42)
  • 4ba3145 Fix workflows
  • bab7880 Rename file to align with other test scripts
  • 1fa1191 Remove deprecated options
  • b9a9fa5 Execute HELM chart tests on commit
  • 6c6a587 Update: Run tests on commits
  • ab725f5 Fix for #40: Add healthcheck to Dockerfile
  • fdcab58 Updated documentation for Helm

Release v2.1.1

25 Oct 17:39
Compare
Choose a tag to compare

This release fixes several issues (#37 #38 #39) and implements a new feature -- a Helm chart (#34).

The GitHub workflow has been updated to automatically create helm charts (which correspond to release version) and create a release when tagging.

The server can now be simply installed into Kubernetes by issuing the following commands:

helm repo add bokysan https://bokysan.github.io/docker-postfix/
helm upgrade --install --set persistence.enabled=false --set config.general.ALLOWED_SENDER_DOMAINS=example.com mail bokysan/mail

Fix deployment on 32-bit (armv7) devices

17 Aug 08:43
Compare
Choose a tag to compare

This is a bugfix release which just fixes the image to properly work with 32-bit devices.

New DKIM features and flexible OpenDKIM / Postfix options

16 Jul 07:30
Compare
Choose a tag to compare

This release deprecates a few things and modifies a few settings. Along with lots of other changes (over 1000+ lines changed), it warrants a new release although it will work as a drop-in replacement.

Changes:

  • DEPRECATION Drop MYNETWORKS variable and replace it with the generic POSTFIX_myneworks
  • DEPRECATION Drop HOSTNAME variable and replace it with the generic POSTFIX_myhostname
  • DEPRECATION Drop MESSAGE_SIZE_LIMIT variable and replace it with the generic POSTFIX_message_size_limit
  • NEW FEATURE Supply any postfix variable by prefixing it with POSTFIX_ (these variables override anything set by the script)
  • NEW FEATURE Supply any opendkim variable by prefixing it with OPENDKIM_ (these variables override anything set by the script)
  • NEW FEATURE Auto-generate OpenDKIM keys. If DKIM_AUTOGENERATE is set, keys will be generated automatically. Make sure you put them in a persistent folder, though, otherwise new keys will be generated on every run. More info in README.md.
  • NEW FEATURE JSON logging: useful when running in Kubernetes and collecting logs with Prometeus. Set LOG_FORMAT=json to get logs in JSON.
  • IMPROVEMENT The code is now testable. Initial tests have been set up, but further work should always include a test-case. Tests are run inside containers using ./unit-tests.sh and ./integration-tests.sh scripts. New patches will mandate tests. Tests are written using BATS and mailsend-go.
  • IMPROVEMENT Simplification / restructuring of startup scripts. This makes it easier to test them as well as create custom startup scripts.
  • IMPROVEMENT Added FORCE_COLOR option to force color even when output is not a terminal.

Due to these changes the base script had to be updated from Unix shell (sh) to Bourne shell (bash) and some DKIM tools had to be installed into the image. Hence the image got a bit larger. It now runs at around 30MB.

Add SMTP_HEADER_CHECKS and ALLOW_EMPTY_SENDER_DOMAINS

31 Jan 20:21
Compare
Choose a tag to compare

Three new exiting features in this release:

  • Allow setting empty sender domains from PR #17
  • Add SMTP_HEADER_CHECKS from PR #15
  • A script to build the image with custom alpine version from PR #20

One important feature: Multi-platform build (Yay!)

This release switches from Docker hub build to GitHub Actions. These allow us to use docker buildx. As a result, this image is available for more platforms than ever:

  • linux/386
  • linux/amd64
  • linux/arm/v6
  • linux/arm/v7
  • linux/arm64
  • linux/ppc64le

Just use the image as standard - boky/postfix:latest - docker will do the rest

More robust support for DKIM

24 Sep 07:34
Compare
Choose a tag to compare

DKIM support was a bit more optimized:

  • OpenDKIM now listens on 0.0.0.0 (as it's in the container anyway), as listening to localhost had its issues
  • DKIM will now sign more header tags

Fix for Alpine 3.9 cyrus-sasl split

13 May 11:30
Compare
Choose a tag to compare

This is a minor update that just installs additional packages to resolve https://bugs.alpinelinux.org/issues/9987.

Simplified DKIM support

19 Feb 12:06
Compare
Choose a tag to compare

This a minor upgrade to v1.1.0: DKIM was retooled to look for private keys in /etc/opendkim/keys/ and not in subfolders.

This should make it much easier to use the image with Kubernetes and such.