Understanding message deletion model

Cameron Simpson cs at cskk.id.au
Fri Nov 11 21:35:26 UTC 2022


On 11Nov2022 15:38, Jason Franklin <jason at oneway.dev> wrote:
>On Thu, Nov 10, 2022 at 07:18:26PM -0800, Kevin J. McCarthy wrote:
>> On Thu, Nov 10, 2022 at 08:47:44PM -0500, Jason Franklin wrote:
>> > Are "purging" and "deleting" not the same thing?
>>
>> According to the IMAP protocol, they are not.  Deleting is marking the
>> message with the "deleted" flag, which normally doesn't automatically remove
>> it from the mailbox.  Purging (expunging) will remove messages marked as
>> "deleted" from the mailbox.
>
>Very good to know.
>
>It looks like I'm marking deleted with 'd', exiting without purging via
>mutt, then my provider knows to purge the message anyway.

I'm using local email, not IMAP, but I map my "d" key to:

     <save-message><enter><next-undeleted>

and I've got:

     save-hook . archive-folder-name-here

so that the default save location (implicitly used in the macro) is the 
archive folder for my current folder.

>It seems like an odd distinction to separate "purging" from "moving to
>trash folder."

Persoanlly, I do not have a trash folder; I just "archive" messages. A 
bit like the GMail model is (or was? dunno any more).

Cheers,
Cameron Simpson <cs at cskk.id.au>


More information about the Mutt-users mailing list