Does deleting mail in mac mail app delete on server

By default, when you delete an email message in the Mac Mail app, it only deletes the local copy of the message from your Mac's hard drive. The message remains on the email server, unless you have specifically configured your account settings to delete messages on the server as well.

Here's what happens when you delete a message in Mac Mail:

  1. The message is marked as "Deleted" on the server, but it's not actually deleted. This is because the server doesn't know that you've deleted the message locally.
  2. The next time you sync your email account with the server (e.g., when you check for new mail), the deleted message will be removed from your account on the server.

To delete messages on the server as well, you need to enable the "Expunge" or "Delete on Server" option in your account settings. This option varies depending on the type of email account you're using:

IMAP accounts:

  1. Go to Mail > Preferences > Accounts > [Your Account Name] > Advanced.
  2. Select the "Expunge deleted messages" checkbox.

POP accounts:

  1. Go to Mail > Preferences > Accounts > [Your Account Name] > Advanced.
  2. Select the "Remove from server after expunging" checkbox.

Exchange accounts:

  1. Go to Mail > Preferences > Accounts > [Your Account Name] > Advanced.
  2. Select the "Delete messages on server" checkbox.

Keep in mind that enabling "Expunge" or "Delete on Server" can have implications for your email account, such as:

Before enabling "Expunge" or "Delete on Server", make sure you understand the implications and have a backup of your important emails.