- Plesk for Linux
Why are emails auto-deleted from Trash folder with Courier-IMAP installed?
By default, Courier-Imap settings are configured to remove messages in Trash Folder after 7 days:
# grep "IMAP_EMPTYTRASH" /etc/courier-imap/imapd
Note: The day of removing an email message is the day when the message was sent to the Trash folder.
It is possible to disable such feature for all mailboxes:
- Access the server via SSH
- Comment out the following line in
- Restart courier-imapd service:
# service courier-imapd restart