add full-text search support
This commit is contained in:
@@ -3,7 +3,7 @@ FROM alpine:3.7
|
|||||||
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
RUN echo "@testing http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories \
|
||||||
&& apk add --no-cache \
|
&& apk add --no-cache \
|
||||||
dovecot dovecot-sqlite dovecot-pigeonhole-plugin dovecot-pigeonhole-plugin-extdata \
|
dovecot dovecot-sqlite dovecot-pigeonhole-plugin dovecot-pigeonhole-plugin-extdata \
|
||||||
rspamd-client@testing python py-jinja2
|
dovecot-fts-lucene rspamd-client@testing python py-jinja2
|
||||||
|
|
||||||
COPY conf /conf
|
COPY conf /conf
|
||||||
COPY sieve /var/lib/dovecot
|
COPY sieve /var/lib/dovecot
|
||||||
|
|||||||
@@ -18,6 +18,20 @@ dict {
|
|||||||
sieve = sqlite:/etc/dovecot/pigeonhole-sieve.dict
|
sieve = sqlite:/etc/dovecot/pigeonhole-sieve.dict
|
||||||
}
|
}
|
||||||
|
|
||||||
|
###############
|
||||||
|
# Full-text search
|
||||||
|
###############
|
||||||
|
mail_plugins = $mail_plugins fts fts_lucene
|
||||||
|
|
||||||
|
plugin {
|
||||||
|
fts = lucene
|
||||||
|
|
||||||
|
fts_autoindex = yes
|
||||||
|
fts_autoindex_exclude = \Junk
|
||||||
|
|
||||||
|
fts_lucene = whitespace_chars=@.
|
||||||
|
}
|
||||||
|
|
||||||
###############
|
###############
|
||||||
# Mailboxes
|
# Mailboxes
|
||||||
###############
|
###############
|
||||||
|
|||||||
Reference in New Issue
Block a user