Re: Hundres of dovecot imap errors with fts_solr plugin polluting /var/log/mail.err

2021-09-17 Thread Steve Dondley




I think this is some kind of parsing bug from the response from solr.
The number of pairs of errors returned is the same number of hits
received during the search. So if I do a search with 7 results turned
up, I get 7 pairs of errors.


Fixed with the following:

1) simplified config file by removing the "fts_encforce = no" from 
90-plugin.conf


2) blew away the manages_schema file on the solr server

3) reloaded solr data store

4) deleted the solr index for the data store

5) rescanned the emails with doveadm

No more errors.



Re: Hundres of dovecot imap errors with fts_solr plugin polluting /var/log/mail.err

2021-09-17 Thread Steve Dondley





The bug I patched also threw a similar kind of error. See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970692. But this
error is cropping up for every user on the system. A google search
turns up nothing on a uid other than '0'.

I don't know if this is another debian issue or a misconfiguration on
my end. I'm not sure where to begin to look. Can someone please point
me in the right direction?


I think this is some kind of parsing bug from the response from solr. 
The number of pairs of errors returned is the same number of hits 
received during the search. So if I do a search with 7 results turned 
up, I get 7 pairs of errors.




Hundres of dovecot imap errors with fts_solr plugin polluting /var/log/mail.err

2021-09-17 Thread Steve Dondley
I'm running debian bullseye. I've had issues running solr on debian in 
the past due to some kind of bug. I was able to get solr working with 
dovecot by upgrading the os.


After the upgrade, everything works perfectly fine and the search 
feature in my client using solr now works. However, I get hundreds of 
these pairs of errors every minute in mail.err:


Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '102

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '103

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '104

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '105

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '106

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '118

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '132

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '133

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '134

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '135

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '136

Sep 17 04:47:52 email dovecot: imap: Error: '
Sep 17 04:47:52 email dovecot: imap(s)<8699><1eOe/CzMbOl/AAAB>: Error: 
fts_solr: received invalid uid '137


...and so on


The bug I patched also threw a similar kind of error. See 
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970692. But this error 
is cropping up for every user on the system. A google search turns up 
nothing on a uid other than '0'.


I don't know if this is another debian issue or a misconfiguration on my 
end. I'm not sure where to begin to look. Can someone please point me in 
the right direction?