<html><head>
<meta content="text/html; charset=windows-1252" 
http-equiv="Content-Type">
</head><body bgcolor="#FFFFFF" text="#000000"><br>
<span>

</span>So removed the ! since pretty much uneeded but get the same 
behaviour ... send a mail to the underlying inbox .. gets found in 
virtual/combined but not virtual/all .... remove the indexes from 
virtual/all and re-login .. they get recreated and bingo the new message
 is now found (shown below) ...<br>
<br>
even tried running a doveadm index on virtual/all ... but that didnt do 
anything either ....<br>
<br>
<br>
a2 select virtual/all<br>

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0 $Forwarded 
home $MDNSent personal)<br>

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0
 $Forwarded home $MDNSent personal \*)] Flags permitted.<br>

* 30579 EXISTS<br>

* 30579 RECENT<br>

* OK [UNSEEN 139] First unseen.<br>

* OK [UIDVALIDITY 1518990022] UIDs valid<br>

* OK [UIDNEXT 30580] Predicted next UID<br>

* OK [HIGHESTMODSEQ 8] Highest<br>

a2 OK [READ-WRITE] Select completed (0.031 + 0.000 + 0.030 secs).<br>

? search header Message-ID <a class="moz-txt-link-rfc2396E" href="mailto:5A89F365.1050807@the-bryants.net"><5A89F365.1050807@the-bryants.net></a><br>

* SEARCH<br>

? OK Search completed (0.254 + 0.000 + 0.253 secs).<br>

a2 select virtual/combined<br>

* OK [CLOSED] Previous mailbox closed.<br>

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0 $Forwarded 
home $MDNSent personal)<br>

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0
 $Forwarded home $MDNSent personal \*)] Flags permitted.<br>

* 30999 EXISTS<br>

* 30999 RECENT<br>

* OK [UNSEEN 141] First unseen.<br>

* OK [UIDVALIDITY 1518990022] UIDs valid<br>

* OK [UIDNEXT 31000] Predicted next UID<br>

* OK [HIGHESTMODSEQ 10] Highest<br>

a2 OK [READ-WRITE] Select completed (0.015 + 0.000 + 0.015 secs).<br>

? search header Message-ID <<a class="moz-txt-link-abbreviated" href="mailto:5A89F365.1050807@the-bryants.net">5A89F365.1050807@the-bryants.net</a><br>

* SEARCH 30999<br>

? OK Search completed (0.217 + 0.000 + 0.216 secs).<br>

<br>

<br>

if i delete the index files for virtual/all and then re-login and search
 ...<br>

<br>

a2 select virtual/all<br>

* FLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0 $Forwarded 
home $MDNSent personal)<br>

* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft unknown-0
 $Forwarded home $MDNSent personal \*)] Flags permitted.<br>

* 30581 EXISTS<br>

* 30581 RECENT<br>

* OK [UNSEEN 139] First unseen.<br>

* OK [UIDVALIDITY 1518990876] UIDs valid<br>

* OK [UIDNEXT 30582] Predicted next UID<br>

* OK [HIGHESTMODSEQ 7] Highest<br>

a2 OK [READ-WRITE] Select completed (0.032 + 0.000 + 0.031 secs).<br>

? search header Message-ID <a class="moz-txt-link-rfc2396E" href="mailto:5A89F365.1050807@the-bryants.net"><5A89F365.1050807@the-bryants.net></a><br>

* SEARCH 30581<br>

? OK Search completed (0.274 + 0.000 + 0.273 secs).<br>

<br>

message is found ...<br>
<br>
<br>
<br>
<blockquote style="border: 0px none;" 
cite="mid:5A89EF27.8020704@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">19 
February 2018 at 7:24 am</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 virtual/combined was 
meant to combine INBOX/Sent/Drafts and virtual/all display them in a 
threaded manner .. at least that was the intention ...<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: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">18 
February 2018 at 11:10 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>Uhm.</p>
    <p>combined folder seems to use INBOX for saving mails and contains
      mails from Sent and Drafts.</p>
    <p>Not sure what your all folder is supposed to do.<br>
    </p>
    <p>Aki<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 2018-02-18 01:14, 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">18 
February 2018 at 9:14 am</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">
Been experimenting with virtual mailbox and have a question :-<br>
  <br>
I have defined 2 virtual mailboxes 'all' and 'combined' as follows ...<br>
  <br>
  <br>
virtual/all/dovecot-virtual<br>
  <br>
virtual/combined<br>
  inthread refs x-mailbox INBOX<br>
  <br>
virtual/combined/dovecot-virtual<br>
  <br>
!INBOX<br>
INBOX/Sent<br>
INBOX/Drafts<br>
  all<br>
  
  </div>
</blockquote>
<br>
<div class="moz-signature">-- <br>
<div><a 
href="https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach"><span
 style="color: rgb(51, 102, 153);"><br>
</span></a></div>


</div>
</body></html>