<html><head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000">good point forgot about
quota ..<br>
<br>
quota_rule3 = .EXPUNGED:ignore<br>
<br>
added .. thanks for that .. <br>
<br>
rgds<br>
<br>
Matt<br>
<span>
</span><br>
<blockquote style="border: 0px none;"
cite="mid:54d459be-ad7d-48d7-f0a3-d752d67c8562@dovecot.fi" 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:aki.tuomi@dovecot.fi"
style="color:#485664
!important;padding-right:6px;font-weight:500;text-decoration:none
!important;">Aki Tuomi</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 8:44 pm</span></font></div> </div></div>
<div style="color:#909AA4;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<p>You should probably exclude the .DUMPSTER folder from quota and
FTS</p>
<p><span id="line-42" class="anchor"></span><span id="line-43"
class="anchor"></span><span id="line-44" class="anchor"></span><span
id="line-45" class="anchor"></span><span id="line-46" class="anchor"></span><span
id="line-47" class="anchor"></span></p>
<div><span id="line-1-1" class="anchor"></span>plugin {<br><span
id="line-2" class="anchor"></span> fts_autoindex_exclude = .DUMPSTER<br>
quota_ruleN = .DUMPSTER:ignore<br>}</div>
Aki<br>
<br>
<div class="moz-cite-prefix">On 23.05.2018 13:29, Matt Bryant wrote:<br>
</div>
<br>
</div>
<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 8:29 pm</span></font></div> </div></div>
<div style="color:#909AA4;margin-left:24px;margin-right:24px;"
__pbrmquotes="true" class="__pbConvBody">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
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
moz-do-not-send="true" href="mailto:matt@the-bryants.net"
class="moz-txt-link-abbreviated">matt@the-bryants.net</a>
mailbox .EXPUNGED/Trash from <a moz-do-not-send="true"
href="mailto:noreply@apress.com" class="moz-txt-link-abbreviated">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>
<br>
</div>
<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><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">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">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">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">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">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">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">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">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>
</body></html>