It always shows the autoindex. And yes built from sources.  I'm the FreeBSD 
port maintainer for mail/docecot.  This has been happening for several releases.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: dovecot <dovecot-boun...@dovecot.org> on behalf of John Fawcett via 
dovecot <dovecot@dovecot.org>
Sent: Monday, April 15, 2019 2:06:55 AM
To: dovecot@dovecot.org
Subject: Re: SOLR/Index?

On 15/04/2019 08:09, Larry Rosenman via dovecot wrote:
Note the hits after the fts rescan/index.

Get Outlook for Android<https://aka.ms/ghei36>

________________________________
From: Aki Tuomi <aki.tu...@open-xchange.com><mailto:aki.tu...@open-xchange.com>
Sent: Monday, April 15, 2019 12:55:07 AM
To: Larry Rosenman; John Fawcett
Cc: Dovecot Mailing List
Subject: Re: SOLR/Index?



On 15.4.2019 3.33, Larry Rosenman via dovecot wrote:
⌂72% [l...@thebighonker.lerctr.org:~<mailto:l...@thebighonker.lerctr.org:~>] $ 
doveadm search mailbox lists/freebsd/ports-commiters  body 'sysutils'
[l...@thebighonker.lerctr.org:~<mailto:l...@thebighonker.lerctr.org:~>] $ 
doveadm fts rescan
[l...@thebighonker.lerctr.org:~<mailto:l...@thebighonker.lerctr.org:~>] $ 
doveadm index -q lists/freebsd/ports-commiters
⌂64% [l...@thebighonker.lerctr.org:~<mailto:l...@thebighonker.lerctr.org:~>] $ 
tail -f /var/log/maillog
Apr 14 19:30:27 thebighonker dovecot[2507]: imap-login: Disconnected (auth 
failed, 1 attempts in 2 secs): user=<gwc>, method=PLAIN, rip=180.180.217.124, 
lip=192.147.25.65, TLS: Connection closed, session=<EAk5woaGV4S0tNl8>
Apr 14 19:30:28 thebighonker dovecot[2507]: imap-login: Login: user=<ler>, 
method=PLAIN, rip=2001:470:1f0f:3ad:bb:dcff:fe50:d900, 
lip=2001:470:1f0f:3ad:bb:dcff:fe50:d900, mpid=14813, TLS, 
session=<lr1mwoaGwYMgAQRwHw8DrQC73P/+UNkA>
Apr 14 19:30:30 thebighonker dovecot[2507]: imap(ler/14813): Logged out 
in=12412 out=66691 fhc=0 fhb=0 fbc=0 fbb=0 del=0 exp=0 trash=0
Apr 14 19:30:54 thebighonker exim[14846]: no host name found for IP address 
23.100.68.192
Apr 14 19:30:55 thebighonker exim[14846]: 
H=(DaVinci-MWare.prophet21lab.com<http://DaVinci-MWare.prophet21lab.com>) 
[23.100.68.192]:52130 I=[192.147.25.65]:25 sender verify defer for 
<i...@duke.org<mailto:i...@duke.org>>: host lookup did not complete
Apr 14 19:30:55 thebighonker exim[14846]: 
H=(DaVinci-MWare.prophet21lab.com<http://DaVinci-MWare.prophet21lab.com>) 
[23.100.68.192]:52130 I=[192.147.25.65]:25 
F=<i...@duke.org<mailto:i...@duke.org>> temporarily rejected RCPT 
<jpo...@why.net<mailto:jpo...@why.net>>: Could not complete sender verify
Apr 14 19:31:04 thebighonker dovecot[2507]: imap-login: Login: user=<ctr>, 
method=PLAIN, rip=2001:470:1f0f:3ad:bb:dcff:fe50:d900, 
lip=2001:470:1f0f:3ad:bb:dcff:fe50:d900, mpid=14910, TLS, 
session=<bVWMxIaGJtogAQRwHw8DrQC73P/+UNkA>
Apr 14 19:31:04 thebighonker dovecot[2507]: imap(ctr/14910): Logged out in=169 
out=1711 fhc=0 fhb=0 fbc=0 fbb=0 del=0 exp=0 trash=0
Apr 14 19:31:16 thebighonker exim[14911]: no host name found for IP address 
80.253.235.35
Apr 14 19:31:19 thebighonker dovecot[2507]: indexer-worker(ler/14919): Indexed 
1578 messages in lists/freebsd/ports-commiters (UIDs 21067..22644)
^C
[l...@thebighonker.lerctr.org:~<mailto:l...@thebighonker.lerctr.org:~>] 130 $ 
doveadm search mailbox lists/freebsd/ports-commiters  body 'sysutils/'


Just minor nit, but you are searching for 'sysutils' first, then 'sysutils/'. 
FTS does not do substring searches by default.

Aki

--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640 (c)     E-Mail: 
larry...@gmail.com<mailto:larry...@gmail.com>
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106

Larry

just to be sure: are you running a standard unmodified 2.3.5.1 version which 
you built from source code?

I can see that first you search for sysutils, then do a rescan and reindex 
(which is shown in the log) and then you are able to find sysutils/.

It is better when doing these tests to search for the same string before and 
after, just to eliminate too many different factors in the test.

Nevertheless I did not see your logging for what happens when you receive a 
test message containing sysutils/. Dovecot should be outputing info about 
autoindexing given your setup. Does it do that or does it give some other 
message? Can you show those logs?

John

Reply via email to