On 9. Oct 2024, at 2.18, Brendon Meyer via dovecot dovecot@dovecot.org wrote:
When creating subfolders with tools such as imapfilter, if the parent of the subfolder does not exist, Dovecot will allow that folder to be created, and the tool will allow you to populate that folder with messages.
What about trying to reproduce the same with doveadm commands? For example:
doveadm mailbox create -u $user -s testparent4/testchild4/subchild4 echo 'Subject: testmail' | doveadm save -u $user -m testparent4/testchild4/subchild4
The issue then rears it ugly head when you say use Thunderbird and the messages in this subfolder are not visible. This behaviour is not limited to Thunderbird (e.g. Outlook) but I am using Thunderbird as an example here. Oddly enough, the Apple mail client is *not* impacted in quite the same way (though it is impacted but the behaviour is very subtly different).
I tested with the latest Thunderbird in OSX, and I already have similar folders in my Apple Mail. No issues with them other than having to restart Thunderbird for it to see the newly created folders.
What's your doveconf -n output?