Univention Bugzilla – Bug 56586
Add "attribute" filter to fetchmail listener
Last modified: 2023-11-29 14:56:13 CET
+++ This bug was initially created as a clone of Bug #56585 +++ Add »attribute=[...]« to the listener, so it is only triggered, when a relevant LDAP attribute changes. The fetchmail configuration is rewritten after _any_ change to a user with UDM fetchmail data. That is not only inefficient but also potentially problematic. That means, that in a time of change with high frequency (e.g. school import, school year change etc.), the fetchmailrc will be overwritten again and again. Currently the writes are not atomic (create temp. file and do a mv), but the fetchmailrc is written to directly. So it is possible, that during a restart of the daemon the file is in an inconsistent state.
Changes: - Narrowed down the conditions under which the listener module gets called. Commits: univention-fetchmail.yaml c45a0bd79d31 | Bug #56482 Check that user has mailPrimaryAddress in Fetchmail listener univention-fetchmail (13.0.7-3) c45a0bd79d31 | Bug #56482 Check that user has mailPrimaryAddress in Fetchmail listener New version: Package: univention-fetchmail Version: 13.0.7-3 Branch: ucs_5.0-0 Scope: ucs5.0-5
QA: - Narrowed down conditions under which the listener module gets called: OK - Advisories: OK
<https://errata.software-univention.de/#/?erratum=5.0x888>