Deleting all mail from a particular user to a Scalix user

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

bchapman
Posts: 11
Joined: Tue Nov 01, 2005 1:24 pm
Contact:

Deleting all mail from a particular user to a Scalix user

Postby bchapman » Thu Nov 17, 2005 1:36 pm

Everyone:

We are in the process of evaluating Scalix for migration from a Novell NetMail system. Because of a mail loop issue (which would hopefully never happen in Scalix :) ) I have a user with 150,000 messages from MAILER-DAEMON...

Because Netmail uses a slightly modified mbox mailbox format, I can use a python scrip[1] to delete the unneeded mail messages; then I move the mbox back into place and the user's problem is solved.

How do I accomplish the same task in the Scalix world?

Thanks!

Ben

.. [1] http://aspn.activestate.com/ASPN/Cookbo ... ipe/157437 is the starting point.
Ben Chapman
Asst Dean for Information Technology
Emory University School of Law

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Thu Nov 17, 2005 5:40 pm

Hi Ben,

You can use the omtidyu command to do that. The syntax would be something like:

omtidyu -u "USER NAME" -B -d -k -T i -w "MAILER-DAEMON"

where USER NAME is the name of the user with the 150K messages. What this will do is delete (not just move to the Deleted Items folder) all messages sent by MAILER-DAEMON that are in the Inbox and subfolders of the Inbox. You can do a "man omtidyu" for more details on each option.

Thanks,
Rachel

bchapman
Posts: 11
Joined: Tue Nov 01, 2005 1:24 pm
Contact:

Thank you!

Postby bchapman » Tue Nov 22, 2005 10:31 am

Awesome! That's terrific.

Best,

Ben
Ben Chapman

Asst Dean for Information Technology

Emory University School of Law


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 23 guests