Hi, Timo Sirainen.
How to change this string:
#define CONFIG_MODULE_DIR MODULEDIR"/settings"
to read the variable specified in the mail_plugin_dir parameter?
For example:
#define CONFIG_MODULE_DIR $mail_plugin_dir + "/settings"
--
Best regards,
Lafiel
mailto:laf...@elven.pw
__
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 us
On 6. May 2025, at 11.23, Lafiel via dovecot wrote:
>
> Hi.
>
> There is no way to implement such support?
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
Hi.
There is no way to implement such support?
--
Best regards,
Lafiel
mailto:laf...@elven.pw
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org
Hi, Aki Tuomi.
With this configurations:
--with-moduledir=/nix/store/fgjwcnzz4ll6jjah8mpzfxpc4asa600q-dovecot-2.3.21/etc/dovecot/modules
DESTDIR=/nix/store/fgjwcnzz4ll6jjah8mpzfxpc4asa600q-dovecot-2.3.21
mail_plugin_dir=/nix/store/fgjwcnzz4ll6jjah8mpzfxpc4asa600q-dovecot-2.3.21/etc/dovecot/mo
> On 31/03/2025 07:57 EEST Lafiel via dovecot wrote:
>
>
> Hi, Aki Tuomi.
>
> Is it possible to fix loading of additional modules specified in
> mail_plugin_dir parameter?
>
>
> --
> Best regards,
> Lafiel
> mailto:laf...@elven.pw
Have you tried --with-moduledir=/etc/dovecot/modules whe
Hi, Aki Tuomi.
Is it possible to fix loading of additional modules specified in
mail_plugin_dir parameter?
--
Best regards,
Lafiel
mailto:laf...@elven.pw
___
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@do
Hi,
Aki
Tuomi.
I
want
all
modules
to
be
loaded
from
/etc/dovecot/modules.
The
thing
is
that
if
I
specify
loading
modules
from
/nix/store/wb885d6w5dfchg9v481f55zj4a2p3r89-dovecot-2.3.21.1/etc/dovecot/modules
directory,
it
will
fail
to
load
the
sieve
module,
which
is
> Hi.
> The NixOS distribution for Dovecot uses a patch that hardcodes the path to
> the...
I am bit confused, do you want moduledir to be /etc/dovecot/modules or
/nix/store/.../etc/dovecot/modules?
The error you are getting means the module isn't in that directory, or cannot
find it's depend