Page 1 of 1

what is the correct omcontain syntax

Posted: Sun Feb 27, 2011 8:46 pm
by packets
I'm trying to explore omcontain as I think this is my last resort on deleting duplicate folder due to sxmboximp corruption. I just restore a user's mailbox. While restoring, user is using scalix so probably this might cause the corruption. There is duplicate folder (Notes) and that's why I'm exploring omcontain to delete this dir.

I did man omcontain and found out that it need to supply with a password. Password should be A(day of the month + 10)E. So that what I did

Code: Select all

[root@kupaloid ~]# omcontain -p A38E                       

WARNING: This is a diagnostic tool for use by Scalix trained personnel.
   Improper use can cause serious damage.
   If you do not wish to continue, hit return now.


omcontain : [OM 11795] Access Denied!
[root@kupaloid ~]# date
Mon Feb 28 08:45:20 EST 2011


The day was Feb 28 so when you add 10, it should be 38 right? Howcome I still cannot login and says "Access Denied". Is there a wrong syntax in my command?

Any advise?

Re: what is the correct omcontain syntax

Posted: Mon Feb 28, 2011 5:55 am
by Jakes
Don't use the -p option. Type omcontain and hit enter. When you see this screen:

Code: Select all

WARNING: This is a diagnostic tool for use by Scalix trained personnel.
   Improper use can cause serious damage.
   If you do not wish to continue, hit return now.


Type the password, there will be no on screen feedback, and hit enter.

Jakes

Re: what is the correct omcontain syntax

Posted: Tue Mar 01, 2011 5:54 am
by packets
@Jakes

Thanks for the reply. It works.

Re: what is the correct omcontain syntax

Posted: Tue Mar 01, 2011 6:02 am
by Jakes
No worries and good luck with your duplication issues.

Jakes