Auto delete/age voicemail


#1

Is there a way of having deleted mail (which goes initially into old mail) deleted from the old mail box based on x number of days old?

regards


#2

Hi
Dont know of an “automatic” way but if needed then a cron script that checks the date of the file and deletes the relevent files and then renames the lowest remaining files to msg0000.XXX
so the cron removes msg0000 msg0001 it wil then rename msg0002 to msg0000 and when the user relogs in it wil have remanmed the rest.

The script to do this may be in the vmail.cgi, but its a fairly trivial script and is basicly what a comercial system does when it does its housekeeping.