Page 1 of 1

omtidyu / omtityallu

Posted: Fri Jul 08, 2005 11:59 am
by ink
So, after a few weeks of using Scalix, our users have decided to stress the storage system (tripling the space that we used under our old system). I'm trying to tidy my INBOX using the omtidyu command, as explained on page 289 of the Administration Guide. Firstly, the document incorrectly has this command listed:

Code: Select all

omditdyallu -w 30 -d 2>&1 >> $MAINTLOG

Shouldn't that be "-a 30" and not "-w 30"? According to the man page, the -a flag is for the message age. Secondly, this doesn't seem to work:

Code: Select all

omtidyu -u "Joe User" -T i -a 30
Deletable items for 'Joe User /mail,blah/CN=Joe User'

  InTray: 0 messages

However, in my inbox, I have messages dating back to August 27, 2003 (considerably older than 30 days). What am I doing wrong? I'm not exempt from tidying according to omshowu. If I leave off the age quantifier, it seems to work:

Code: Select all

# omtidyu -u "Joe User" -T i
Deletable items for 'Joe User /mail,blah/CN=Joe User'

  InTray: 223 messages

It has been less than 30 days since we imported messages into Scalix; is there some hidden date that it uses instead of the message Date header?

Posted: Fri Jul 08, 2005 12:14 pm
by florian
It seems we have a bit of a DOC issue here!

have you ever checked out the man page - "man omtidyu"? our most current reference doc for the commands is always contained in the man pages; i haven't really looked through all your details, but it seems you just need to make a few adjustments to the command line that you use.

if you still can't get it to work then, please let us know.

cheers,
Florain.

Posted: Fri Jul 08, 2005 12:24 pm
by ink
Yes, I looked at the man page, which is how I found the -a flag.

On a related note: Is there a way to list each user and how much total space they are using? Something along the lines of:

UserA: 100MB
UserB: 2104MB
....

I'm fairly certain that 2 or 3 of our users are using up 80% of the space. I used to use 'du -s /home/*', or something simillar when we had maildirs.

Posted: Fri Jul 08, 2005 12:33 pm
by florian
currently, you can find the diskspace used by every user as a side-effect of checking the integrity of the message store with the omscan -aA command.

the next scalix release will include a command very similar to what you're suggesting.

cheers,
Florian.

Posted: Sat Jul 09, 2005 7:19 am
by ls-al
Addition: You can display the
/var/opt/scalix/scan.server/tray.sizes.*
files to see the usage reported from the last omscan server cycle.
This is a very good source to create a spredsheet with some statistics.
You might want to modify the /var/opt/scalix/sys/omscan.cfg file to have a shorter cycle delay than 30 days.

Regards
Dirk

Posted: Thu Jan 05, 2006 4:54 pm
by STXRich
Reading the man page for omtidyu/omtidyallu it says that you can search through any Top-Level folder.

Currently I have a Spam folder in the top-level, but am unable to figure out how to make it scan that folder.

I've tried all variations of -T <folder name> that I could. Quotes, single quotes (both types), and still nothing.

Is there something that I'm missing here?

Thanks
-Rich-

Posted: Thu Jan 05, 2006 5:24 pm
by STXRich
Aha!

Figured it out, it's a two-step process.

To see the messages in the Spam folder you must use:

Code: Select all

 -l Spam -T f


-Rich-