26 Aug
2025
26 Aug
'25
12:52 p.m.
Hi everyone,
I noticed that if I specify the following pattern in dovecot-virtual for my Virtual/Unseen mailbox, mails in INBOX are excluded:
- -Drafts -Trash -Junk -Sent -Virtual/* UNSEEN
It returns with 23 mails:
a EXAMINE Virtual/Unseen
- 23 EXISTS
- 23 RECENT
- OK [UNSEEN 1] First unseen.
But when I add INBOX additionally after "*", the number grows to 42:
a EXAMINE Virtual/Unseen
- 42 EXISTS
- 42 RECENT
- OK [UNSEEN 1] First unseen.
Is it expected that "*" doesn't include INBOX by default? As I see, the rest of the mailboxes within the same root (/) namespace are included by default.
Config:
namespace inbox { separator = / inbox = yes mail_path = %{home}/mail mail_index_path = %{home}/index/inbox
mailbox INBOX { auto = subscribe } mailbox Trash { special_use = \Trash auto = subscribe } [...] }
Dovecot version: 2.4.1.
Thank you,
Ákos