To delete a message (or messages) from the mail folder that you are currently reading, enter the command:
d message list
Messages are not deleted until you quit using the mail program. If you exit the mail program they are not deleted.