On Sat, 2 Dec 2023, Adam H. Kerman wrote:
> In a typical setup, the message isn't deleted but marked for deletion.
> Upon closing the folder, the expunge command is executed (or the user is
> asked to confirm expunge), which deletes messages marked for deletion.
There are a few extra complications to this. Some servers remove the
message upong marking it deleted. However, Alpine marks the message
deleted after it has saved it.
> As you are taking Eduardo's advice, moving several hundred messages at a
> time, I would set Save Will Not Delete, then after SUCCESSFULLY copying
> the first group of messages into the desired mbox archive folder, mark
> the messages to be deleted in the remote folder with the bulk selection
> command first "; N [range]", then apply the deletion mark with the apply
> command "a d" then MANUALLY expunge messages marked for deletion with
> "x".
>
> These are additional steps to take but if your connection goes kerflooey
> during your attempt to copy messages in bulk, this may keep you out of
> some trouble.
Generally speaking I agree, but I have to go back to what I said earlier.
Saving messages is an atomic operation, which means that it either saves
all messages or saves no messages (for example if the internet goes down
while the save is in progress), there is no middle ground here, so if
Alpine tells you that all 500 messages were saved, then that is correct
and you can delete them (which can be done automatically) and expunge them
(if the server has not expunged on your behalf upon marking them deleted).
I hope this clarifies this issue.
--
Eduardo
https://alpineapp.email (web)
http://repo.or.cz/alpine.git (Git)