You can create a rule that deletes all messages that have been assigned a category (even a custom category).
But I don't think there's a way to specify the rule only acts on messages that were received six or more weeks ago.
It might be easier to make a rule that moves messages with category Temp into a certain folder. Then once in awhile, manually open the folder, select older messages, and delete them.
Although it's not an automatic process, it's super-easy to select contiguous messages, e.g., Shift + Page Down or Shift + Page Down to select about 25 messages at a time. Alternatively, find the oldest message and press Shift + Home (or Shift + End, depending on how the folder is organized) to select from the current message to the last one. Then press Delete to move the messages to the Deleted Items folder, or Shift + Delete to permanently delete them.
Hopefully a VBA aficionado will come up with a way to automate the entire process!
|