<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 9pt; font-family: Verdana,Geneva,sans-serif'>
<p>It is now very out of date.</p>
<p>@Jello : Kindly update please</p>
<div id="signature"></div>
<p><br /></p>
<p id="reply-intro">On 2021-03-21 12:58, André Rodier wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Hello,<br /><br />The version packaged on Bullseye is slightly out of date, I have filled<br />a bug report:<br /><br /><a href="https://bugs.debian.org/985654" target="_blank" rel="noopener noreferrer">https://bugs.debian.org/985654</a><br /><br />Thanks to the maintainers for their hard work!<br /><br />André<br /><br />On Sun, 2021-03-21 at 10:51 +0000, André Rodier wrote:
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">Hello,<br /><br />I am developing a hosting platform on Debian Bullseye, with Dovecot<br />amongst other tools.<br /><br />I am trying to use the xapian full test search plugin, but I can see<br />the attachments are skipped:<br /><br />This is what I have in the logs when running the indexing in verbose<br />mode:<br /><br />-------------------------------------------------------------------<br />----<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_check_access<br />doveadm(camille): Info: FTS Xapian: Memory stats : Used = 56 MB, Free<br />=<br />66 MB<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_index_hdr<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_query<br />doveadm(camille): Info: FTS Xapian: Query= uid:"44"<br />doveadm(camille): Info: FTS Xapian: Ngram(S) -> 63 items (total 0 KB)<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_unset_build_key<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Message-<br />Id,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_build_more<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_check_access<br />doveadm(camille): Info: FTS Xapian: Memory stats : Used = 56 MB, Free<br />=<br />66 MB<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_index_hdr<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_query<br />doveadm(camille): Info: FTS Xapian: Query= uid:"44"<br />doveadm(camille): Info: FTS Xapian: Ngram(XMID) -> 4 items (total 0<br />KB)<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_unset_build_key<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=X-<br />Mailer,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'xmailer'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=MIME-<br />Version,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'mimeversion'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Type,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contenttype'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Authentication-<br />Results,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'authenticationresults'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=X-AV-<br />Checked,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'xavchecked'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Type,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contenttype'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part<br />(Header=(null),Type=text/plain,Disposition=(null))<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_build_more<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_unset_build_key<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Type,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contenttype'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Description,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contentdescription'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Disposition,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contentdisposition'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part (Header=Content-<br />Transfer-<br />Encoding,Type=(null),Disposition=(null))<br />doveadm(camille): Info: FTS Xapian: Unknown header (indexing)<br />'contenttransferencoding'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_build_key<br />doveadm(camille): Info: FTS Xapian: New part<br />(Header=(null),Type=text/csv,Disposition=attachment;<br />filename="file.csv")<br />doveadm(camille): Info: FTS Xapian: Skipping part of type 'text/csv'<br />and disposition 'attachment; filename="file.csv"'<br />doveadm(camille): Info: FTS Xapian:<br />fts_backend_xapian_update_set_mailbox<br />doveadm(camille): Info: FTS Xapian: Unset box 'INBOX'<br />(c0d4e304584e5460dae30000075d7e67)<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_oldbox<br />doveadm(camille): Info: FTS Xapian: Done indexing 'INBOX'<br />(c0d4e304584e5460dae30000075d7e67) (13 msgs in 261 ms, rate: 49.8)<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_release<br />(unset_box)<br />doveadm(camille): Info: FTS Xapian: Committed 'unset_box' in 17 ms<br />doveadm(camille): Info: FTS Xapian: Box is empty<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_update_deinit<br />(/home/users/camille/mails/indexes/xapian-indexes)<br />doveadm(camille): Info: FTS Xapian: fts_backend_xapian_release<br />(update_deinit)<br />doveadm(camille): Info: FTS Xapian: Committed 'update_deinit' in 0 ms<br />doveadm(camille): Info: FTS Xapian: Deinit<br />/home/users/camille/mails/indexes/xapian-indexes)<br />-------------------------------------------------------------------<br />----<br /><br />Especially thos line:<br /><br />doveadm(camille): Info: FTS Xapian: Skipping part of type 'text/csv'<br />and disposition 'attachment; filename="file.csv"'<br /><br />I have seen this as a bug on fts-xapian: <br /><a href="https://github.com/grosjo/fts-xapian/issues/68" target="_blank" rel="noopener noreferrer">https://github.com/grosjo/fts-xapian/issues/68</a><br /><br />Which then references a PR on Dovecot core itself:<br /><br /><a href="https://github.com/dovecot/core/pull/155" target="_blank" rel="noopener noreferrer">https://github.com/dovecot/core/pull/155</a><br /><br />Any idea on how to use xapian with non-text attachments ?<br /><br />Thanks a lot for your help!<br /><br />André<br /><br /></blockquote>
<br /><br /></div>
</blockquote>
</body></html>