purge mail older than X in a few folders only

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

netcomrade
Posts: 70
Joined: Mon Aug 21, 2006 2:32 pm

purge mail older than X in a few folders only

Postby netcomrade » Tue Feb 12, 2008 3:28 pm

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,

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Thu Feb 14, 2008 11:37 am

Yes, look at omtidyallu and omtidyu

netcomrade
Posts: 70
Joined: Mon Aug 21, 2006 2:32 pm

Postby netcomrade » Thu Feb 14, 2008 7:57 pm

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.

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Fri Feb 15, 2008 8:51 pm

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.

netcomrade
Posts: 70
Joined: Mon Aug 21, 2006 2:32 pm

Postby netcomrade » Fri Feb 15, 2008 9:48 pm

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.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Feb 18, 2008 3:45 am

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

kcsc
Posts: 62
Joined: Thu Oct 04, 2007 11:35 am
Location: US

Postby kcsc » Mon Feb 18, 2008 10:34 am

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.

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Mon Feb 18, 2008 11:11 am

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.

Valerion
Scalix Star
Scalix Star
Posts: 2730
Joined: Thu Feb 26, 2004 7:40 am
Location: Johannesburg, South Africa
Contact:

Postby Valerion » Mon Feb 18, 2008 11:15 am

-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.


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron