Page 1 of 1

Removal of Calendar

Posted: Sun Mar 18, 2007 4:30 pm
by brwatters
Hello all,

I am looking for a way to remove all calendar items for one user on GA11.021, I Know or I should say I think there is a way via CLI but can not seem to locate an example of HOWTO for one user.

Anyone have any ideas on how I can get this done as this one users Calendar is corrupted and causing issues.

BRW

Posted: Sun Mar 18, 2007 10:59 pm
by btisdall
If you can't remove the item in question using a client then you'll need to use omcontain - be careful as this tool will not prevent you doing things that could further corrupt your mailstore.

Posted: Mon Mar 19, 2007 12:32 am
by brwatters
Thanks .. do we have any SYNTAX examples of HOWTO ?? .. I also note that there appears to be a passwd required to use??

BRW

Posted: Mon Mar 19, 2007 6:44 am
by btisdall
brwatters wrote:Thanks .. do we have any SYNTAX examples of HOWTO ??


I have to say not too much that I'm aware off beyond the man page & the mention in the admin guide. It should make sense after 15 mins playing on test system though.

.. I also note that there appears to be a passwd required to use??

BRW


Check out the Scalix Tech Note for OM-PAM. Basically, on a vanilla install omcontain uses the 'om_diag' PAM module which by default uses the 'omcontain' password syntax. The confusing thing is it doesn't issue a password prompt as such, you need to enter it when '...hit return now.' is printed. Alternatively comment out the om_diag line in /var/opt/scalix/NN/s/sys/pam.d/omcontain & provided you're a Scalix Admin or root you'll be able to use the command without additional authentication.

Posted: Mon Mar 19, 2007 10:36 am
by brwatters
Thanks again for the into .. the issue you bring is "test system" .. this is a production box and I really hate to test on a live box. .

SO is there no one out there that can share example SYNTAX for this operation? ..Florian??

BRW

Posted: Mon Mar 19, 2007 11:13 am
by btisdall
This should get you started - practice on a user account of no value first!

Option? u
User: tisdall
User Name = Ben Tisdall /newman
User Number = 103
Ctr Handle = 3001
Done

Option? l
Ctr Handle (3001): <RTN>
1) User 103 Intray (IN TRAY)
2) User 103 OutTray (OUT TRAY)
3) User 103 Pending Tray (PENDING TRAY)
4) User 103 Filing Tray (FILING AREA)
5) User 103 ListArea Tray (LIST AREA)
Done

Option? o
Ctr Handle (3001): <RTN>
Entry Number: 4
Ctr Handle = 3002
Done

Option? l
Ctr Handle (3002): <RTN>
1) WASTE BASKET (FOLDER)
2) Search Area (FOLDER)
3) IMAP #Scalix namespace (FOLDER)
5) Contacts (FOLDER)
6) Drafts (FOLDER)
7) MAPI Root Folders (FOLDER)
8) Journal (FOLDER)
9) Notes (FOLDER)
10) Tasks (FOLDER)
11) Trash (FOLDER)
12) Filed (FOLDER)
13) Sent (FOLDER)
14) Message Templates (FOLDER)
15) Spam (FOLDER)
16) Postmaster (FOLDER)
17) SPAM (FOLDER)
18) Scalix Recovered Items (FOLDER)
20) testfolder (FOLDER)
22) Calendar (FOLDER)
Done

Option? o
Ctr Handle (3002): <RTN>
Entry Number: 22
Ctr Handle = 3003
Done

Option? l
Ctr Handle (3003): <RTN>
1) LocalFreebusy (MESSAGE)
2) Meeting with foo (MESSAGE)
3) Meeting with bar (MESSAGE)
4) Bad appointment (MESSAGE)
Done

Option? d
Ctr Handle (3003): <RTN>
Entry Number: 4
Done

Option? l
Ctr Handle (3003): <RTN>
1) LocalFreebusy (MESSAGE)
2) Meeting with foo (MESSAGE)
3) Meeting with bar (MESSAGE)
Done

Option? q
Closing container 3003
Closing container 3002
Closing container 3001
Done

Posted: Mon Mar 19, 2007 12:49 pm
by KevinAnderson
Or, if you'd rather not use omcontain (and you can use Outlook). Try this...

http://support.microsoft.com/kb/272151

Kev.

Posted: Mon Mar 19, 2007 1:47 pm
by brwatters
Thanks once again .. What if one has 1000's of Calendar items listed .. I want to start over with the Calendar for this specific user .. Is there a global option to remove all calendar items? ..

BRW

Posted: Mon Mar 19, 2007 2:05 pm
by btisdall
Just step back in the example I gave you and instead of opening the calendar (in this case 22) delete it.

You might want to backup the user's mailbox first & you'll need to recreate the calendar in OL/SWA afterwards.