On Friday, Jul 11, 2003, at 11:16 US/Central, Alexei Batyr' wrote:

Theodore J. Knab wrote on Friday, July 11, 2003 5:29 PM [GMT+4=MSD]:

My only other option would be something like this:

#!/usr/bin/perl
#filename: clean_trash.pl
...

Another (simpler) option

find /home/*/Maildir/.Trash/cur/ -type f -ctime +7 -delete

leaves intact recently (last week) deleted messages.


Maybe I'm just really confused...

...but isn't that accomplished by the following setting in etc/imapd?

IMAP_EMPTYTRASH=Trash:7

And wasn't the original question about having *all* mail removed from the Trash folder -- so that the users stopped being confused when they saw left-over mail in there?

That also seems to be simple enough with this setting:

IMAP_EMPTYTRASH=Trash:0

I haven't actually tried it though... Does that setting not work as I would expect, by deleting all mail in the Trash folder at logout?

Am I missing something, guys?

-jab



-------------------------------------------------------
This SF.Net email sponsored by: Parasoft
Error proof Web apps, automate testing & more.
Download & eval WebKing and get a free book.
www.parasoft.com/bulletproofapps1
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to