How to disable "Delete to Trash" option within Express

Document ID: 10147

Synopsis

How to create a batch file to disable the TRASH folder within Express

More Information

How to disable "Delete to Trash" option within Express How to create a batch file to disable the TRASH folder within Express

  1. Create a list of all mailboxes within the domain
    Example: MSBOX -list >c:\Temp\mailboxes.txt
  2. With a text editor add the following to the beginning and ending of each line.
    MSBOX -set user@domain.com DeleteToTrash 0
  3. Save the modified file as: DeleteToTrashOFF.bat, next run the batch file which turns off the "Delete To Trash folder" option.

NOTE: Remind your customers to empty their Trash folders, or write a batch program to delete all TRASH folders.

  • To re-enable this option, replace the 0 with 1.