omtidyu / omtityallu

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

ink
Posts: 67
Joined: Mon May 23, 2005 3:53 pm

omtidyu / omtityallu

Postby ink » Fri Jul 08, 2005 11:59 am

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?

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Jul 08, 2005 12:14 pm

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.
Florian von Kurnatowski, Die Harder!

ink
Posts: 67
Joined: Mon May 23, 2005 3:53 pm

Postby ink » Fri Jul 08, 2005 12:24 pm

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.

florian
Scalix
Scalix
Posts: 3852
Joined: Fri Dec 24, 2004 8:16 am
Location: Frankfurt, Germany
Contact:

Postby florian » Fri Jul 08, 2005 12:33 pm

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.
Florian von Kurnatowski, Die Harder!

ls-al
Scalix Star
Scalix Star
Posts: 510
Joined: Tue Jun 29, 2004 8:28 am
Location: Leipzig, Germany
Contact:

Postby ls-al » Sat Jul 09, 2005 7:19 am

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

STXRich
Posts: 28
Joined: Wed Dec 07, 2005 9:59 am

Postby STXRich » Thu Jan 05, 2006 4:54 pm

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-

STXRich
Posts: 28
Joined: Wed Dec 07, 2005 9:59 am

Postby STXRich » Thu Jan 05, 2006 5:24 pm

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-


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 21 guests

cron