just fyi,
I don't if anyone need to prune sent and drafts folders also
but based on Erik E's qtprune script I have modified a little bit
please check if found any mistakes
#!/bin/bash
# qtprune.sh
#
# This file can be put in /etc/cron.daily
# and will prune Trash/Spam directories
# Nov 7, 2006
Scripts to drain folders imap
List
Somebody has or knows some script to clean to the folders trash, sent, draft
of the clients who enter by the webmail.
///
Scripts para vaciar carpetas imap
Lista
Alguien tiene o conoce algun script para
http://wiki.qmailtoaster.com/index.php/Maintain_Trash_and_Spam_folder
http://devel.qmailtoaster.com/info/qtprune.sh
currently only maintain Trash and Spam folder
but I think you can edit them so sent and draft also can be maintained
Scripts to drain folders imap
List
Somebody has or knows