Skip to content

email: Fix issue with install caused by missing drop-in config file

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

Merge request reports

Loading