Emails moved to spam folder are deleted after 30 days. Make the number of days changeable in Panel / API.
I want to change the number of days an email is deleted from the spam folder, but there is no way to do it.
Thank you for your input!
Unfortunately, we have to close your request, because over the years it has not become quite popular for further implementation.
yes I know that wordaround, but it is not update-safe and you can't set different values for each domain. Why can't we let the customer decide what he wants?
Alexander Yamshanov commented
Did you see a workaround for this at Plesk' forum? (https://talk.plesk.com/threads/delete-spam-after-more-than-30-days.339606/)