webmail issue - The Direct Reference supplied is invalid

Discuss the Scalix web client

Moderators: ScalixSupport, admin

criptus
Posts: 86
Joined: Tue Dec 23, 2008 2:23 pm
Location: http://www.slovenia.si/

webmail issue - The Direct Reference supplied is invalid

Postby criptus » Sun May 24, 2009 3:35 pm

I have strange mail web accessing problem. Soon after I login to webmail over web, there is message popping up, that there is server problem. I need to close browser, kill imapd processes to be able to login again. Same problem appears after a few seconds again and again...

When I check imap deamon (sxadmin), it reports this:

REPORT IMAP Server Da(IMAP Server Pr) 05.24.09 21:23:47
[OM.UI 578] The Direct Reference supplied is invalid
User Name: XXXXXXXXXXXXXX
Last Folder: UserFolder - Filing Cab
<- ct_ReadContentRec 3003 0
-> ual_BuildListEntry
-> ual_GetMsgId
<- ual_GetMsgId
-> ual_GetAckId
<- ual_GetAckId
-> mapi_SyncCompFlags
<- mapi_SyncCompFlags
<- ual_BuildListEntry
-> ct_ReadNextContentRec
<- ct_ReadNextContentRec
-> ct_GetCtnerLastCRec
<- ct_GetCtnerLastCRec
<- ual_UpdateAnyList
<- ual_ContentNumForDI
<- /build/11.4.3/src/lib/ual/ual_dref.c:583[101,578]

Restarting imap deamon over swa does not help. Outlook works fine.

What is this?

criptus
Posts: 86
Joined: Tue Dec 23, 2008 2:23 pm
Location: http://www.slovenia.si/

Re: webmail issue - The Direct Reference supplied is invalid

Postby criptus » Mon May 25, 2009 1:44 pm

No ideas?

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Re: webmail issue - The Direct Reference supplied is invalid

Postby billb3 » Mon May 25, 2009 2:03 pm

Have you done an omscan on the account and cleared the imap cache?

criptus
Posts: 86
Joined: Tue Dec 23, 2008 2:23 pm
Location: http://www.slovenia.si/

Re: webmail issue - The Direct Reference supplied is invalid

Postby criptus » Tue May 26, 2009 4:44 pm

I do /opt/scalix/bin/omscan -avfx once a week.

NO change!

I also noticed that when Idelete item - it is not transfered to deleted map! The items are dissapearing and they should go to deleted map :shock:

But again - it works only half a minute and then dies...

How can I clear imap cache?

criptus
Posts: 86
Joined: Tue Dec 23, 2008 2:23 pm
Location: http://www.slovenia.si/

Re: webmail issue - The Direct Reference supplied is invalid

Postby criptus » Tue May 26, 2009 5:08 pm

I cleared imap cache (actually renamed imap-cache folder just in case :wink: ).

------------------------------------------------------------------------------------------------------
description:
http://keystoneit.wordpress.com/2007/06 ... or-a-user/

Follow the steps below to clear IMAP cache:
1. make sure the user is logged out, i.e.
omstat -u all
2. determine the user folder directory, i.e.
omshowu -n <lastname> -f
Note: <lastname> should be the lastname of the user in question.
3. Go there (the so-called g-directory of the user)
cd /var/opt/scalix/??/s/user/????????/
4. This should have a subdirectory called imap-cache. delete that:
rm -r imap-cache
5. Restart IMAP service:
omoff -d 0 -a IMAP & omon IMAP
----------------------------------------------------------------------------------------------------------
It works!

Thank you bilb so much !!!

Whats the point?

How important this imap-cache folder actualy is? Do you do this periodicaly? Shall I put this procedure to crontab?

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Re: webmail issue - The Direct Reference supplied is invalid

Postby billb3 » Tue May 26, 2009 5:13 pm

We rarely have cache corruption needing it to be run, but I run it once a week just to be safe...

billb3
Scalix Star
Scalix Star
Posts: 464
Joined: Mon May 26, 2008 8:56 pm
Location: Kingston, NY
Contact:

Re: webmail issue - The Direct Reference supplied is invalid

Postby billb3 » Tue May 26, 2009 5:16 pm


criptus
Posts: 86
Joined: Tue Dec 23, 2008 2:23 pm
Location: http://www.slovenia.si/

Re: webmail issue - The Direct Reference supplied is invalid

Postby criptus » Tue May 26, 2009 5:30 pm

Thanks a lot once again 8)


Return to “Scalix Web Access”



Who is online

Users browsing this forum: No registered users and 1 guest