Messages older than 30 days are not deleted
In Messages, choose Settings, then General tab, then change Keep Messages from Forever to 30 Days. A popup appears saying: Delete Older Messages? This will permanently delete all text messages and message attachments from your device that are olde than 30 days. I choose Delete. But when I look at Messages on my iMac Pro desktop, I still see lots that are older than 30 days. Interestingly the messages older than 30 days have been deleted from associated iPhones and iPad. I did try restarting iMac but did not help.
iMac OS Sonoma 14.2.1 (23C71)
iMac Pro