On Tue, May 22, 2007 5:42 pm, Eduardo Kienetz wrote:
> On 5/22/07, Jay Lee <[EMAIL PROTECTED]> wrote:
>> Hi Guys,
>>
>> I'm looking to run a cron script on my server that removes mail older
>> than x days from user's Spam and Trash folders each night (I know about
>> the IMAP_EMPTYTRASH setting but some user's don't login for long periods
>> of time so this can be ineffective).  Before I go and hack one myself I
>> was wondering if anyone has such a script setup themselves that they'd
>> like to share.  I realize it might be specific to your setup and need
>> some customization on my end but at least it'd be a starting point.
>> Thanks in advance,
>
> Already posted here:
> http://osdir.com/ml/mail.imap.courier.server/2005-09/msg00058.html
>

I'm doing something similar for spam mail. as a little hint, feed the
messages to sa-learn (or any other spamfilter supporting bayesian
filtering) before rm'ing them - my spam detection rate is near 100% by
doing so.

cheers,
- Dave.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Courier-imap mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to