<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>You should probably exclude the .DUMPSTER folder from quota and
FTS</p>
<p><span class="anchor" id="line-42"></span><span class="anchor"
id="line-43"></span><span class="anchor" id="line-44"></span><span
class="anchor" id="line-45"></span><span class="anchor"
id="line-46"></span><span class="anchor" id="line-47"></span></p>
<pre><span class="anchor" id="line-1-1"></span>plugin {
<span class="anchor" id="line-2"></span> fts_autoindex_exclude = .DUMPSTER
quota_ruleN = .DUMPSTER:ignore
}</pre>
Aki<br>
<br>
<div class="moz-cite-prefix">On 23.05.2018 13:29, Matt Bryant wrote:<br>
</div>
<blockquote type="cite" cite="mid:5B054274.8070607@the-bryants.net">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
So digging a little deeper it seems this maybe an issue between
fts/fts_lucene and lazy_expunge .. if I disable the fts plugin<br>
<br>
[root@stargate dovecot.rawlog]# doveadm search -u <a
class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>
mailbox .EXPUNGED/Trash from <a class="moz-txt-link-abbreviated"
href="mailto:noreply@apress.com" moz-do-not-send="true">noreply@apress.com</a><br>
6156a416748c035b5c0b0000ef794dd1 1<br>
<br>
search works .. <br>
<span>
</span><br>
so begs the question whats fts_lucene doing ... <br>
<br>
rgds<br>
<br>
Matt<br>
<blockquote style="border: 0px none;"
cite="mid:5B04FE06.2060700@the-bryants.net" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr">
<div style="width:100%;border-top:2px solid
#EDF1F4;padding-top:10px;">
<div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:49%;">
<a moz-do-not-send="true"
href="mailto:matt@the-bryants.net" style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;">Matt Bryant</a></div>
<div
style="display:inline-block;white-space:nowrap;vertical-align:middle;width:48%;text-align:
right;"> <font color="#909AA4"><span
style="padding-left:6px">23 May 2018 at 3:37 pm</span></font></div>
</div>
</div>
<div style="color:#909AA4;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<div>So I decided to configure this plugin and take it for a
test drive ..<br>
configured using mdbox (main namespace is<br>
Maildir) .. So as per Wiki have the following namespaces
defined ...<br>
location is held within db ... but basically
Maildir:~/Maildir for inbox<br>
namespace<br>
<br>
==== 8< ===============<br>
<br>
namespace inbox {<br>
<br>
list = yes<br>
type = private<br>
inbox = yes<br>
prefix = INBOX/<br>
separator = /<br>
<br>
mailbox Drafts {<br>
auto = create<br>
special_use = \Drafts<br>
}<br>
mailbox Spam {<br>
auto = create<br>
special_use = \Junk<br>
}<br>
<br>
mailbox Trash {<br>
auto = create<br>
special_use = \Trash<br>
}<br>
<br>
mailbox Sent {<br>
auto = create<br>
special_use = \Sent<br>
}<br>
<br>
mailbox Archive {<br>
auto = create<br>
special_use = \Archive<br>
}<br>
<br>
}<br>
<br>
namespace lazyexpunge {<br>
prefix = .EXPUNGED/<br>
hidden = yes<br>
list = children<br>
subscriptions = no<br>
separator = /<br>
location =<br>
mdbox:~/mdbox:INDEX=~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index<br>
}<br>
<br>
====================<br>
<br>
Can see its working since can see files in the mdbox storage
along with<br>
indexs etc ... but there seems little to no documentation on
how to<br>
delete from the expunged namespace and atm trying to even
search doesnt<br>
seem to work ..<br>
<br>
doveadm -Dvvv search -u <a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>
mailbox .EXPUNGED/*<br>
subject space<br>
<br>
gets errors below .. and although says refer to server log
.. nothing in<br>
there either .. mail_debug is on ...<br>
<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Debug: fts: Indexes disabled for namespace ''<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Debug: .EXPUNGED/Trash: Mailbox opened<br>
because: search<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Error: fts: Failed to sync mailbox<br>
.EXPUNGED: Mailbox doesn't exist: .EXPUNGED<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Error: Searching mailbox .EXPUNGED/Trash<br>
failed: Internal error occurred. Refer to server log for
more<br>
information. [2018-05-23 15:07:21]<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Debug: .EXPUNGED/Trash/cobbler: Mailbox<br>
opened because: search<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Error: fts: Failed to sync mailbox<br>
.EXPUNGED: Mailbox doesn't exist: .EXPUNGED<br>
doveadm(<a class="moz-txt-link-abbreviated"
href="mailto:matt@the-bryants.net" moz-do-not-send="true">matt@the-bryants.net</a>):
Error: Searching mailbox<br>
.EXPUNGED/Trash/cobbler failed: Internal error occurred.
Refer to server<br>
log for more information. [2018-05-23 15:07:21]<br>
<br>
<br>
Any ideas is there any better doco around this plugin and
use etc ...<br>
<br>
thanks & rgds<br>
<br>
Matt<br>
</div>
</div>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>