Problem: Postfix not starting after upgrade from UCS4 to UCS 5

Problem

After Upgrading from UCS4 to UCS5, postfix isn’t starting anymore.

Environment

The Variable mail/postfix/ldap/timeout has the value mail_postfix_ldap_timeout:

root@example:~# ucr get mail/postfix/ldap/timeout
mail_postfix_ldap_timeout

Solution

There might be situations where the variable is filled with a non integer value. In this case, set it to a normal integer back and restart postfix afterwards:

root@example:~# ucr set mail/postfix/ldap/timeout=15
Setting mail/postfix/ldap/timeout
Multifile: /etc/postfix/ldap.virtualwithcanonical
Multifile: /etc/postfix/ldap.virtual_mailbox
Multifile: /etc/postfix/ldap.groups
Multifile: /etc/postfix/ldap.canonicalsender
Multifile: /etc/postfix/ldap.canonicalrecipient
Multifile: /etc/postfix/ldap.virtual
Multifile: /etc/postfix/ldap.saslusermapping
Multifile: /etc/postfix/ldap.virtualdomains
Multifile: /etc/postfix/ldap.distlist
Multifile: /etc/postfix/ldap.sharedfolderlocal_aliases
Multifile: /etc/postfix/ldap.sharedfolderlocal
Multifile: /etc/postfix/ldap.sharedfolderremote
Multifile: /etc/postfix/ldap.transport
Multifile: /etc/postfix/ldap.external_aliases
root@example:~# systemctl restart postfix
root@example:~# systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
   Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
   Active: active (exited) since Wed 2022-03-16 14:28:37 CET; 38s ago
  Process: 19755 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
 Main PID: 19755 (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
   Memory: 0B
      CPU: 0
   CGroup: /system.slice/postfix.service

Mär 16 14:28:37 example systemd[1]: Starting Postfix Mail Transport Agent...
Mär 16 14:28:37 example systemd[1]: Started Postfix Mail Transport Agent.
root@example:~#
Mastodon