How to automatically delete email messages in the server using Courier-IMAP

Today my boss asked me whether it is possible to automatically delete email messages in the server inside certain folders after a given number of days. For example he wants the sent emails inside the ‘Sent’ folder is automatically deleted after 2 days. And also in the ‘Trash’ folder as well.

Continue Reading →