Page 1 of 1
Potential error corrupt [Calendar]
Posted: Wed Mar 14, 2007 3:08 pm
by jferrara
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)
Posted: Tue Apr 24, 2007 12:35 pm
by KevinAnderson
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 -----------------------------------------------------------------------
Posted: Tue Jan 08, 2008 6:41 pm
by charon
what does the script actually do?
can it possibly also fix this:
viewtopic.php?t=6342&start=0
viewtopic.php?t=9070&highlight=
regards
Posted: Thu Jan 10, 2008 5:47 am
by mikethebike
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Ã