On Sunday, Jul 13, 2003, at 03:18 US/Central, Alexei Batyr' wrote:

James A Baker wrote on Saturday, July 12, 2003 7:26 PM [GMT+4]:

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

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

Even with this setting in imapd file when I from time to time use "find"
command mentioned above (whis
-print instead of -delete) it reveals hundreds of messages in users' Trash
folders.



Yes, just as you should also see them when running it (the -print version) after the command you suggested above (the -delete version).


Both the IMAP_EMPTYTRASH=Trash:7 setting, and the -delete version of your find command should leave the same number of messages in the folder -- if I understand how the IMAP_EMPTYTRASH setting works, that is.

(I suppose I could be misunderstanding what it does. But I don't think I am.)


That also seems to be simple enough with this setting:
IMAP_EMPTYTRASH=Trash:0

AFAIU this setting just disables Trash purging.


Well, I certainly wouldn't expect it to (did I miss the docs saying that somewhere though? I wouldn't doubt it since I've only taken a cursory look around)... because the *obvious* way to disable Trash purging would be this:

IMAP_EMPTYTRASH=

...which quite clearly would say (to me at least) that no folders (of any name) should be emptied.

Whereas, I would certainly *expect* the setting:

IMAP_EMPTYTRASH=Trash:0

...to empty the entire contents of the Trash folder at logout. (i.e. if 1 = "1 day", then 0 = "0 days" or "immediately").

Sam...? Does it not work that way? -- If not, then may I suggest that perhaps it should?

-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