<html><head>
<meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type">
</head><body text="#000000" bgcolor="#FFFFFF">Thought I would get it
another send and see if anyone out there has come up with any ideas or
thoughts on this .. certainly I couldnt seem to replicate in 2.2.31 so
am wondering looking at the change log if one of the virtual 'fixes' in
2.2.32 .. maybe broke something else.<br>
<br>
Either way can anyone confirm that <br>
<br>
'inthread refs x-mailbox INBOX<br>
<br>
should filter all message according to thread - seems to indicate that
in the 'gmail' example given on the dovecot wiki ...<br>
<br>
rgds<br>
<br>
Matt<br>
<br>
<br>
<blockquote class="__pbForwardBlockQuote" style="border: 0px none;"
cite="mid:5A8A0A69.6070304@the-bryants.net" type="cite">
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:2px solid
#EDF1F4;padding-top:10px"> <font color="#485664"><div
style="display:table-cell;white-space:nowrap;vertical-align:top;width:100%">
<span style="padding-right:6px;font-weight:500"><b>From:</b> Matt
Bryant <a class="moz-txt-link-rfc2396E" href="mailto:matt@the-bryants.net"><matt@the-bryants.net></a><br></span><font color="#485664"><b>Date:</b>
19 February 2018 at 9:21 am<br><b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a><br><b>Subject:</b>
2.2.33.2 - Virtual Mailbox Issue bug maybe ?<br></font></div> </font></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=ISO-8859-1">
hmm down graded to 2.2.19
and dont see the issue .. other issues particularly a segfault in
libstorage to do with virtual .. but at least mails seem to be appearing
correctly and cant seem to replicate what I have seen in 2.2.33.2<br>
<br>
as an aside .. outlook on mac doesnt appear to like 2.2.33.2 either ..
seeing same kind of issue where some messages not appearing in inbox ..
but could be some outlook/mac bug not catered for perhaps given no
issues in thunderbird and some other 3rd party clients tested.<br>
<br>
rgds<br>
<br>
Matt<br>
<span>
</span><br>
<br>
</div>
<div style="margin:30px 25px 10px 25px;" class="__pbConvHr"><div
style="display:table;width:100%;border-top:2px solid
#EDF1F4;padding-top:10px"> <font color="#485664"><div
style="display:table-cell;white-space:nowrap;vertical-align:top;width:100%">
<span style="padding-right:6px;font-weight:500"><b>From:</b> Matt
Bryant <a class="moz-txt-link-rfc2396E" href="mailto:matt@the-bryants.net"><matt@the-bryants.net></a><br></span><font color="#485664"><b>Date:</b>
18 February 2018 at 9:14 am<br><b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:dovecot@dovecot.org">dovecot@dovecot.org</a><br><b>Subject:</b>
2.2.33.2 - Virtual Mailbox Issue bug maybe ?<br></font></div> </font></div></div>
<div style="color:#909AA4;margin-left:24px;margin-right:24px;"
__pbrmquotes="false" class="__pbConvBody">
<meta content="text/html; charset=ISO-8859-1" 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 class="moz-signature"><br>
When new mail comes I would assume that both virtual mailboxes should
actually see the message but whilst an imap search command gets a result
in the virtual/combined for some reason not every message is seen in
virtual all - so was wondering what exactly does<br>
<br>
'inthread refs x-mailbox INBOX'<br>
<br>
do ? I would have thought new mail to inbox would just have a thread of 1
and be seen. If i remove the indexes from virtual then the messages
appear so am thinking something not quite triggering an action. Any
ideas ? What can I do to try and track down where problem lies or am i
misunderstanding what 'inthread refs x-mailbox INBOX' should do ????<br>
<br>
<br>
== 8< ==========<br>
<br>
# doveconf -n<br>
# 2.2.33.2 (d6601f4ec): /etc/dovecot/dovecot.conf<br>
# Pigeonhole version 0.4.21 (92477967)<br>
doveconf: Warning: service auth { client_limit=5000 } is lower than
required under max. load (26096)<br>
doveconf: Warning: service anvil { client_limit=5000 } is lower than
required under max. load (9715)<br>
# OS: Linux 3.10.0-693.11.6.el7.x86_64 x86_64 CentOS Linux release
7.3.1611 (Core)<br>
auth_cache_negative_ttl = 2 mins<br>
auth_cache_ttl = 3 mins<br>
auth_master_user_separator = *<br>
auth_mechanisms = plain login<br>
auth_verbose = yes<br>
auth_worker_max_count = 100<br>
default_client_limit = 8192<br>
default_process_limit = 8192<br>
default_vsz_limit = 512 M<br>
disable_plaintext_auth = no<br>
doveadm_password = # hidden, use -P to show it<br>
imap_client_workarounds = delay-newmail tb-extra-mailbox-sep
tb-lsub-flags<br>
imap_idle_notify_interval = 1 mins<br>
login_greeting = IMAP/POP3 ready - us11-001dm<br>
mail_attachment_dir = /var/mail/sis/%Ld<br>
mail_cache_min_mail_count = 5<br>
mail_debug = yes<br>
mail_plugins = " quota virtual"<br>
mailbox_list_index = yes<br>
managesieve_notify_capability = mailto<br>
managesieve_sieve_capability = fileinto reject envelope
encoded-character vacation subaddress comparator-i;ascii-numeric
relational regex imap4flags copy include variables body enotify
environment mailbox date index ihave duplicate mime foreverypart
extracttext vacation-seconds spamtest spamtestplus editheader<br>
mbox_write_locks = fcntl<br>
mmap_disable = yes<br>
namespace inbox {<br>
inbox = yes<br>
list = yes<br>
location =<br>
mailbox Archive {<br>
auto = create<br>
special_use = \Archive<br>
}<br>
mailbox Drafts {<br>
auto = create<br>
special_use = \Drafts<br>
}<br>
mailbox Sent {<br>
auto = create<br>
special_use = \Sent<br>
}<br>
mailbox Spam {<br>
auto = create<br>
special_use = \Junk<br>
}<br>
mailbox Trash {<br>
auto = create<br>
special_use = \Trash<br>
}<br>
prefix = INBOX/<br>
separator = /<br>
type = private<br>
}<br>
namespace virtual {<br>
list = no<br>
location = virtual:/var/lib/mail/dovecot/virtual:INDEX=~/virtual<br>
prefix = virtual/<br>
separator = /<br>
type = private<br>
}<br>
passdb {<br>
args = /etc/dovecot/sql_users.conf<br>
driver = sql<br>
}<br>
passdb {<br>
args = /etc/dovecot/sql_admin.conf<br>
driver = sql<br>
}<br>
plugin {<br>
mail_log_events = delete expunge<br>
mail_log_fields = uid box msgid size<br>
quota = <a moz-do-not-send="true"
href="dict:UserQuota::file:%h/dovecot-quota"
class="moz-txt-link-freetext">dict:UserQuota::file:%h/dovecot-quota</a><br>
quota_rule2 = INBOX/Trash:storage=+10%%<br>
sieve = <a moz-do-not-send="true"
href="file:%7E/sieve/user;active=%7E/.dovecot.sieve"
class="moz-txt-link-freetext">file:~/sieve/user;active=~/.dovecot.sieve</a><br>
sieve_default = <a moz-do-not-send="true"
href="file:/var/lib/mail/dovecot/sieve/default.sieve"
class="moz-txt-link-freetext">file:/var/lib/mail/dovecot/sieve/default.sieve</a><br>
sieve_default_name = default<br>
sieve_editheader_max_header_size = 1k<br>
sieve_extensions = +spamtest +spamtestplus +editheader
+vacation-seconds<br>
sieve_global = <a moz-do-not-send="true"
href="file:/var/lib/mail/dovecot/sieve" class="moz-txt-link-freetext">file:/var/lib/mail/dovecot/sieve</a><br>
sieve_quota_max_scripts = 5<br>
sieve_spamtest_max_value = 200<br>
sieve_spamtest_status_header = X-spam-score-int: -?([[:digit:]]+)<br>
sieve_spamtest_status_type = score<br>
sieve_vacation_default_period = 10d<br>
sieve_vacation_max_period = 30d<br>
sieve_vacation_min_period = 1s<br>
}<br>
pop3_client_workarounds = outlook-no-nuls oe-ns-eoh<br>
pop3_fast_size_lookups = yes<br>
protocols = imap pop3 lmtp sieve<br>
service anvil {<br>
client_limit = 5000<br>
}<br>
service auth-worker {<br>
user = $default_internal_user<br>
}<br>
service auth {<br>
client_limit = 5000<br>
unix_listener auth_client {<br>
mode = 0660<br>
user = exim<br>
}<br>
}<br>
service doveadm {<br>
client_limit = 10<br>
inet_listener {<br>
address = *<br>
port = 4000<br>
}<br>
process_limit = 100<br>
process_min_avail = 10<br>
service_count = 1<br>
}<br>
service imap-login {<br>
inet_listener imap {<br>
port = 143<br>
}<br>
inet_listener imaps {<br>
port = 993<br>
ssl = yes<br>
}<br>
process_limit = 500<br>
process_min_avail = 10<br>
service_count = 1<br>
}<br>
service imap {<br>
executable = imap postlogin<br>
process_limit = 500<br>
}<br>
service managesieve-login {<br>
inet_listener sieve {<br>
port = 4190<br>
}<br>
process_limit = 20<br>
process_min_avail = 10<br>
service_count = 1<br>
}<br>
service managesieve {<br>
process_limit = 1024<br>
}<br>
service pop3-login {<br>
inet_listener pop3 {<br>
port = 110<br>
}<br>
inet_listener pop3s {<br>
port = 995<br>
ssl = yes<br>
}<br>
process_limit = 1000<br>
process_min_avail = 5<br>
service_count = 1<br>
}<br>
service pop3 {<br>
process_limit = 500<br>
}<br>
service postlogin {<br>
executable = script-login -d rawlog<br>
}<br>
shutdown_clients = no<br>
ssl = required<br>
ssl_cert = </etc/pki/dovecot/certs/dovecotl.com.pem<br>
ssl_key = # hidden, use -P to show it<br>
userdb {<br>
driver = prefetch<br>
}<br>
userdb {<br>
args = /etc/dovecot/sql_users.conf<br>
driver = sql<br>
}<br>
protocol imap {<br>
imap_capability = +SPECIAL-USE<br>
mail_max_userip_connections = 50<br>
mail_plugins = " quota virtual imap_quota"<br>
}<br>
protocol pop3 {<br>
mail_max_userip_connections = 20<br>
mail_plugins = " quota virtual"<br>
}<br>
protocol lmtp {<br>
auth_username_format = %Lu<br>
mail_plugins = " quota virtual sieve quota"<br>
postmaster_address = mailer-daemon<br>
}<br>
<br>
======= 8< ==========<br>
<br>
The below were searches in performed in the two mailboxes .. showing the
found/not found status.<br>
<br>
search in vritual/all<br>
<br>
<span style="color: rgb(255, 255, 255); font-family: "SF
Regular", "Segoe System UI Regular", "Segoe UI
Regular", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: -0.2px; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre-wrap; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color:
rgb(43, 44, 51); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">? search header
Message-ID <</span>
<div style="box-sizing: border-box; color:
rgb(255, 255, 255); font-family: "SF Regular", "Segoe
System UI Regular", "Segoe UI Regular", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing: -0.2px;
orphans: 2; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre-wrap; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(43, 44, 51);
text-decoration-style: initial; text-decoration-color: initial;
position: relative; display: inline; flex-grow: 1; flex-shrink: 1;
overflow: visible; overflow-wrap: break-word; cursor: inherit;"
aria-hidden="false"><a moz-do-not-send="true" style="box-sizing:
border-box; background-color: transparent; text-decoration: underline;
position: relative; display: inline; flex-direction: column; flex-grow:
0; flex-shrink: 0; overflow: visible; align-items: stretch;
overflow-wrap: break-word; font-size: 14px; line-height: 22px; color:
rgb(255, 255, 255); font-family: "SF Regular", "Segoe
System UI Regular", "Segoe UI Regular", sans-serif;
font-weight: 400; user-select: text; cursor: pointer;"
aria-hidden="true" tabindex="-1" rel="noreferrer" target="_blank"
href="mailto:5A8663D6.5000704@the-bryants.net">5A8663D6.5000704@the-bryants.net</a></div>
<span style="color: rgb(255, 255, 255); font-family: "SF
Regular", "Segoe System UI Regular", "Segoe UI
Regular", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: -0.2px; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre-wrap; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color:
rgb(43, 44, 51); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">>
* SEARCH
? OK Search completed (0.246 + 0.000 + 0.245 secs).<br>
<br>
</span>search in virtual combined <br>
<span style="color: rgb(255, 255, 255); font-family: "SF
Regular", "Segoe System UI Regular", "Segoe UI
Regular", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: -0.2px; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre-wrap; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color:
rgb(43, 44, 51); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;"><br>
</span><span style="color: rgb(255, 255, 255); font-family: "SF
Regular", "Segoe System UI Regular", "Segoe UI
Regular", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: -0.2px; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre-wrap; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color:
rgb(43, 44, 51); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">? search header
Message-ID <</span>
<div style="box-sizing: border-box; color:
rgb(255, 255, 255); font-family: "SF Regular", "Segoe
System UI Regular", "Segoe UI Regular", sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures: normal;
font-variant-caps: normal; font-weight: normal; letter-spacing: -0.2px;
orphans: 2; text-align: start; text-indent: 0px; text-transform: none;
white-space: pre-wrap; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; background-color: rgb(43, 44, 51);
text-decoration-style: initial; text-decoration-color: initial;
position: relative; display: inline; flex-grow: 1; flex-shrink: 1;
overflow: visible; overflow-wrap: break-word; cursor: inherit;"
aria-hidden="false"><a moz-do-not-send="true" style="box-sizing:
border-box; background-color: transparent; text-decoration: underline;
position: relative; display: inline; flex-direction: column; flex-grow:
0; flex-shrink: 0; overflow: visible; align-items: stretch;
overflow-wrap: break-word; font-size: 14px; line-height: 22px; color:
rgb(255, 255, 255); font-family: "SF Regular", "Segoe
System UI Regular", "Segoe UI Regular", sans-serif;
font-weight: 400; user-select: text; cursor: pointer;"
aria-hidden="true" tabindex="-1" rel="noreferrer" target="_blank"
href="mailto:5A8663D6.5000704@the-bryants.net">5A8663D6.5000704@the-bryants.net</a></div>
<span style="color: rgb(255, 255, 255); font-family: "SF
Regular", "Segoe System UI Regular", "Segoe UI
Regular", sans-serif; font-size: 14px; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal; font-weight:
normal; letter-spacing: -0.2px; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: pre-wrap; widows:
2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color:
rgb(43, 44, 51); text-decoration-style: initial; text-decoration-color:
initial; display: inline !important; float: none;">>
* SEARCH 29268
? OK Search completed (0.179 + 0.000 + 0.178 secs).<br>
<br>
<br>
</span>rgds<br>
<br>
Matt<br>
<br>
-- <br>
<div><a moz-do-not-send="true"
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>
</div>
</blockquote>
<br>
</body></html>