Hello

I enabled FTS Full Text Search using Tika in dovecot and have all the emails
now reindexed. Using either "IMAP by hand" (ie via telnet or openssl s_client),
SOGo webmail, or Thunderbird on macOS, I can search for and also find emails
based on text which is only in a PDF attachment.

Using Thunderbird or the now dead k-9, I'm not finding anything.

Can someone maybe suggest an email client for Android which is able to find
emails based on text in FTS? Technically, I guess it should do a "search TEXT
"foo bar"" query.

Here's a complete session done in "IMAP by hand":




$ openssl s_client -crlf -connect my-sys:993
…
===============================================================================
read R BLOCK
* OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+
AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
a LOGIN myuser@sysd pass
a OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND
URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED
I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH
LIST-STATUS BINARY MOVE SNIPPET=FUZZY PREVIEW=FUZZY PREVIEW STATUS=SIZE
SAVEDATE LITERAL+ NOTIFY METADATA SPECIAL-USE COMPRESS=DEFLATE QUOTA ACL
RIGHTS=texk] Logged in
b SELECT INBOX
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $label1 Drausssen $Forwarded
$activity $label3 $stopped)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $label1
Drausssen $Forwarded $activity $label3 $stopped \*)] Flags permitted.
* 10 EXISTS
* 0 RECENT
* OK [UNSEEN 8] First unseen.
* OK [UIDVALIDITY 1671377672] UIDs valid
* OK [UIDNEXT 1709] Predicted next UID
* OK [HIGHESTMODSEQ 2613] Highest
b OK [READ-WRITE] Select completed (0.001 + 0.000 secs).
c SEARCH TEXT "Veloplatzreservierung"
* SEARCH 3
c OK Search completed (0.042 + 0.000 + 0.041 secs).

d FETCH 3 (BODY.PEEK[HEADER.FIELDS (Message-ID Date)])
* 3 FETCH (BODY[HEADER.FIELDS (MESSAGE-ID DATE)] {124}
Message-Id: <202504100258.53A2waba008043-53A2wabb008043@mailqueue01.leuchter-
cloud.ch>
Date: 10 Apr 2025 04:58:36 +0200

)
d OK Fetch completed (0.001 + 0.000 secs).
z LOGOUT
* BYE Logging out
z OK Logout completed (0.001 + 0.000 secs).
closed

Alexander
_______________________________________________
dovecot mailing list -- dovecot@dovecot.org
To unsubscribe send an email to dovecot-le...@dovecot.org

Reply via email to