search for: config_parse_load_modules

Displaying 1 result from an estimated 1 matches for "config_parse_load_modules".

2013 Apr 23
2
Feature request: Configure CONFIG_MODULE_DIR and AUTH_MODULE_DIR at runtime
...oblem for me, because I can't set the module path during compilation since that introduces a circular dependency between the dovecot package and the virtual dovecot-plugins package. I have solved this by hacking dovecot to read an environment variable, DOVECOT_CONFIG_MODULE_DIR, in the config_parse_load_modules function. This way I can inject my module path during runtime. But this only works for the master process, not the config process which seems to reset its environment (I assume it does this when dropping privileges). So I did another hack which lets me pass an argument to the config process...