mirror of
https://gitlab.com/simple-nixos-mailserver/nixos-mailserver.git
synced 2024-12-27 07:26:22 +01:00
Store FTS index in directory per domain & user to avoid collisions
Previously all the xapian files and logs would be stored in the same folder for all users. This couid probably lead to weird situations where all users get the same search results.
This commit is contained in:
parent
49d65a4d05
commit
7627c29268
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ let
|
|||
"maildir:${cfg.mailDirectory}/%d/%n${maildirLayoutAppendix}"
|
||||
+ (lib.optionalString
|
||||
(cfg.fullTextSearch.enable && (cfg.fullTextSearch.indexDir != null))
|
||||
":INDEX=${cfg.fullTextSearch.indexDir}"
|
||||
":INDEX=${cfg.fullTextSearch.indexDir}/%d/%n"
|
||||
);
|
||||
|
||||
postfixCfg = config.services.postfix;
|
||||
|
|
Loading…
Reference in a new issue