- Removed MR 23. There is already a dedicated task
libsasl2-modules
to default packages
-
The
restart postfix
handler used thepostfix reload
command, which is sufficient for most configuration changes to take effect. It turns out there are two exceptions, if those parameters change then postfix needs to fully stop and start for them to be effective:The handler now uses the service module to restart postfix, but because of the way Debian handles multiple instances, the service name to use is
postfix@-
:In order to support multiple postfix instances, postfix uses multiple systemd unit files. The overall postfix unit is for overall operations on all instances and individual unit files are available for each instance named postfix@${INSTANCE_NAME}. The primary instance is named "-", so it can be directly addressed with systemctl using the name postfix@- (e.g. systemctl status postfix@-). Wild cards work and so systemctl status postfix* will show the status of all active postfix units.
- More thorough check for
smtp_sasl_auth_enable
postfix setting
- Task to install the SASL package when the configuration requires it.
- The list of Berkeley DB files to generate is now based on the list of source files that have actually changed.
- Output of various tasks is now more correct
- Feature to allow removing entries from the defaults of
master.cf
. This can be used to disable a postfix service, for instance the standard SMTP service on port 25.
- The restart handler was changed to use the native postfix command.
- Superfluous spacing in keys.
- Extra
login
auth mechanism. This makes it possible for nagios to monitor if the credentials are working, since thecheck_smtp
plugin only supports LOGIN as auth mechanism.
- New feature flag
postfix_relay_server_enable
. When enabled it will deploy an SMTP relay server. Most of this was backported from the GÉANT internal ansible code that is used to deployrelay.geant.org
.
- Prepared configuration for ansible-lint v4
- Fix errors like
warning: /etc/aliases, line 2: record is in "key: value" format; is this an alias file?
, caused by incorrect use ofpostmap
for alias files.