FTS error Unknown user
azurit at pobox.sk
azurit at pobox.sk
Fri Jul 21 19:16:21 EEST 2017
Citát azurit at pobox.sk:
> Hi,
>
> sorry for previous message, i accidentaly send it before it was complete.
>
> Recently, i was configuring a setup with one proxy, which is doing
> authentication and multiple backends, which doesn't have access to
> user database (see
> https://www.mail-archive.com/dovecot@dovecot.org/msg70123.html ).
> Now i wanted to use FTS (solr) on backends but i'm getting this
> error everytime a email is received (and FTS is not working, of
> course):
>
> dovecot: indexer-worker: Error: User [censored] lookup failed: Unknown user
>
>
> I don't fully understand why FTS needs to do any user lookup during
> indexing but, anyway, how can i workaround it? This is relevant
> config:
>
> passdb {
> driver = static
> args = password=[censored] allow_nets=[censored]
> }
>
> userdb {
> driver = static
> args = home=/var/mail/vhosts/%d/%n/home master_user=%u
> }
>
>
> plugin {
> fts = solr
> fts_solr = url=http://[censored]:8080/solr/
> fts_autoindex = yes
> fts_autoindex_max_recent_msgs = 1000
> }
>
>
> FTS is fully configured and working on proxy side (which is,
> currently, also a backend for most of the users - i will split it in
> stages, just wanted to say that i have FTS already working).
>
> azur
Just resolved it, here is the solution (at the end of 'args' line):
userdb {
driver = static
args = home=/var/mail/vhosts/%d/%n/home master_user=%u allow_all_users=yes
}
azur
More information about the dovecot
mailing list