Univention Bugzilla – Bug 52842
Error messages during execution of univention-mail-postfix.postinst
Last modified: 2021-05-25 16:01:03 CEST
There are several error messages during postinst of univention-mail-postfix: Setting up univention-mail-postfix (14.0.0-2A~5.0.0.202101222047) ... W: failed to convert the username listfilter to the uid W: failed to convert the username listfilter to the uid W: failed to convert the username listfilter to the uid Multifile: /etc/postfix/ldap.canonicalsender File: /etc/postfix/tls_policy File: /etc/aliases newaliases: fatal: open /etc/postfix/main.cf: No such file or directory Multifile: /etc/postfix/ldap.sharedfolderlocal Multifile: /etc/postfix/ldap.virtual Multifile: /etc/postfix/ldap.sharedfolderlocal_aliases Multifile: /etc/postfix/transport postmap: fatal: open /etc/postfix/main.cf: No such file or directory Multifile: /etc/postfix/ldap.distlist File: /etc/postfix/sasl/smtpd.conf Multifile: /etc/postfix/ldap.saslusermapping Multifile: /etc/postfix/ldap.groups Multifile: /etc/postfix/ldap.transport Multifile: /etc/postfix/main.cf Multifile: /etc/postfix/ldap.virtual_mailbox Multifile: /etc/postfix/ldap.virtualwithcanonical Multifile: /etc/postfix/ldap.canonicalrecipient File: /etc/cron.d/univention-mail-postfix File: /etc/listfilter.secret Multifile: /etc/postfix/master.cf File: /etc/init.d/postfix Multifile: /etc/postfix/ldap.virtualdomains File: /etc/mailname Multifile: /etc/postfix/ldap.sharedfolderremote Multifile: /etc/postfix/ldap.external_aliases File: /etc/pam.d/smtp Create postfix/autostart Create mail/postfix/virtual/enabled Create mail/postfix/transport/ldap/enabled Create mail/postfix/inet/interfaces Create mail/postfix/ldap/timeout Create mail/postfix/policy/listfilter Create mail/postfix/policy/listfilter/use_sasl_username Create mail/postfix/masquerade/domains Create mail/postfix/masquerade/exceptions Create mail/alias/root Create mail/alias/postmaster Create mail/messagesizelimit Create mail/postfix/tls/client/exclude_ciphers Create mail/postfix/ldaptable/starttls Create mail/postfix/ldaptable/tlsrequirecert Create mail/postfix/ldaptable/tlscacertfile Create mail/postfix/ldaptable/debuglevel Create mail/postfix/smtpd/tls/dh1024/param/file Create mail/postfix/smtpd/tls/dh512/param/file Create mail/postfix/smtpd/tls/eecdh/grade Create mail/postfix/smtpd/tls/exclude_ciphers Create mail/postfix/tls/preempt/cipherlist Create mail/postfix/smtpd/tls/loglevel Create mail/postfix/smtp/tls/loglevel Create mail/postfix/mastercf/options/smtps/smtpd_tls_wrappermode Create mail/postfix/mastercf/options/smtps/smtpd_sasl_auth_enable Create mail/postfix/mastercf/options/submission/smtpd_sasl_auth_enable Create mail/postfix/mastercf/options/submission/smtpd_enforce_tls Create mail/postfix/tls/client/policy/amavis W: failed to convert the username listfilter to the uid File: /etc/postfix/tls_policy File: /etc/init.d/postfix Module: autostart Multifile: /etc/postfix/main.cf Multifile: /etc/postfix/ldap.virtual Multifile: /etc/postfix/ldap.canonicalrecipient Multifile: /etc/postfix/ldap.virtual_mailbox Multifile: /etc/postfix/ldap.distlist Multifile: /etc/postfix/ldap.groups Multifile: /etc/postfix/master.cf Multifile: /etc/postfix/ldap.virtualwithcanonical Multifile: /etc/postfix/ldap.canonicalsender Multifile: /etc/postfix/ldap.saslusermapping Multifile: /etc/postfix/ldap.sharedfolderlocal_aliases Multifile: /etc/postfix/ldap.sharedfolderremote Multifile: /etc/postfix/ldap.transport Multifile: /etc/postfix/ldap.sharedfolderlocal File: /etc/aliases Multifile: /etc/postfix/ldap.external_aliases File: /etc/listfilter.secret Multifile: /etc/postfix/ldap.virtualdomains Create mail/postfix/smtpd/restrictions/recipient/10 Create mail/postfix/smtpd/restrictions/recipient/30 Create mail/postfix/smtpd/restrictions/recipient/50 Create mail/postfix/smtpd/restrictions/recipient/70 Create mail/postfix/smtpd/tls/mandatory_protocols Create mail/postfix/tls/client/mandatory_protocols Create mail/postfix/tls/client/protocols W: failed to convert the username listfilter to the uid Multifile: /etc/postfix/main.cf Adding user `postfix' to group `sasl' ... Adding user postfix to group sasl Done. File: /etc/mailname File: /etc/listfilter.secret Reloading configuration files for periodic command scheduler: cron.
The system user "listfilter" and the file /etc/postfix/main.cf are now created before calling #DEBHELPER# code. [5.0-0] b6dfeff7a6 Bug #52842: add changelog entry [5.0-0] e939a40d67 Bug #52842: add user listfilter first to prevent errors Package: univention-mail-postfix Version: 14.0.0-3A~5.0.0.202102241306 Branch: ucs_5.0-0
OK: no error messages are printed during installation and upgrade OK: changelog entry
*** Bug 51504 has been marked as a duplicate of this bug. ***
Felix reported the following error messages on a new installation of UCS 5: -> ucr set interfaces/ens6/type='manual' Setting interfaces/ens6/type Multifile: /etc/network/interfaces postconf: warning: ldap:/etc/postfix/ldap.virtual_mailbox: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.sharedfolderlocal: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.transport: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.virtualdomains: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.distlist: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.virtual: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.external_aliases: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.sharedfolderremote: unused parameter: search_timeout=15 postconf: warning: ldap:/etc/postfix/ldap.sharedfolderlocal_aliases: unused parameter: search_timeout=15
The parameter is now called "timeout" instead of "search_timeout". See also "man 5 ldap_table" Fixed all LDAP lookup tables of univention-mail-postfix: [5.0-0] bd4135a89c Bug #52842: ldap_tables: "search_timeout" has been renamed to "timeout" Package: univention-mail-postfix Version: 14.0.0-4A~5.0.0.202103111031 Branch: ucs_5.0-0
verified changes to fix error described in comment 4: - code changes seems plausible - search_timeout is not used anymore - changelog entry exists - error does not occur anymore
UCS 5.0 has been released: https://docs.software-univention.de/release-notes-5.0-0-en.html https://docs.software-univention.de/release-notes-5.0-0-de.html If this error occurs again, please use "Clone This Bug".