A problem with Mail

He wrote:
I have used Apple Mail for years and have always had deleted messages set to Erase automatically after ‘one week’.
For months now this ‘auto erase’ feature has ceased to work and I have searched Apple Support and other online stuff without any sensible answer.
I”m using a MacBook Pro (15 inch mid 2014) with OS 10.13.6