<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<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>
<blockquote type="cite" cite="mid:5A88B73D.2020007@the-bryants.net">
<meta http-equiv="content-type" content="text/html;
charset=windows-1252">
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 class="moz-txt-link-freetext"
href="dict:UserQuota::file:%h/dovecot-quota"
moz-do-not-send="true">dict:UserQuota::file:%h/dovecot-quota</a><br>
quota_rule2 = INBOX/Trash:storage=+10%%<br>
sieve = <a class="moz-txt-link-freetext"
href="file:%7E/sieve/user;active=%7E/.dovecot.sieve"
moz-do-not-send="true">file:~/sieve/user;active=~/.dovecot.sieve</a><br>
sieve_default = <a class="moz-txt-link-freetext"
href="file:/var/lib/mail/dovecot/sieve/default.sieve"
moz-do-not-send="true">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 class="moz-txt-link-freetext"
href="file:/var/lib/mail/dovecot/sieve" moz-do-not-send="true">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 aria-hidden="false" 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;"><a href="mailto:5A8663D6.5000704@the-bryants.net" target="_blank" rel="noreferrer" tabindex="-1" aria-hidden="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;" moz-do-not-send="true">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).
</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;">
</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 aria-hidden="false" 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;"><a href="mailto:5A8663D6.5000704@the-bryants.net" target="_blank" rel="noreferrer" tabindex="-1" aria-hidden="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;" moz-do-not-send="true">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).
</span>rgds<br>
<br>
Matt<br>
<br>
-- <br>
<div><a
href="https://www.postbox-inc.com/?utm_source=email&utm_medium=siglink&utm_campaign=reach"
moz-do-not-send="true"><span style="color: rgb(51, 102,
153);"><br>
</span></a></div>
</div>
</blockquote>
<br>
</body>
</html>