Add settings to FTS
This commit is contained in:
parent
c3107998b8
commit
524f1c9250
12
dovecot.nix
12
dovecot.nix
|
@ -391,6 +391,10 @@ in {
|
|||
fts_solr = url=http://${cfg.solr.host}:${toString cfg.solr.port}/ ${
|
||||
optionalString cfg.debug "debug"
|
||||
}
|
||||
fts_autoindex_exclude = \Junk
|
||||
fts_autoindex_exclude = \Trash
|
||||
fts_decoder = decode2text
|
||||
fts_enforced = yes
|
||||
}
|
||||
|
||||
mail_access_groups = ${cfg.mail-group}
|
||||
|
@ -459,6 +463,14 @@ in {
|
|||
sieve_global_extensions = +vnd.dovecot.pipe +vnd.dovecot.environment
|
||||
}
|
||||
|
||||
service decode2text {
|
||||
executable = script ${pkgs.dovecot}/libexec/dovecot/decode2text.sh
|
||||
user = ${config.services.dovecot2.user}
|
||||
unix_listener = decode2text {
|
||||
mode = 0660
|
||||
}
|
||||
}
|
||||
|
||||
recipient_delimiter = +
|
||||
|
||||
lmtp_save_to_detail_mailbox = yes
|
||||
|
|
Loading…
Reference in New Issue