One of my email accounts is on Gmail. I have PM set to tell the server to delete each email after I download it. This doesn't seem to work
I know. I have the same problem. It appears that Gmail does not respond to the command by Pegasus Mail to delete messages once they are downloaded. Some folks have talked about using an IMAP connection for cleanup purposes but that is something I have never done so I do not have an opinion about whether doing that is easier the using the Gmail web interface. I hope someone who is doing this will see this discussion and add their thoughts.
Is there a way to have PM clean the Deleted Messages folder each session by deleting messages that are more than a certain age, like 30 days, 3 months, 6 months?
There are filtering rules that can act on the age of a message so you should be able to create a general rule set that contains a filter rule that deletes messages older than whatever age you set, and then attach the rule set to the Deleted Messages folder. There is a catch though. A rule set can be attached to trigger when the folder is opened, or when the folder is closed. Normally the Deleted Messages folder is stagnant in that you almost never open it, so you almost never close it. As such, an attached filter rule would rarely be triggered.
There is a workaround that may or may not fit into how you use Pegasus Mail. The following describes how I use it on my Junk mail folder:
- I created a general rule set containing rules that detects messages that I know I don't want as well as one that deletes messages older than 30 days.
- I attached that rule set as a folder-close filter set.
- I leave the Junk mail folder window open at all times.
- I shut down Pegasus Mail every night. During shutdown, that folder-close filter gets triggered.
You could do similar with your Deleted Messages folder but your rule set would only need to contain a single rule that detects messages older than a specific age and deletes them.
Hint: When working with rules that delete messages I strongly suggest thorough testing with the rule first configured to change the message color. This makes it clear what messages the filter would act on before permanent deletes happen (filter rule deletes from the Deleted Messages folder are permanent deletes; there is no 'are you sure' prompt).
[quote="pid:58715, uid:28362"]One of my email accounts is on Gmail. I have PM set to tell the server to delete each email after I download it. This doesn't seem to work[/quote]
I know. I have the same problem. It appears that Gmail does not respond to the command by Pegasus Mail to delete messages once they are downloaded. Some folks have talked about using an IMAP connection for cleanup purposes but that is something I have never done so I do not have an opinion about whether doing that is easier the using the Gmail web interface. I hope someone who is doing this will see this discussion and add their thoughts.
[quote="pid:58715, uid:28362"]Is there a way to have PM clean the Deleted Messages folder each session by deleting messages that are more than a certain age, like 30 days, 3 months, 6 months?[/quote]
There are filtering rules that can act on the age of a message so you should be able to create a general rule set that contains a filter rule that deletes messages older than whatever age you set, and then attach the rule set to the Deleted Messages folder. There is a catch though. A rule set can be attached to trigger when the folder is opened, or when the folder is closed. Normally the Deleted Messages folder is stagnant in that you almost never open it, so you almost never close it. As such, an attached filter rule would rarely be triggered.
There is a workaround that may or may not fit into how you use Pegasus Mail. The following describes how I use it on my Junk mail folder:
- I created a general rule set containing rules that detects messages that I know I don't want as well as one that deletes messages older than 30 days.
- I attached that rule set as a folder-close filter set.
- I leave the Junk mail folder window open at all times.
- I shut down Pegasus Mail every night. During shutdown, that folder-close filter gets triggered.
You could do similar with your Deleted Messages folder but your rule set would only need to contain a single rule that detects messages older than a specific age and deletes them.
Hint: When working with rules that delete messages I strongly suggest thorough testing with the rule first configured to change the message color. This makes it clear what messages the filter would act on before permanent deletes happen (filter rule deletes from the Deleted Messages folder are permanent deletes; there is no 'are you sure' prompt).