Hi, Timo Sirainen.
This method will not work because the exact path DESTDIR=/nix/store/...
is not known in advance. And it may change depending on the modules used.
Timo Sirainen via dovecot писал(а) 2025-05-06 11:45:
mail_plugin_dir is for mail modules. There are other modules which are using hardcoded paths. Perhaps we should actually just remove the mail_plugin_dir setting, I'm not sure there's any good use for it.
But I don't understand why Aki's suggestion wouldn't work:
Have you tried --with-moduledir=/etc/dovecot/modules when doing ./configure and use make DESTDIR=/nix/store/foobar to install things elsewhere.
Your answer was about using a different moduledir.
dovecot mailing list -- dovecot@dovecot.org To unsubscribe send an email to dovecot-leave@dovecot.org
-- Best regards, Lafiel mailto:lafiel@elven.pw