IMAP searches, strange problems

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

bfzzzz

IMAP searches, strange problems

Postby bfzzzz » Tue Nov 20, 2007 11:23 pm

I am getting strange problems when doing IMAP searches. If I verify a message is in my INBOX through SWA and I perform a search on the headers (for example: A003 UID SEARCH HEADER "ZEUS-ID" 4215) it will come back with no matches, if I run it again right after, I get a response. If I wait a while, it seems like the matching message will show up in the first query. Is there anything strange going on behind the scenes? Does the Scalix IMAP server have to index the messages or something before I can get valid search results? If so, is there a way I can force it before I do my queries?

Here is an example of what I mean, all of this took place in a ~10 second span of time.

Code: Select all

a001 OK LOGIN completed, now connected to mailserver
a002 SELECT INBOX
* 16 EXISTS
* 0 RECENT
* OK [UNSEEN 16] is the first unread message
* OK [UIDVALIDITY 1] UIDVALIDITY value
* OK [UIDNEXT 114] Predicted next UID
* FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Label1 $Label2 $Label3 $Label4 $Label5 $Forwarded Junk NonJunk $MdnSent)
* OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Label1 $Label2 $Label3 $Label4 $Label5 $Forwarded Junk NonJunk $MdnSent)] flags will stay set
a002 OK [READ-WRITE] SELECT completed.
a003 UID SEARCH HEADER "ZEUS-ID" 4317
* SEARCH
a003 OK SEARCH completed
a004 UID SEARCH HEADER "ZEUS-ID" 4317
* SEARCH 113
a004 OK SEARCH completed


I verified that the message was in the mailbox via SWA before performing this query.

Also, I can't seem to search based on Message-ID, it always returns false.


Has anyone dealt with similar issues? I'm doing this to synchronize messages from our old exchange server to scalix, they are primarily voicemail messages dropped in place by Unity.

Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 4 guests

cron