mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-04 08:13:38 +00:00
During installation of email app, sievec is run on /etc/dovecot/freedombox-sieve-after/sort-spam.sieve file to produce a binary version of the file. However, this file is not available until after the app is enabled. This is due to the newly introduced drop-in configuration mechanism. To fix this, during setup, enable the drop-in configuration component responsible for this file. The component is newly split from the component that deals with all drop-in components so that not all the drop-in configuration files are symlinked. There is no change needed to the app when the drop-in configuration component is split into multiple components. This is true for all three state of the app; not-installed, installed-enabled, and installed-disabled. Tests: - Install latest code with ./setup.py install. Install the app and it works. - Uninstall the app and reinstall. It works. There are no warnings that config file have been replaced with symlinks. - /etc/dovecot/freedombox-sieve-after has the sort-span.svbin binary sievec compiled file. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>