keat63

Well-Known Member
Nov 20, 2014
1,913
259
113
cPanel Access Level
Root Administrator
The boss has semi retired but still wants to see a copy of all the OS Commerce sales.
There are in excess of 50 per day from various sites.

I have copies going to a seperate mailbox, but he's either not tech savvy enough to clear them out, or just too lazy.

Is there any method I could use so that any email older than 30 days is removed from the mailbox automatically, otherwise we run the risk of there being thousands within a few months.
 

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter

keat63

Well-Known Member
Nov 20, 2014
1,913
259
113
cPanel Access Level
Root Administrator
Adding a schedule is pretty straight forward, it's the scripting of the delete and figuring out how to delete the files, which ones to delete and not interfere with anything else that i'll struggle with.

Maybe this should be a feature built in to cpanel, or one of the web clients ?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Maybe this should be a feature built in to cpanel, or one of the web clients ?
You can open a feature request at:

Submit A Feature Request

However, note a feature that deletes customer data is unlikely. You may want to consult with a third-party developer for assistance with writing a custom application or script if the thread referenced earlier is unhelpful.

Thank you.