Do not remove mail from server exchange

A common request!

To prevent Exchange from removing emails from the server, you can use the following methods:

Method 1: Disable Auto-Expunge

  1. Open the Exchange Management Console (EMC) on your Exchange server.
  2. Navigate to "Server Configuration" > "Mailbox" > "Database Management".
  3. Right-click on the database and select "Properties".
  4. In the "Database Properties" window, uncheck the box next to "Auto-Expunge" under the "Maintenance" tab.
  5. Click "OK" to save the changes.

Method 2: Set the "DeleteAfter" property

  1. Open the Exchange Management Shell (EMS) on your Exchange server.
  2. Run the following command to set the "DeleteAfter" property for the mailbox database:
    Set-MailboxDatabase -Identity <DatabaseName> -DeleteAfter $null

    Replace <DatabaseName> with the name of your mailbox database.

Method 3: Use the "RetentionPeriod" parameter

  1. Open the Exchange Management Shell (EMS) on your Exchange server.
  2. Run the following command to set the retention period for the mailbox database:
    Set-MailboxDatabase -Identity <DatabaseName> -RetentionPeriod Unlimited

    Replace <DatabaseName> with the name of your mailbox database.

Method 4: Disable the "Remove Old Items" feature

  1. Open the Exchange Management Console (EMC) on your Exchange server.
  2. Navigate to "Server Configuration" > "Mailbox" > "Database Management".
  3. Right-click on the database and select "Properties".
  4. In the "Database Properties" window, uncheck the box next to "Remove Old Items" under the "Maintenance" tab.
  5. Click "OK" to save the changes.

By using one or more of these methods, you can prevent Exchange from removing emails from the server and ensure that they remain available for retrieval.