On 04/09/2018 04:45 AM, Keith Nuttle wrote:
> On 4/9/2018 7:13 AM, Wayne wrote:
> While technically not different from what was said above, Compact
> completely remove deleted post. When a message is deleted it is moved
> to trash. When the trash is emptied. it is removed from the trash
> folder, but is not removed from the file xxxxx. I suspect this means
> that it is marked not to be shown in the xxxxx.msf file.
>
> When you compact the folder, the deleted messages is removed from the
> xxxxx. file and the index recreated.
The default action in Thunderbird is to move the deleted message to
trash. I set the option in thunderbird to leave the message in the same
folder and just mark it as deleted. I can then undelete the message if
I choose to. When I'm done working with the folder I then run compact
on it to remove any deleted messages. Deleting messages which are
flagged as deleted is still a valid reason to compact a folder, even in
maildir format. I believe there are also options in Thunderbird as well
as in the IMAP server to automatically delete the flagged as deleted
messages when you exit the IMAP session. I prefer to do this manually.
It is definitely the case that with IMAP and POP the internal format of
messages on the server is transparent to the client mail program, so
that shouldn't matter. The client (thunderbird in this case) does not
know weather messages are stored in MAILDIR or MBOX format.
I believe though that IMAP defines an IMAP server command called EXPUNGE
which performs this function. There are probably other sequences of
commands which may be able to accomplish the same thing. I am guessing
that at some point thunderbird switched from using an older way of doing
this to using EXPUNGE and that older versions of IMAP servers don't have
this functionality implemented and that is why compact doesn't show up
in my folder. I got this from reading bits and pieces that I searched
through goggle, though, I couldn't say that I was 100% certain, based on
what I read. Dovecot documentation talks about the EXPUNGE function and
it being implemented in later versions.
Natu