Page 1 of 1
purge mail older than X in a few folders only
Posted: Tue Feb 12, 2008 3:28 pm
by netcomrade
Is there are a way to do this?
Is there are a way to set a retention policy on the server as well? (only for a few folders, not the whole mailbox)
Thanks,
Posted: Thu Feb 14, 2008 11:37 am
by kcsc
Yes, look at omtidyallu and omtidyu
Posted: Thu Feb 14, 2008 7:57 pm
by netcomrade
How about people that actually use folders?
This is pretty useless, how do i specify non-default folders
Code: Select all
-T folder[s] Defines which folders the following criteria is to be applied to:
i refers to the intray;
o refers to the outtray;
f refers to the filing cabinet;
w refers to the wastebasket (Deleted Items folder).
p refers to the pending tray; and
l refers to the List Area.
r refers to the Scalix Recovered Items folder.
Posted: Fri Feb 15, 2008 8:51 pm
by kcsc
Not exactly sure what you mean? Do you want to cleanup all non-default folders, a certain list of folders, all folders, or do you want something else.
Posted: Fri Feb 15, 2008 9:48 pm
by netcomrade
Yes, I want to clean up folders othat than on that list. I have about 40 folders, some of them are filtered mail, which I am interesed to purge on a monthly basis. Doing this through outlook is painlessly slow.
Posted: Mon Feb 18, 2008 3:45 am
by Valerion
You'll have to log this as an enhancement request on Scalix Bugzilla. The standard tools cannot do this. However, you could write a perl (or other) script that connect to the mailbox via IMAP and do the cleanup, if you know
Posted: Mon Feb 18, 2008 10:34 am
by kcsc
I am still not exactly sure what you want. Do you have a list that you want to cleanup or do you have a list that you do not want to cleanup.
Posted: Mon Feb 18, 2008 11:11 am
by mikethebike
If you just want to clear down all folders underneath the "Filing cabinet" top-level folder, you could use the "-S" option in omtidyu
If you want to be selective, you can use the "-l" option.
Posted: Mon Feb 18, 2008 11:15 am
by Valerion
-l may work, yeah, but it seems to only handle top-level folders. If you have a hierarchy going it may be harder to do. Probably the best approach, though.