[Dovecot] Added Xapian default config
This commit is contained in:
parent
570170a5b1
commit
ed8941440a
|
@ -159,6 +159,21 @@ service lmtp {
|
||||||
}
|
}
|
||||||
user = vmail
|
user = vmail
|
||||||
}
|
}
|
||||||
|
### FTS-XAPIAN
|
||||||
|
service indexer-worker {
|
||||||
|
# Increase vsz_limit to 2GB or above.
|
||||||
|
# Or 0 if you have rather large memory usable on your server, which is preferred for performance)
|
||||||
|
vsz_limit = 2G
|
||||||
|
}
|
||||||
|
|
||||||
|
service decode2text {
|
||||||
|
executable = script /usr/libexec/dovecot/decode2text.sh
|
||||||
|
user = dovecot
|
||||||
|
unix_listener decode2text {
|
||||||
|
mode = 0666
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
listen = *,[::]
|
listen = *,[::]
|
||||||
ssl_cert = </etc/ssl/mail/cert.pem
|
ssl_cert = </etc/ssl/mail/cert.pem
|
||||||
ssl_key = </etc/ssl/mail/key.pem
|
ssl_key = </etc/ssl/mail/key.pem
|
||||||
|
@ -242,6 +257,19 @@ plugin {
|
||||||
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
|
mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
|
||||||
mail_log_fields = uid box msgid size
|
mail_log_fields = uid box msgid size
|
||||||
mail_log_cached_only = yes
|
mail_log_cached_only = yes
|
||||||
|
|
||||||
|
### FTS XAPIAN
|
||||||
|
|
||||||
|
fts = xapian
|
||||||
|
fts_xapian = partial=3 full=20
|
||||||
|
|
||||||
|
fts_autoindex = yes
|
||||||
|
fts_enforced = yes
|
||||||
|
|
||||||
|
fts_autoindex_exclude = \Trash
|
||||||
|
|
||||||
|
# Index attachements
|
||||||
|
fts_decoder = decode2text
|
||||||
}
|
}
|
||||||
service quota-warning {
|
service quota-warning {
|
||||||
executable = script /usr/local/bin/quota_notify.py
|
executable = script /usr/local/bin/quota_notify.py
|
||||||
|
|
Loading…
Reference in New Issue