Package: postfix
Version: 3.1.12-0+deb9u1
During the upgrade process garbage was added to
/etc/postfix/dynamicmaps.cf, which prevented postfix from running.
Here is the important stuff from /var/log/apt/term.log
========================================
Setting up postfix-sqlite (3.1.12-0+deb9u1) ...
Adding sqlite map entry to /etc/postfix/dynamicmaps.cf
Processing triggers for rsyslog (8.24.0-1) ...
Setting up libdbus-1-3:amd64 (1.10.28-0+deb9u1) ...
Setting up postfix (3.1.12-0+deb9u1) ...
========================================
What went into the /etc/postfix/dynamicmaps.cf file after was the
following (I don't know what that file looked like before)
=======================================
ldap /usr/lib/postfix/dict_ldap.so dict_ldap_open lmdb
postfix-lmdb.so dict_lmdb_open mkmap_lmdb_open
sqlite postfix-sqlite.so dict_sqlite_open
=======================================
It seems like the ldap line is the problem commenting that out addresses
this. The postfix package also ended up in a "configuration failed" type
of state
=======================================
host:/etc$ dpkg -l | grep postfix
iF postfix 3.1.12-0+deb9u1 amd64
High-performance mail transport agent
host:/etc$ sudo dpkg-reconfigure postfix
/usr/sbin/dpkg-reconfigure: postfix is broken or not fully installed
=======================================
Not great...
// Jonas