Mail rule does not work
My computer is a Mac mini with Mojave.
I have more than 7000 emails in my Mac's Mail inbox. In order to be able reduce this number by deleting mail more than a year old, I created an 'Old Mail' inbox and a rule to move all mail more than 365 days old into it. All this did was to move a single mail received today (!) into it. What am I doing wrong? Should I have placed the 'Old Mail' inbox somewhere else? I attach two screen-shots. (The references to Val Coumont are because my wife uses my computer for her mails and I have created an account for her on it.)
Any advice will be much appreciated.
Mac mini, macOS 10.14