deeper still looks like culprit was fts_enforced = "no" which i removed given default anyway .. still get error [root at stargate dovecot.rawlog]# doveadm search -u matt at the-bryants.net mailbox .EXPUNGED/* from noreply at apress.com doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox .EXPUNGED: Mailbox doesn't exist: .EXPUNGED 6156a416748c035b5c0b0000ef794dd1 1 even though in theory have disabled .EXPUNGED from being indexed .. fts_autoindex_exclude = \Junk fts_autoindex_exclude = \Trash fts_autoindex_exclude = .EXPUNGED fts_autoindex_exclude = .EXPUNGED/* but at least dont get internal server error .. rgds Matt> Matt Bryant <mailto:matt at the-bryants.net> > 23 May 2018 at 8:29 pm > So digging a little deeper it seems this maybe an issue between > fts/fts_lucene and lazy_expunge .. if I disable the fts plugin > > [root at stargate dovecot.rawlog]# doveadm search -u > matt at the-bryants.net mailbox .EXPUNGED/Trash from noreply at apress.com > 6156a416748c035b5c0b0000ef794dd1 1 > > search works .. > > so begs the question whats fts_lucene doing ... > > rgds > > Matt > > Matt Bryant <mailto:matt at the-bryants.net> > 23 May 2018 at 3:37 pm > So I decided to configure this plugin and take it for a test drive .. > configured using mdbox (main namespace is > Maildir) .. So as per Wiki have the following namespaces defined ... > location is held within db ... but basically Maildir:~/Maildir for inbox > namespace > > ==== 8< ==============> > namespace inbox { > > list = yes > type = private > inbox = yes > prefix = INBOX/ > separator = / > > mailbox Drafts { > auto = create > special_use = \Drafts > } > > mailbox Spam { > auto = create > special_use = \Junk > } > > mailbox Trash { > auto = create > special_use = \Trash > } > > mailbox Sent { > auto = create > special_use = \Sent > } > > mailbox Archive { > auto = create > special_use = \Archive > } > > } > > namespace lazyexpunge { > prefix = .EXPUNGED/ > hidden = yes > list = children > subscriptions = no > separator = / > location > mdbox:~/mdbox:INDEX=~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index > } > > ===================> > Can see its working since can see files in the mdbox storage along with > indexs etc ... but there seems little to no documentation on how to > delete from the expunged namespace and atm trying to even search doesnt > seem to work .. > > doveadm -Dvvv search -u matt at the-bryants.net mailbox .EXPUNGED/* > subject space > > gets errors below .. and although says refer to server log .. nothing in > there either .. mail_debug is on ... > > doveadm(matt at the-bryants.net): Debug: fts: Indexes disabled for > namespace '' > doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash: Mailbox opened > because: search > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > doveadm(matt at the-bryants.net): Error: Searching mailbox .EXPUNGED/Trash > failed: Internal error occurred. Refer to server log for more > information. [2018-05-23 15:07:21] > doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash/cobbler: Mailbox > opened because: search > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > doveadm(matt at the-bryants.net): Error: Searching mailbox > .EXPUNGED/Trash/cobbler failed: Internal error occurred. Refer to server > log for more information. [2018-05-23 15:07:21] > > > Any ideas is there any better doco around this plugin and use etc ... > > thanks & rgds > > Matt-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180523/da978f72/attachment.html>
On 23.05.2018 13:46, Matt Bryant wrote:> deeper still looks like culprit was > > fts_enforced = "no" > > which i removed given default anyway .. > > still get error > > [root at stargate dovecot.rawlog]#? doveadm search -u > matt at the-bryants.net mailbox .EXPUNGED/* from noreply at apress.com > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > 6156a416748c035b5c0b0000ef794dd1 1 > > even though in theory have disabled .EXPUNGED from being indexed .. > > ??? fts_autoindex_exclude = \Junk > ??? fts_autoindex_exclude = \Trash > ??? fts_autoindex_exclude = .EXPUNGED > ??? fts_autoindex_exclude = .EXPUNGED/* > > but at least dont get internal server error .. > > > rgds > > Matt >Uh. This is wrong, you only exclude .EXPUNGED/* now You should use: fts_autoindex_exclude = \Junk fts_autoindex_exclude2 = \Trash fts_autoindex_exclude3 = .EXPUNGED fts_autoindex_exclude4 = .EXPUNGED/* Aki>> Matt Bryant <mailto:matt at the-bryants.net> >> 23 May 2018 at 8:29 pm >> So digging a little deeper it seems this maybe an issue between >> fts/fts_lucene and lazy_expunge .. if I disable the fts plugin >> >> [root at stargate dovecot.rawlog]#? doveadm search -u >> matt at the-bryants.net mailbox .EXPUNGED/Trash from noreply at apress.com >> 6156a416748c035b5c0b0000ef794dd1 1 >> >> search works .. >> >> so begs the question whats fts_lucene doing ... >> >> rgds >> >> Matt >> >> Matt Bryant <mailto:matt at the-bryants.net> >> 23 May 2018 at 3:37 pm >> So I decided to configure this plugin and take it for a test drive .. >> configured using mdbox (main namespace is >> Maildir) .. So as per Wiki have the following namespaces defined ... >> location is held within db ... but basically Maildir:~/Maildir for inbox >> namespace >> >> ==== 8< ==============>> >> namespace inbox { >> >> list = yes >> type = private >> inbox = yes >> prefix = INBOX/ >> separator = / >> >> mailbox Drafts { >> auto = create >> special_use = \Drafts >> } >> >> mailbox Spam { >> auto = create >> special_use = \Junk >> } >> >> mailbox Trash { >> auto = create >> special_use = \Trash >> } >> >> mailbox Sent { >> auto = create >> special_use = \Sent >> } >> >> mailbox Archive { >> auto = create >> special_use = \Archive >> } >> >> } >> >> namespace lazyexpunge { >> prefix = .EXPUNGED/ >> hidden = yes >> list = children >> subscriptions = no >> separator = / >> location >> mdbox:~/mdbox:INDEX=~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index >> } >> >> ===================>> >> Can see its working since can see files in the mdbox storage along with >> indexs etc ... but there seems little to no documentation on how to >> delete from the expunged namespace and atm trying to even search doesnt >> seem to work .. >> >> doveadm -Dvvv search -u matt at the-bryants.net mailbox .EXPUNGED/* >> subject space >> >> gets errors below .. and although says refer to server log .. nothing in >> there either .. mail_debug is on ... >> >> doveadm(matt at the-bryants.net): Debug: fts: Indexes disabled for >> namespace '' >> doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash: Mailbox opened >> because: search >> doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox >> .EXPUNGED: Mailbox doesn't exist: .EXPUNGED >> doveadm(matt at the-bryants.net): Error: Searching mailbox .EXPUNGED/Trash >> failed: Internal error occurred. Refer to server log for more >> information. [2018-05-23 15:07:21] >> doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash/cobbler: Mailbox >> opened because: search >> doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox >> .EXPUNGED: Mailbox doesn't exist: .EXPUNGED >> doveadm(matt at the-bryants.net): Error: Searching mailbox >> .EXPUNGED/Trash/cobbler failed: Internal error occurred. Refer to server >> log for more information. [2018-05-23 15:07:21] >> >> >> Any ideas is there any better doco around this plugin and use etc ... >> >> thanks & rgds >> >> Matt >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180523/d1d21a7f/attachment-0001.html>
Hmm so changed that but whatever I add still get the following pop up ... doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox .EXPUNGED: Mailbox doesn't exist: .EXPUNGED should fts_autoindex_exclude3 = .EXPUNGED cover the whole namespace or do I need the fts_autoindex_exclude4 = .EXPUNGED/* rgds Matt> Aki Tuomi <mailto:aki.tuomi at dovecot.fi> > 23 May 2018 at 8:54 pm > > > > On 23.05.2018 13:46, Matt Bryant wrote: >> deeper still looks like culprit was >> >> fts_enforced = "no" >> >> which i removed given default anyway .. >> >> still get error >> >> [root at stargate dovecot.rawlog]# doveadm search -u >> matt at the-bryants.net mailbox .EXPUNGED/* from noreply at apress.com >> doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox >> .EXPUNGED: Mailbox doesn't exist: .EXPUNGED >> 6156a416748c035b5c0b0000ef794dd1 1 >> >> even though in theory have disabled .EXPUNGED from being indexed .. >> >> fts_autoindex_exclude = \Junk >> fts_autoindex_exclude = \Trash >> fts_autoindex_exclude = .EXPUNGED >> fts_autoindex_exclude = .EXPUNGED/* >> >> but at least dont get internal server error .. >> >> >> rgds >> >> Matt >> > > Uh. This is wrong, you only exclude .EXPUNGED/* now > > You should use: > > fts_autoindex_exclude = \Junk > fts_autoindex_exclude2 = \Trash > fts_autoindex_exclude3 = .EXPUNGED > fts_autoindex_exclude4 = .EXPUNGED/* > > Aki > >>> Matt Bryant <mailto:matt at the-bryants.net> >>> 23 May 2018 at 8:29 pm >>> So digging a little deeper it seems this maybe an issue between >>> fts/fts_lucene and lazy_expunge .. if I disable the fts plugin >>> >>> [root at stargate dovecot.rawlog]# doveadm search -u >>> matt at the-bryants.net mailbox .EXPUNGED/Trash from noreply at apress.com >>> 6156a416748c035b5c0b0000ef794dd1 1 >>> >>> search works .. >>> >>> so begs the question whats fts_lucene doing ... >>> >>> rgds >>> >>> Matt >>> >>> Matt Bryant <mailto:matt at the-bryants.net> >>> 23 May 2018 at 3:37 pm >>> So I decided to configure this plugin and take it for a test drive .. >>> configured using mdbox (main namespace is >>> Maildir) .. So as per Wiki have the following namespaces defined ... >>> location is held within db ... but basically Maildir:~/Maildir for inbox >>> namespace >>> >>> ==== 8< ==============>>> >>> namespace inbox { >>> >>> list = yes >>> type = private >>> inbox = yes >>> prefix = INBOX/ >>> separator = / >>> >>> mailbox Drafts { >>> auto = create >>> special_use = \Drafts >>> } >>> >>> mailbox Spam { >>> auto = create >>> special_use = \Junk >>> } >>> >>> mailbox Trash { >>> auto = create >>> special_use = \Trash >>> } >>> >>> mailbox Sent { >>> auto = create >>> special_use = \Sent >>> } >>> >>> mailbox Archive { >>> auto = create >>> special_use = \Archive >>> } >>> >>> } >>> >>> namespace lazyexpunge { >>> prefix = .EXPUNGED/ >>> hidden = yes >>> list = children >>> subscriptions = no >>> separator = / >>> location >>> mdbox:~/mdbox:INDEX=~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index >>> } >>> >>> ===================>>> >>> Can see its working since can see files in the mdbox storage along with >>> indexs etc ... but there seems little to no documentation on how to >>> delete from the expunged namespace and atm trying to even search doesnt >>> seem to work .. >>> >>> doveadm -Dvvv search -u matt at the-bryants.net mailbox .EXPUNGED/* >>> subject space >>> >>> gets errors below .. and although says refer to server log .. nothing in >>> there either .. mail_debug is on ... >>> >>> doveadm(matt at the-bryants.net): Debug: fts: Indexes disabled for >>> namespace '' >>> doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash: Mailbox opened >>> because: search >>> doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox >>> .EXPUNGED: Mailbox doesn't exist: .EXPUNGED >>> doveadm(matt at the-bryants.net): Error: Searching mailbox .EXPUNGED/Trash >>> failed: Internal error occurred. Refer to server log for more >>> information. [2018-05-23 15:07:21] >>> doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash/cobbler: Mailbox >>> opened because: search >>> doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox >>> .EXPUNGED: Mailbox doesn't exist: .EXPUNGED >>> doveadm(matt at the-bryants.net): Error: Searching mailbox >>> .EXPUNGED/Trash/cobbler failed: Internal error occurred. Refer to server >>> log for more information. [2018-05-23 15:07:21] >>> >>> >>> Any ideas is there any better doco around this plugin and use etc ... >>> >>> thanks & rgds >>> >>> Matt >> > > Matt Bryant <mailto:matt at the-bryants.net> > 23 May 2018 at 8:46 pm > deeper still looks like culprit was > > fts_enforced = "no" > > which i removed given default anyway .. > > still get error > > [root at stargate dovecot.rawlog]# doveadm search -u > matt at the-bryants.net mailbox .EXPUNGED/* from noreply at apress.com > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > 6156a416748c035b5c0b0000ef794dd1 1 > > even though in theory have disabled .EXPUNGED from being indexed .. > > fts_autoindex_exclude = \Junk > fts_autoindex_exclude = \Trash > fts_autoindex_exclude = .EXPUNGED > fts_autoindex_exclude = .EXPUNGED/* > > but at least dont get internal server error .. > > > rgds > > Matt > > > Matt Bryant <mailto:matt at the-bryants.net> > 23 May 2018 at 8:29 pm > So digging a little deeper it seems this maybe an issue between > fts/fts_lucene and lazy_expunge .. if I disable the fts plugin > > [root at stargate dovecot.rawlog]# doveadm search -u > matt at the-bryants.net mailbox .EXPUNGED/Trash from noreply at apress.com > 6156a416748c035b5c0b0000ef794dd1 1 > > search works .. > > so begs the question whats fts_lucene doing ... > > rgds > > Matt > > Matt Bryant <mailto:matt at the-bryants.net> > 23 May 2018 at 3:37 pm > So I decided to configure this plugin and take it for a test drive .. > configured using mdbox (main namespace is > Maildir) .. So as per Wiki have the following namespaces defined ... > location is held within db ... but basically Maildir:~/Maildir for inbox > namespace > > ==== 8< ==============> > namespace inbox { > > list = yes > type = private > inbox = yes > prefix = INBOX/ > separator = / > > mailbox Drafts { > auto = create > special_use = \Drafts > } > > mailbox Spam { > auto = create > special_use = \Junk > } > > mailbox Trash { > auto = create > special_use = \Trash > } > > mailbox Sent { > auto = create > special_use = \Sent > } > > mailbox Archive { > auto = create > special_use = \Archive > } > > } > > namespace lazyexpunge { > prefix = .EXPUNGED/ > hidden = yes > list = children > subscriptions = no > separator = / > location > mdbox:~/mdbox:INDEX=~/mdbox:MAILBOXDIR=expunged:LISTINDEX=expunged.list.index > } > > ===================> > Can see its working since can see files in the mdbox storage along with > indexs etc ... but there seems little to no documentation on how to > delete from the expunged namespace and atm trying to even search doesnt > seem to work .. > > doveadm -Dvvv search -u matt at the-bryants.net mailbox .EXPUNGED/* > subject space > > gets errors below .. and although says refer to server log .. nothing in > there either .. mail_debug is on ... > > doveadm(matt at the-bryants.net): Debug: fts: Indexes disabled for > namespace '' > doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash: Mailbox opened > because: search > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > doveadm(matt at the-bryants.net): Error: Searching mailbox .EXPUNGED/Trash > failed: Internal error occurred. Refer to server log for more > information. [2018-05-23 15:07:21] > doveadm(matt at the-bryants.net): Debug: .EXPUNGED/Trash/cobbler: Mailbox > opened because: search > doveadm(matt at the-bryants.net): Error: fts: Failed to sync mailbox > .EXPUNGED: Mailbox doesn't exist: .EXPUNGED > doveadm(matt at the-bryants.net): Error: Searching mailbox > .EXPUNGED/Trash/cobbler failed: Internal error occurred. Refer to server > log for more information. [2018-05-23 15:07:21] > > > Any ideas is there any better doco around this plugin and use etc ... > > thanks & rgds > > Matt-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20180523/bb26f821/attachment-0001.html>