Hello all...

I'm trying to migrate about 2400 users from iplanet 4x to cyrus 2.2.3...
my first batch of test accounts went without a problem... but now I've
hit a snag with the following in the telemetry output...

APPEND "INBOX" (\Recent) {somenumber}
BAD Invalid flag in Append command

I looked in imapd.c and found the following function which checks for
known flags...


static int isokflag(char *s) { if (s[0] == '\\') { lcase(s); if (!strcmp(s, "\\seen")) return 1; if (!strcmp(s, "\\answered")) return 1; if (!strcmp(s, "\\flagged")) return 1; if (!strcmp(s, "\\draft")) return 1; if (!strcmp(s, "\\deleted")) return 1;

       /* uh oh, system flag i don't recognize */
       return 0;
   } else {
       /* valid user flag? */
       return imparse_isatom(s);
   }
}


I'm guessing it's not as simple as adding Recent as a known type... but what's the story on this... and is there an easy way around it? I couldn't find anything relevant in the archives.

Thanks,
Jared

---
Home Page: http://asg.web.cmu.edu/cyrus
Wiki/FAQ: http://cyruswiki.andrew.cmu.edu
List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html

Reply via email to