On Tue, 20 Oct 2020 13:28:37 +1030 Tim via users <users(a)lists.fedoraproject.org>
wrote:
On Mon, 2020-10-19 at 11:34 +1030, Tim via users wrote:
> In *my* case, I can nest folders, but a folder can contain only mail
> or another folder, not both together.
>
> But I do have sub-folders, and I use maildir.
A correction: I *can* freely mix mail and folders (putting a folder in
a folder that had messages, putting a message in a folder containing
folders, etc). Previously I recall my mail client (Evolution) refusing
to allow one or the other, but it *is* allowing it *now*.
Of course, my mail server (Dovecot) isn't actually working that way.
It stores all the folders within its root folder, and just generates an
index to make things work with your mail client the way you want them
organised. But that may just be how Dovecot wants to do things.
Anyway, it doesn't really matter how it works behind the scenes, if it
lets you do what you want to do with your mail client.
Thanks, very much! Btw, how do I list a directory recursively with the more nested
directories listed first inside a directory? I feel that I may want to do this before I
use my script to convert MH to Maildir.
I tried:
find . -type d
./inbox
./Sent
./Trash
./fedora
./fedora/FAS
./research
./research/user1
./research/user2
./reviewer
./reviewer/can1
./reviewer/can2
and this does the right thing, almost, except that it lists the directories, and then the
sub-directories of each. Is it possible to reverse this listing? If that were possible, I
was considering running my script in order, then removing that directory and then going on
down the list.
Many thanks and best wishes,
Ranjan