Potential error corrupt [Calendar]

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

jferrara
Posts: 30
Joined: Thu Jun 24, 2004 11:22 am
Location: New Jersey

Potential error corrupt [Calendar]

Postby jferrara » Wed Mar 14, 2007 3:08 pm

During my testing for DST I removed my calendar through omcontain. First time I had no problem, deleted it in omcontain, than outlook /resetfolders. The second time I tried to delete the calendar and did a list to see if it was gone, there was P next to the folder.

Now when I log on to SWA I am getting an "Potential error with the [Calendar]".

Any idea what the problem is? I am running 10.0.5.

Thanks
Joe


Option?l
Ctr Handle (3002):
1) WASTE BASKET (FOLDER)
2) Search Area (FOLDER)
3) IMAP #Scalix namespace (FOLDER)
4) Calendar (FOLDER) P
5) Contacts (FOLDER)
6) Drafts (FOLDER)
7) MAPI Root Folders (FOLDER)
8) Journal (FOLDER)
9) Notes (FOLDER)
10) Tasks (FOLDER)

KevinAnderson

Postby KevinAnderson » Tue Apr 24, 2007 12:35 pm

This script should fix it.


#!/bin/sh
#
# 'resetFolders' - script to remove any MAPI properties against the Inbox
# and mailbox (userFolder).

if [ $# -eq 0 ]
then
echo "Usage: `basename $0` <User_name>"
exit 100
fi

omshowu -n "$1" > /dev/null

if [ $? -ne 0 ]; then exit 100 ; fi

echo Deleting mailbox MAPI Props for user: $1

# generate omcontain password
A=`date +%d`
B=10
C=`expr $A + $B`
OMCTPwd=A"$C"E
TEMPFILE=/tmp/resetFolders$$.tmp

# run omcontain deleting MAPI props against Inbox and UserFolder
cat <<END |sed -e "/PASSWD/s/PASSWD/$OMCTPwd/" |sed -e
"/USERNAME/s/USERNAME/$1/" > $TEMPFILE
PASSWD
u
USERNAME
o

1
dml

0
c

dml

1
dml

0
END

cat $TEMPFILE | omcontain -p >/dev/null 2>/dev/null
rm $TEMPFILE
#- end -----------------------------------------------------------------------

charon
Posts: 128
Joined: Sun Jul 01, 2007 5:38 am
Location: Germany
Contact:

Postby charon » Tue Jan 08, 2008 6:41 pm

what does the script actually do?

can it possibly also fix this:
viewtopic.php?t=6342&start=0
viewtopic.php?t=9070&highlight=

regards

mikethebike
Posts: 566
Joined: Mon Nov 28, 2005 4:16 pm
Location: England

Postby mikethebike » Thu Jan 10, 2008 5:47 am

jferrara,

always be very careful deleting system folders in omcontain, it can cause issues with mapi clients.

Before you delete a folde with the same name as a system folderr using omcontain, make sure it is not the system folder:

Go into omcontain, open the inobox, and then run the command "lm".
That will give you something like:

Option?o
Ctr Handle (3001):
Entry Number:1
Ctr Handle = 3002
Done

Option?lm
Ctr Handle (3002):
Entry Number:
===============
MAPI List props
===============
VERSION=B.06.00.04
CHARSET=ISO8859_1
36e41102=\@\@\@\@ª\MñÈlª'E­xܽS³FÃ


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 16 guests

cron