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.