Mail error log polluted with dovecot imap errors

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


After the upgrade, everything seems to work 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:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970692

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?


Re: Mail error log polluted with dovecot imap errors

2021-09-17 Thread Steve Dondley





The bug I patched also threw a similar kind of error:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970692

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.


Re: Mail error log polluted with dovecot imap errors

2021-09-17 Thread Steve Dondley

On 2021-09-17 08:13 AM, Steve Dondley wrote:


The bug I patched also threw a similar kind of error:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970692

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.


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.