In this release the relay-host support saw significant internal refactoring in preparation for a future breaking change. Similar extensive restructuring through the codebase also occurred, where each PR provides more details. Care was taken to avoid breakage, but there may be some risk affecting unsupported third-party customizations which our test suite is unaware of.
Features
- There is now support for Dovecot-Master accounts that provide admin access to all mail accounts (#2535)
Fixes
- Using Port 465 to authenticate with a relay-host no longer breaks the Amavis transport for Postfix (#2607)
- When mounting
/var/mail-state
, disabled services will no longer copy over data redundantly (#2608) - Amavis is now aware of new domains detected during Change Detection, no longer skipping virus and spam filtering (#2616)
setup.sh -c <container name>
no longer ignores<container name>
when more than 1docker-mailserver
container is running (#2622)
Improvements
- The Change Detector service will now only process relevant changes (#2615), in addition to now monitoring
postfix-sasl-password.cf
,postfix-relaymap.cf
, andpostfix-regexp.cf
(#2623) - For LDAP users that only need to support a single mail domain,
setup config dkim
should now detect the domain implicitly (#2620) - The container capability
SYS_PTRACE
is no longer necessary (#2624) - Added an example for configuring a basic container
healthcheck
command (#2625) - Postfix
main.cf
settingcompatibility_level
was set to2
during our startup scripts. This is now part of our default shippedmain.cf
config (#2597) - The Postfix
main.cf
override/extension support viapostfix-main.cf
has been improved to support multi-line values, instead of the previous single-line only support (#2598)
Deprecation Notice
-
SASL_PASSWD
ENV
An old ENVSASL_PASSWD
has been around for supporting relay-host authentication, but since superceded by thepostfix-sasl-password.cf
config file. It will be removed in a future major release as detailed here. -
Platform Support - ARMv7
This is a very old platform, superceded by ARMv8 and newer with broad product availability around 2016 onwards.
Support was introduced primarily for users the older generations of Raspberry Pi. ARM64 is the modern target for ARM devices.If you require ARMv7 support, please let us know.
What's Changed (Generated)
- scripts: don't issue warning when DKIM is not used by @casperklein in #2563
- scripts: remove unnecessary quotes from command substitutions by @casperklein in #2561
- tests: run sedfile tests in container by @casperklein in #2569
- scripts: streamline 'printf' usage and consequently use a format string by @casperklein in #2564
- service: added ability to configure dovecot master accounts by @groupmsl in #2535
- scripts: use color variables instead of escape codes by @casperklein in #2565
- chore(deps): Bump docker/setup-qemu-action from 1.2.0 to 2.0.0 by @dependabot in #2580
- ci: set permissions for GitHub actions by @naveensrinivasan in #2555
- documentation:
DOCKER_HOST
missingunix://
by @pyy in #2589 - scripts: loglevel warning message fix by @maxemann96 in #2588
- scripts: more consistency in
start-mailserver.sh
by @georglauterbach in #2587 - documentation: DOCKER_HOST missing unix:// by @pyy in #2595
- scripts: fix error message caused by
grep
on first starts by @georglauterbach in #2591 - tests(fix): Adjust for local testing conditions by @polarathene in #2606
- scripts: cover
SASLAUTHD_*
variables instart-mailserver.sh
by @casperklein in #2562 - refactor: Revised
relay.sh
helper by @polarathene in #2604 - chore(housekeeping): Create a helper for change detection functionality by @polarathene in #2610
- fix: Only add state of enabled services for volume mount by @polarathene in #2608
- fix: Opt-out of implicit TLS for Amavis SMTP client transport by @polarathene in #2607
- chore(housekeeping): Sync dovecot-master-user commands to use new style syntax by @polarathene in #2611
- service(postfix): Better handling of the
compatibility_level
setting by @polarathene in #2597 - Follow up for #2562 by @casperklein in #2618
- refactor: Migrate
SASL_PASSWD
ENV support by @polarathene in #2605 - fix(listmailuser): Don't parse comments when reading config by @polarathene in #2617
- scripts: improve custom user-supplied Postfix configuration by @georglauterbach in #2598
- fix(setup.sh): Do not override an existing
CONTAINER_NAME
value by @polarathene in #2622 - chore(housekeeping): Normalize how config files filter out unwanted lines by @polarathene in #2619
- chore: Remove redundant capability
SYS_PTRACE
by @polarathene in #2624 - Add basic container healthcheck by @casperklein in #2625
- Check if fail2ban is running by @casperklein in #2626
- tests: Extract
setup.sh
cases to their own test file by @polarathene in #2629 - chore: Extract out
/var/mail
ownership workaround by @polarathene in #2628 - chore(
check-for-changes.sh
): Drop redundant guards by @polarathene in #2623 - refactor: Share a common helper (vhost builder) for sourcing domains by @polarathene in #2620
- refactor: Revise
check-for-changes.sh
by @polarathene in #2615 - docs(deps): bump mkdocs-material to v8.3.5 by @wernerfred in #2641
- fix: Amavis should reload config for
/etc/postfix/vhost
updates by @polarathene in #2616 - fix: Dovecot Quota dummy accounts for aliases should check for existing users with an exact user key lookup by @tomav in #2640
New Contributors
- @groupmsl made their first contribution in #2535
- @naveensrinivasan made their first contribution in #2555
- @pyy made their first contribution in #2589
- @maxemann96 made their first contribution in #2588
Full Changelog: v11.0.0...v11.1.0