<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 23.05.2018 13:46, Matt Bryant wrote:<br>
</div>
<blockquote type="cite" cite="mid:5B054669.3080103@the-bryants.net">
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
<span style="color: rgb(0, 0, 0); font-family: monospace;
font-size: 13px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: left;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">deeper still looks like culprit was<br>
<br>
fts_enforced = "no"<br>
<br>
which i removed given default anyway ..<br>
<br>
still get error<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/* from <a class="moz-txt-link-abbreviated"
href="mailto:noreply@apress.com" moz-do-not-send="true">noreply@apress.com</a><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 .EXPUNGED: Mailbox doesn't
exist: .EXPUNGED<br>
6156a416748c035b5c0b0000ef794dd1 1<br>
<br>
even though in theory have disabled .EXPUNGED from being indexed
.. <br>
<br>
fts_autoindex_exclude = \Junk<br>
fts_autoindex_exclude = \Trash<br>
fts_autoindex_exclude = .EXPUNGED<br>
fts_autoindex_exclude = .EXPUNGED/*<br>
<br>
but at least dont get internal server error .. <br>
</span><span>
</span><br>
</blockquote>
<blockquote type="cite" cite="mid:5B054669.3080103@the-bryants.net">
<br>
rgds<br>
<br>
Matt<br>
<br>
</blockquote>
<br>
Uh. This is wrong, you only exclude .EXPUNGED/* now<br>
<br>
<span style="color: rgb(0, 0, 0); font-family: monospace; font-size:
13px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: 400; letter-spacing:
normal; orphans: 2; text-align: left; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(255, 255, 255); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;">You should use:<br>
<br>
fts_autoindex_exclude = \Junk<br>
fts_autoindex_exclude2 = \Trash<br>
fts_autoindex_exclude3 = .EXPUNGED<br>
fts_autoindex_exclude4 = .EXPUNGED/*<br>
</span><br>
Aki<br>
<br>
<blockquote type="cite" cite="mid:5B054669.3080103@the-bryants.net">
<blockquote style="border: 0px none;"
cite="mid:5B054274.8070607@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 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" 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>